Excel Data Cleaning Checklist: 10 Checks Before You Analyze Anything
Bad data does not announce itself. It hides in extra spaces, text that looks like numbers and the same customer typed three different ways, and it quietly produces wrong totals. This checklist covers the checks to run, in order, before any analysis.
1. Keep an untouched raw copy
Save the original file or sheet before changing anything, and work on a copy. If a cleaning step turns out to be wrong, you can always go back.
2. Fix headers and data types
Use one clear header row with unique names and no merged cells. Then make sure dates are real dates, numbers are real numbers and IDs stay as text, so leading zeros are not lost. A quick test: if a column does not sum correctly, its numbers are probably stored as text.
3. Remove extra spaces and hidden characters
Invisible spaces make identical values look different, which breaks lookups and pivots. Clean them in a helper column, then paste the result back as values:
=TRIM(CLEAN(A2))If the data came from a website or a PDF, also check for non-breaking spaces, which TRIM does not remove.
4. Standardize categories
Cairo, cairo and Al Qahira are one city. List the unique values of each category column, then map every variant to one standard value using a small mapping table and a lookup. Standardize the case and the spelling before you count anything by category.
5. Handle duplicates carefully
First decide what makes a row unique: an order ID, or a customer plus a date. Flag duplicates before deleting them so you can review what would be removed:
=COUNTIF($A$2:$A$5000, A2) > 1A repeated customer name is not necessarily a duplicate. Remove only rows that repeat the full key.
6. Decide what to do with missing values
Blank cells need a decision, not an automatic fill. You can leave them blank and flag them, fill them from a reliable source, or exclude those rows from the calculation. Whatever you choose, apply it consistently and write it down.
7. Look for outliers and impossible values
Sort and filter each numeric column. Look for negative quantities, prices of zero, dates in the future, and values far outside the normal range. Some are typing mistakes, and some are real but rare events, so check with the source before removing them.
8. Validate against a known total
Compare the cleaned sheet with a number you trust, such as total sales from the accounting system or the row count of the original export. If the numbers differ, find out why before you build anything on top.
9. Keep a change log
Write down every cleaning rule you applied, for example: removed 42 duplicate orders, mapped 7 spellings of city names, filled 15 missing dates with the invoice date. A short log makes the work repeatable and defensible.
10. Make the process repeatable
If the file arrives every week or month, do not clean it by hand each time. Convert the range to an Excel Table and record the steps in Power Query, so the same cleaning runs again with one click on Refresh.
Frequently asked questions
What is the first step in cleaning data in Excel?
Save an untouched copy of the raw data, then work on a duplicate. After that, fix headers and data types before touching the values.
How do I remove duplicates without losing good data?
Define which columns make a row unique, flag the duplicates with a formula, review them, and only then delete. Do not remove rows based on a single column unless it is a true unique key.
Should I use Power Query for cleaning?
Yes, if the same file arrives repeatedly. Power Query records each step so you can refresh the cleaning instead of redoing it manually.