Excel's quickest duplicate check is Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values, which colors repeats without touching your data. These paths apply to Excel for Microsoft 365, Excel 2024, 2021, and 2019 on Windows and Mac; menu wording is the same across both platforms. For removal, Data > Data Tools > Remove Duplicates deletes rows permanently.

Highlight Duplicate Values in a Few Clicks

  1. Select the range or column you want to check. Include the header row only if you'll use the header-aware options later; for pure highlighting, data rows alone are cleaner.
  2. Go to Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values.
  3. In the left dropdown, choose Duplicate (or Unique if you want to see the values that appear only once).
  4. Pick a preset format such as Light Red Fill with Dark Red Text, or choose Custom Format to set your own fill and font.
  5. Select OK. Every repeated value in the selected range now carries the format, and the highlight updates automatically if you edit the cells.
  6. Confirm the result by scrolling the range: repeats should be identically colored. If nothing highlights, your values likely differ by one leading/trailing space or a number stored as text—see the mismatch section below.
  7. To undo, select the same range and return to Conditional Formatting > Clear Rules > Clear Rules from Selected Cells.

This method is non-destructive: it flags duplicates so you can review them before deciding what to keep.

Whole-Row Duplicates vs. Single-Column Repeats

Conditional formatting judges each cell against the other selected cells, so a single selected column flags repeated entries in that column. To flag rows where every field matches, select the entire table (including every compared column) and apply the same rule—but note that Excel then highlights individual matching cells, not whole rows, so treat the colored cells as a signal to inspect the row.

Filter for Unique Values Without Deleting Anything

Filtering is the reversible middle ground between highlighting and permanent deletion. It temporarily hides repeats so you can inspect the distinct list.

  1. Select a cell inside your data range, or select the whole table.
  2. Go to Data > Sort & Filter > Advanced.
  3. Choose Filter the list, in place to hide repeats in the same sheet, or Copy to another location to keep the original untouched and paste uniques elsewhere.
  4. Tick Unique records only, then select OK.
  5. Verify the row count or scan the visible list. The original rows still exist—only their visibility changed. Clear the filter via Data > Clear (or Sort & Filter > Filter) to bring everything back.

Filtering and removing produce the same on-screen list, but filtering hides while removing deletes. When you're unsure which records to keep, filter first.

Remove Duplicates Permanently (Back Up First)

Remove Duplicates deletes rows for good. Copy the sheet or save a backup before running it—Excel offers no undo after the dialog closes.

  1. Select the range or table, then go to Data > Data Tools > Remove Duplicates.
  2. Tick My data has headers if row 1 contains labels, so Excel excludes it from comparison.
  3. Under Columns, tick only the fields that define a duplicate—for example, just Email to dedupe by email, or several fields to require a full match.
  4. Select OK. Excel reports how many values were found and removed and how many unique values remain; review that summary to confirm the count matches expectations.
  5. Check the surviving rows before saving. If the result is wrong, close without saving and restore your backup copy.

Excel determines a duplicate by the displayed value, not the underlying stored value, so identically displayed dates or currency can behave unexpectedly. A number stored as text and an identical-looking true number are different values.

Compare Two Columns for Repeats

To find entries that appear in both column A and column C, use a lookup-style formula. Enter this in the first row of an empty column and fill down:

=IF(ISERROR(MATCH(A1,$C$1:$C$100,0)),"","Duplicate")

A filled cell means the value in A also exists in C. Modern Excel users can substitute =IF(COUNTIF($C$1:$C$100,A1)>0,"Duplicate","") or =IF(ISNUMBER(XLOOKUP(A1,$C$1:$C$100,$C$1:$C$100)),"Duplicate",""). Confirm the results against a quick manual scan of a few rows before trusting the whole column.

Why Duplicates Hide: Trailing Spaces, Text Numbers, and Case

Several mismatches cause a duplicate to go unnoticed:

  • Trailing or leading spaces make "Acme" and "Acme " unique. Clean with =TRIM(A1) in a helper column, then re-check.
  • Numbers stored as text won't match true numbers. Use =VALUE(A1) or Data > Text to Columns to normalize.
  • Case differences don't matter to Conditional Formatting or Remove Duplicates, which are case-insensitive, but lookups such as EXACT are case-sensitive—choose the tool that matches your intent.
  • Values in a PivotTable's Values area can't be highlighted with duplicate formatting; work from the source data instead.

Also watch for a rule that silently doesn't fire on a filtered range, or formatting that appears washed out because a cell already has a fill color. Clearing existing rules first gives a clean test.

For the official walkthrough of both highlighting and removal, see Microsoft's Find and remove duplicates page, and the filter for unique values reference covers the Advanced filter.

Frequently Asked Questions

Does highlighting duplicates change my data?

No. Conditional formatting only changes how cells look; the underlying values stay intact. Use Clear Rules to remove the color.

Can I undo Remove Duplicates?

Not reliably—the deletion is permanent once the operation completes. Always work on a copy or keep a backup before running it.

Why does Excel say there are no duplicates when I can see them?

The visible values likely differ by invisible characters, number-versus-text storage, or trailing spaces. Clean the data with TRIM or VALUE first, then re-run the check.