Hide Duplicates in Excel

“hide duplicates in excel” comes up constantly, so this page leads with the exact answer, gives you a tool to try it on your own numbers, and only then explains the detail. Everything works in Excel on Windows and Mac and maps almost one-to-one to Google Sheets. Copy the answer above and get back to work, or read on to turn a one-off fix into something you never have to look up again.

Exact answer

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.

ƒxDuplicate RemoverLive
Unique values
3

2 duplicates removed · 3 kept

Runs entirely in your browser — your data never leaves this page.
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

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 “hide 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

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “hide 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 TRIM first.

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

This guide also answers

  • hiding duplicates in excel