Remove Duplicates in Excel: 3 Quick Ways (and Which to Use)

Remove Duplicates in Excel: 3 Quick Ways (and Which to Use)
⏱ 2 min readUpdated 27 September 2026

Duplicate rows creep in when lists are merged or exports overlap. There are three quick ways to deal with them, and they behave differently.

In this article
  1. 1. Data → Remove Duplicates (permanent)
  2. 2. UNIQUE function (live, Microsoft 365 / 2021+)
  3. 3. Advanced Filter (every version)
  4. Which one?

1. Data → Remove Duplicates (permanent)

  1. Click inside the data → Data → Remove Duplicates.
  2. Tick the columns that define a duplicate — e.g. only Invoice, or Name + Date together.
  3. OK — Excel reports how many rows it removed.

It deletes rows in place, so work on a copy. It keeps the first occurrence of each duplicate.

2. UNIQUE function (live, Microsoft 365 / 2021+)

=UNIQUE(A2:C200)            ' unique rows
=UNIQUE(B2:B200)            ' unique values from one column
=SORT(UNIQUE(B2:B200))      ' sorted unique list
=UNIQUE(B2:B200, , TRUE)    ' values that appear exactly once

The source stays untouched and the result updates when the data changes — ideal for dropdown lists and summaries.

3. Advanced Filter (every version)

Data → Advanced → Copy to another location → tick Unique records only. It copies a de-duplicated list elsewhere without deleting anything.

Which one?

Need Use
Clean a list once, for good Remove Duplicates
A list that stays up to date UNIQUE
Older Excel, keep the original Advanced Filter
Just see duplicates first Conditional formatting: =COUNTIF($A$2:$A$200,$A2)>1
💡 Spaces make “Asha” and “Asha ” different values. Run TRIM (or Flash Fill) on the column first.