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.
2 duplicates removed · 3 kept
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. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “identify 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 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. 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 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. 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. 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 “identify 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
- Locking the wrong reference — keep
A2relative so it moves down, but use a whole-column range likeA:A(or an absolute$A$2:$A$100). - Trailing spaces or mixed case hiding true matches;
COUNTIFis case-insensitive but spaces still split values, so clean withTRIMfirst. - Expecting the helper column to delete anything — it only flags; removing rows is Data ▸ Remove Duplicates.
- Pointing
COUNTIFat 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 “identify duplicates in excel”, “excel identify duplicate”, “how do i identify duplicates in excel” and “how do you identify duplicates 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. “identify duplicates in excel”, “excel identify duplicate”, “how do i identify duplicates in excel” all point at the one operation explained on this page, which is why they all lead here.