evelin.

Spreadsheet data cleaning with filters, sorting and formulas

Learn simple spreadsheet steps to spot errors, clean messy columns and fix basic data quality issues before serious analysis.

Why data cleaning in spreadsheets matters

Messy data leads to wrong conclusions, even in simple reports. Spreadsheets make it easy to type values fast, so typos, duplicates and inconsistent formats slip in. Cleaning your data first protects every later chart, average and dashboard. It also makes formulas more reliable and easier to debug. As a future data analyst you will rarely receive perfect data. Learning to tidy it in Excel or Google Sheets builds habits you can reuse later in SQL and other tools. Start small: aim for consistent values in one column, then move to the rest of the table.

Why cleaning comes first
📉
Fewer wrong trends
Reduces misleading charts
⏱️
Faster analysis
Clean inputs, simpler formulas
🤝
More trust
Stakeholders rely on results

Use filters to spot obvious issues

Filters let you view only rows that meet certain conditions. That makes errors easier to see. Turn on the filter for your header row, then open the dropdown for one column. You can quickly find blanks, weird text values inside number columns, or unexpected categories. Filters also help you review a sample of rows before you apply any big changes. Work column by column and write down what you notice. Common checks are “is blank or zero”, “text contains”, or “greater than” for numeric outliers. Clear filters often so you do not forget hidden rows.

Basic filter workflow
  1. ⚙️1
    Enable filter
    Add filters to header row
  2. 👀2
    Scan values
    Open dropdown and scroll
  3. 🎯3
    Set conditions
    Show blanks or odd values
  4. ✅4
    Review rows
    Check details before edits

Sort columns to uncover patterns and outliers

Sorting reorders your rows so similar values sit together. This is a simple way to uncover anomalies. Sort numbers from smallest to largest to see impossible values at the top or bottom, for example negative ages or extremely high prices. Sort text columns A to Z to group spelling variants such as "NY", "New York" and "Nw York". Always select the full table before you sort so columns stay aligned. If possible create a copy of the sheet first. Sorting does not fix anything on its own, it just helps you see where to clean.

Safe sorting checklist
  1. 📋1
    Select table
    Include all columns
  2. ↕️2
    Sort by column
    Choose main column first
  3. 🔍3
    Check edges
    Look at top and bottom

Use simple formulas to detect problems

A few basic formulas go a long way in data cleaning. Functions like TRIM, CLEAN and PROPER help fix text spacing and capitalization. LEN can highlight suspiciously short or long values, such as phone numbers with missing digits. IF combined with ISBLANK or ISNUMBER lets you flag cells that do not match the expected type. You can place these helper formulas in new columns, then filter on "TRUE" or specific flags to find issues. Keep formulas readable, use clear labels for each helper column, and remove temporary columns once cleaning is complete.

Helpful formulas for cleaning
Detection
  • •LEN to spot odd length
  • •ISBLANK to find missing
  • •ISNUMBER to check types
Fixing
  • ✓TRIM to remove spaces
  • ✓CLEAN for hidden chars
  • ✓PROPER for name casing
VS

Tidy values, duplicates and formats safely

After you find issues, fix them in a controlled way. Standardize categories by replacing variants with one agreed label, for example always "Cancelled" instead of several spellings. Use “Remove Duplicates” or a formula like UNIQUE to handle repeated rows, but review a sample first so you do not remove valid data. Align formats, for example turn text dates into real dates, or store currency as plain numbers with a currency format. Keep an original backup sheet before large changes. Tidy data is boring to look at, which is exactly what you want.

Safe cleaning cycle
📁✂️Backup data
🕵️Detect issues
🛠️Apply fixes
♻️Recheck

✂️ Stop the cycle once checks find no new issues.

Real-world examples

  • • You export online shop orders into a spreadsheet and notice some totals look too high. You sort the “Order total” column and quickly see a few orders with an extra zero, then correct them.
  • • You collect survey answers in a sheet and want to count responses by city. Using filters and PROPER, you clean up variants like "berlin", "Berlin" and "BERLIN" so your counts are accurate.
  • • Your manager asks for a list of active customers. You filter out rows with missing email addresses, use Remove Duplicates on the email column, then spot and correct a few obvious typos.

Useful links

Keep learning

Related courses

More programs on evelin that fit this path. Each one adapts to you after a two minute quiz.

Guides from related courses

All courses on evelin →

Turn reading into real progress

A short quiz builds your personal learning path for How to Become a Data Analyst. Lessons adapt to you from day one.

Start the quiz

Created with AI assistance and reviewed before publishing.