How to Search for Duplicates in Excel

“search for 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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “search for duplicates in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected duplicates change, and only then apply the same setup to the full sheet. 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 is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.

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

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. 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 “search for 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

On the way here you may have searched this as “how to search duplicates in excel”, “search for duplicates in excel”, “search duplicate in excel” and “search duplicates excel” — it is all the same task, and this page is the single, complete answer to it.

This guide also answers

  • display duplicates in excel
  • how to see duplicates in excel
  • how to view duplicates in excel
  • identifying duplicates in excel

Why do people search for this in so many different ways?

Because the same task has many names. “how to search duplicates in excel”, “search for duplicates in excel”, “search duplicate in excel” all point at the one operation explained on this page, which is why they all lead here.