This is a practical guide on detecting duplicates in Excel—whether they appear in a single column, across columns, or as entire repeated rows. It covers various methods, including both formatting and dynamic formulas.
Goal: Identify duplicates in Excel data
Home > Conditional Formatting > Highlight Cell Rules > Duplicate Values
OK
—duplicates are visually highlightedCONCAT
function to combine row values into a "unique key" columnHighlight Cell Rules > Duplicate Values
);;;
(makes values invisible)A. Find Duplicate Values in a Single Column
=COUNTIF($B$4:$B$100, B4)
> 1
to flag duplicates (=COUNTIF(...) > 1
)B. Flag Duplicate Rows
=COUNTIF($F$4:$F$100, F4) > 1
C. Highlight Entire Duplicate Rows
FILTER
to extract rows:
=FILTER(DataRange, COUNTIF(KeyRange, KeyRange) > 1, "")
=SORT([Above Formula], 1)
| Task | Function/Command |
|---------------------------------|------------------------------|
| Conditional formatting | Home > Conditional Formatting|
| Unique key for row | CONCAT / CONCATENATE |
| Count duplicates | COUNTIF |
| Filter for duplicates | FILTER |
| Sort results | SORT |
| Hide column value | Format Cells > Custom ;;;
|
| Group helper columns | Shift + Alt + → |
End of Guide