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.
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. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. Treat “remove duplicates in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected duplicates shows up while it is still harmless. 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. That turns a data step that keeps your analysis trustworthy into a method you can reuse, explain, and defend when the workbook leaves your screen.
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. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. If you take one thing from this page on “remove duplicates in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
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.
Other ways people ask this
People reach this page typing “remove duplicates in excel”, “how do i remove duplicates in excel”, “how to eliminate duplicates in excel” and “eliminate duplicates in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.
This guide also answers
- clearing duplicates in excel
- deleting duplicates in excel
- how to delete duplicates in excel
- how to delete repeats in excel
- how to get rid of duplicated in excel
- how to get rid of duplicates in excel
- how to remove duplicates from excel
Platform & version notes
- If you are on a Mac, nothing here changes except the modifier key: swap Ctrl for ⌘ in every shortcut, and use the Windows/Mac toggle at the top of the page so the keystrokes shown match the keyboard in front of you.
How is it different on a Mac?
Only the keys. Press ⌘ where Windows uses Ctrl; the menus, formulas and result for "remove duplicates in excel" are the same on macOS as on Windows.
Why do people search for this in so many different ways?
Because the same task has many names. “remove duplicates in excel”, “how do i remove duplicates in excel”, “how to eliminate duplicates in excel” all point at the one operation explained on this page, which is why they all lead here.