In Excel: select the range, then Data ▸ Remove Duplicates and tick the columns that define a duplicate. To keep the original, use =UNIQUE(range) instead.
On this page7
2 duplicates removed · 3 kept
What this does
Remove Duplicates strips repeated rows from a selection, keeping the first occurrence and deleting the rest in place. It judges duplicates only on the columns you tick, so two rows can differ elsewhere and still be removed. When you want a deduplicated copy without touching the source, the UNIQUE function spills a clean list you can refer back to. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “select duplicates in excel”. Start on a copy or a tiny sample, keep the affected duplicates visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a data step that keeps your analysis trustworthy, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
A customer list in A1:C500 has repeats. Select it, choose Data ▸ Remove Duplicates, and tick only the Email column so rows are treated as duplicates when emails match. Excel reports how many it removed. Non-destructive alternative: in a blank cell type =UNIQUE(A2:C500) and a deduplicated copy appears, updating automatically as the source changes. Duplicate rows quietly inflate counts, totals and mailing lists. Removing them — or surfacing them with UNIQUE and COUNTIF — is a basic data-hygiene step before any analysis you want to trust. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.
In Google Sheets
Some functions on this page are newer additions to Excel: they are in current Microsoft 365 and Excel for the web, while older perpetual Excel versions return #NAME?. Google Sheets maintains its own function list, so confirm each function exists there before relying on the same formula. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “select duplicates in excel”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.
Common mistakes
- Selecting only one column, so Remove Duplicates shrinks that column out of step with its row.
- Forgetting it edits in place — make a copy first if you might need the duplicates back.
- Ticking every column when only one (like an ID) actually defines a duplicate.
- Overlooking stray spaces or case differences that stop true duplicates from matching; clean with
TRIMfirst.
Frequently asked questions
Remove Duplicates or UNIQUE?
Remove Duplicates edits the data in place and is a one-off action. UNIQUE is a live formula that returns a deduplicated copy and updates automatically.
How do I find duplicates without deleting them?
Use Conditional Formatting ▸ Highlight Cells ▸ Duplicate Values to colour them, or =COUNTIF(range, cell)>1 to flag them.
Why are visible duplicates not removed?
They differ by an invisible space or letter case. Run TRIM and make case consistent so the values truly match.