Fastest way: select your data, then Data, Remove Duplicates, choose the columns and click OK. To stay safe keep a copy or use UNIQUE instead of deleting.
Duplicate rows quietly ruin reports: they inflate sales, repeat customers and make numbers untrustworthy. Here are five practical ways to deal with them, from fastest to most precise.
1Method 1: Remove Duplicates tool
On the Data tab choose Remove Duplicates, tick the columns that define a duplicate, then OK. It deletes permanently, so keep a copy of the file first.
2Method 2: the UNIQUE function
In Excel 365 and 2021 type =UNIQUE(A2:A100) to get a duplicate-free list without touching the original data. Ideal when you need a clean list next to your table.
=UNIQUE(A2:A100) -> list without repeats =COUNTIF(A:A,A2)>1 -> TRUE if the value repeats =TRIM(A2) -> clean spaces first
3Method 3: spot duplicates with COUNTIF
Type =COUNTIF(A:A,A2)>1 in a helper column and filter TRUE to review duplicates before deleting them. Useful when a repeat might be legitimate.
4Method 4: conditional formatting
Select the column, then Conditional Formatting > Highlight Cells Rules > Duplicate Values to colour duplicates and review them visually with no deletion.
5Method 5: the free CSV cleaner
For big files or CSVs use our CSV cleaner: it removes duplicates, extra spaces and empty rows inside your browser without uploading your data.
6Mistakes that hide duplicates
Extra spaces and different letter casing make two identical values look different. Apply TRIM first, standardize the text, then run the removal.
Clean a CSV file in seconds: remove duplicates, empty rows and extra spaces
The Complete Data Analytics Diploma: 334 short videos, 334 quizzes, and real-data projects with model answers.
Want an expert to do it for you?
Gomaa Intelligence turns your data into clear reports and decisions. Tell us your problem and we will reply.
FAQ
Does Remove Duplicates delete the whole row?
It deletes any row whose selected columns match an earlier row and keeps the first one, so pick the columns carefully.
How do I restore duplicates after deleting?
Press Ctrl+Z right away or go back to your backup, because deletion is permanent after saving.
How do I remove duplicates in Google Sheets?
Use Data, Data cleanup, Remove duplicates, or the UNIQUE function.
Read also
VLOOKUP vs XLOOKUP: Which One Should You Use?
A practical comparison of VLOOKUP and XLOOKUP: search direction, exact matching, error han…
OpenRFM Analysis Step by Step: How to Segment Your Customers
A practical RFM guide: preparing data, calculating Recency, Frequency and Monetary, buildi…
OpenData Cleaning Checklist: 7 Checks Before Any Analysis
Seven essential data cleaning checks before analysis: duplicates, blanks, spaces, inconsis…
Open