How to Remove Duplicates in Excel
Delete duplicate rows in seconds with the built-in tool, dedupe based only on the columns you choose, highlight duplicates without deleting them, or pull a clean unique list with a formula.
The quick answer: click any cell in your data, go to Data → Remove Duplicates, choose the columns that define a duplicate, and click OK. Below are the three situations that trip people up — deduping on specific columns, reviewing before deleting, and getting a unique list without touching the original.
1. The built-in Remove Duplicates tool
Click anywhere inside your table, then Data → Remove Duplicates. Excel shows a list of your columns with checkboxes. Leave them all ticked and it removes rows that are identical across every column. Click OK and it tells you how many duplicates it deleted and how many unique rows remain.
2. Remove duplicates based on specific columns
This is the part people miss. Say you want one row per customer email, even if the other columns differ. In the Remove Duplicates dialog, tick only the Email column and untick the rest. Now Excel calls two rows duplicates whenever the email matches, keeps the first, and drops the others. The ticked columns define what "duplicate" means.
3. Highlight duplicates without deleting
Want to review before you delete? Select the range, then Home → Conditional Formatting → Highlight Cells Rules → Duplicate Values. Every duplicate gets coloured, nothing is removed, and you can decide row by row. Safer when the data matters.
Bonus: pull a clean unique list with a formula
On Excel 365 or 2021, =UNIQUE(A2:A100) spills a fresh list of distinct values wherever you put it, leaving your source data untouched. Combine it with SORT for a tidy list: =SORT(UNIQUE(A2:A100)).
Cleaning data so you can analyze it?
Quiriz reads messy Excel files as-is and answers your questions directly — ask "revenue by customer" without deduping by hand first. Free to start.
Try Quiriz free →