The fastest way is Data → Remove Duplicates: select the column, click the button, and Excel deletes the repeats. It changes the data itself, so work on a copy. If you want a clean list that updates by itself when the data changes, use =UNIQUE(A2:A100) instead.
{"cells": {"A1": "Unique list", "A10": "Alder Trading", "A11": "Elm Studio", "A12": "Cedar Foods", "A13": "Alder Trading", "A14": "Elm Studio", "A15": "Birch Logistics", "A16": "Cedar Foods", "A2": "=UNIQUE(A9:A16)", "A8": "Client", "A9": "Elm Studio", "B1": "Times it appears", "B2": "=COUNTIF($A$9:$A$16,A2)", "B3": "=COUNTIF($A$9:$A$16,A3)", "B4": "=COUNTIF($A$9:$A$16,A4)", "B5": "=COUNTIF($A$9:$A$16,A5)"}, "focus": "A2", "note": "A2 spills the unique list down. Change a name in column A and watch it update."}
Remove Duplicates (changes the data)
Select the range, Data → Remove Duplicates, tick the columns that must match, OK. Excel tells you how many rows it removed.
Data → Remove DuplicatesKeeps the first of every repeated value.UNIQUE (a live list)
UNIQUE returns each value once and spills the list below the formula. Keep those cells empty. Microsoft 365 and Excel 2021 or newer.
=UNIQUE(A2:A100)Every value once.=SORT(UNIQUE(A2:A100))The same list, A to Z.=UNIQUE(A2:A100, , TRUE)Only the values that appear exactly once.Older Excel: flag the repeats
Without UNIQUE, mark the second and later copies with COUNTIF and filter them out.
=COUNTIF($A$2:A2, A2)>1TRUE from the second copy on. Copy it down next to the data.Common mistakes
- #SPILL! next to UNIQUE
- Something is in the cells under the formula. Clear them.
- "Duplicates" that Excel doesn't see
- Extra spaces or different case in hidden places: clean the column with TRIM first.
Frequently asked questions
Does Remove Duplicates keep the first or the last value?
The first one, from the top. Sort the data first if you want to keep, for example, the latest record.
How do I remove duplicates based on two columns?
In Remove Duplicates, tick both columns. With formulas: =UNIQUE(A2:B100).
How do I just highlight duplicates?
Home → Conditional Formatting → Highlight Cells Rules → Duplicate Values. See find duplicates.