Show Duplicates in Excel

If you just need to show duplicates in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: add a helper column with =IF(COUNTIF(A:A,A2)>1,"Duplicate","Unique"), then filter that column to "Duplicate" to list every repeat.

ƒxDuplicate RemoverLive
Unique values
3

2 duplicates removed · 3 kept

Runs entirely in your browser — your data never leaves this page.
=IF(COUNTIF(A:A,A2)>1,"Duplicate","Unique")
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

The fastest way to locate duplicates without changing your data is a COUNTIF helper column. COUNTIF(A:A,A2) counts how many times the value in A2 appears in the whole column; if that count is above 1, the value is repeated. Wrapping it in IF turns each row into a plain "Duplicate" or "Unique" flag you can then filter, sort or count — a reversible, auditable trail that leaves the original column untouched. 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. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “show 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 a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. 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 column A2:A11 of order IDs reads 1001, 1002, 1003, 1004, 1005, 1004, 1006, 1007, 1003, 1008. In B2 enter =IF(COUNTIF(A:A,A2)>1,"Duplicate","Unique") and fill down. Both rows holding 1004 and both holding 1003 are flagged "Duplicate"; every other row reads "Unique". Switch on a filter and pick "Duplicate" to see only the four repeated rows. When you need to investigate duplicates rather than silently delete them — auditing IDs, reconciling imports, chasing down why a total is off — a COUNTIF flag is the transparent tool: every repeat is listed, countable and reversible. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

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. 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. The short version of “show duplicates in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

Common mistakes

  • Locking the wrong reference — keep A2 relative so it moves down, but use a whole-column range like A:A (or an absolute $A$2:$A$100).
  • Trailing spaces or mixed case hiding true matches; COUNTIF is case-insensitive but spaces still split values, so clean with TRIM first.
  • Expecting the helper column to delete anything — it only flags; removing rows is Data ▸ Remove Duplicates.
  • Pointing COUNTIF at a single cell instead of the full column, so nothing is ever counted as repeated.

Frequently asked questions

How do I flag only the second and later occurrences?

Use a growing range: =IF(COUNTIF($A$2:A2,A2)>1,"Duplicate","") marks every repeat after the first, leaving the original unflagged.

Can I find duplicates across two columns?

Combine the keys first: =IF(COUNTIFS(A:A,A2,B:B,B2)>1,"Duplicate","Unique") treats a row as duplicate only when both columns match.

Does this change my data?

No. A helper column is purely additive — delete the column and your original list is exactly as it was.

Other ways people ask this

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

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

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