Excel Data Cleaning: Complete Guide

Dirty data breaks formulas silently, produces wrong totals, and fails imports without warning. This hub covers every cleaning task — in the order you should do them.

The 8-Step Data Cleaning Process

Work through these in order — structure problems must be fixed before data quality issues, or your cleaning steps will produce inconsistent results.

1

Back up the original file

Before changing anything, save a copy with a date stamp. Data cleaning operations can be irreversible — a backup takes 10 seconds and has saved countless work.

2

Fix the structure

Ensure data has one header row, no merged cells in the data area, no blank rows or columns splitting the data, and no totals rows embedded in the middle of the table.

3

Remove duplicates

Identify and remove duplicate rows using Data → Remove Duplicates, the UNIQUE formula, or the free duplicate finder tool. Always check which columns define a "duplicate" before deleting.

4

Fix numbers stored as text

Numbers stored as text look normal but break SUM, AVERAGE, and VLOOKUP silently. Identify with =ISNUMBER() and convert using the warning icon or VALUE().

5

Remove extra spaces

Leading and trailing spaces make two identical-looking values different — breaking lookups and groupings. Use =TRIM() in a helper column, paste as values, then delete the originals.

6

Standardise formats

Ensure date columns contain real Excel dates (not text), phone numbers follow one format, and text case is consistent. Use PROPER(), UPPER(), LOWER(), and TEXT() to standardise.

7

Audit formulas and errors

Run an error check to find #REF!, #N/A, #VALUE!, and other formula errors. Check for hardcoded values in formulas and inconsistent formula patterns across columns.

8

Final review before sharing

Remove hidden sheets containing sensitive data, check for external links, verify the file size is reasonable, and confirm nothing was accidentally overwritten.

Data Cleaning Guides

Free Data Cleaning Tools

All tools run in your browser — your files never leave your device.

Frequently Asked Questions

What is the first step in cleaning Excel data?

The first step is making a backup copy of the original file before touching anything. Then audit the scope of the problem: use Ctrl+End to find the true extent of the used range, check for blank rows or columns that break the data structure, and run an error check (F5 → Special → Errors) to spot formula problems.

How do I remove duplicates in Excel without losing data?

Use Data → Remove Duplicates and select only the columns that define a duplicate. Review the preview before confirming. For safety, work on a copy of the data or use conditional formatting to highlight duplicates first so you can review them before deletion.

Why do SUMIF and VLOOKUP return wrong results on clean-looking data?

Numbers stored as text are the most common cause. A cell containing '123 looks identical to 123 on screen but behaves differently in formulas — SUMIF ignores it, VLOOKUP won't match it. Test with =ISNUMBER(A1): if it returns FALSE, the cell contains a text-formatted number.