What is the excel formula to remove duplicates from list
Tutor 5 (87 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To remove duplicates from a list in Excel, the UNIQUE function is used.
Explanation
The UNIQUE function returns a list of unique values from a range or array. It automatically filters out repeated entries, leaving only distinct values.
Syntax
UNIQUE(array, [by_col], [exactly_once])
array: The range or array containing values to check.
[by_col]: Optional.
TRUEto compare columns,FALSEto compare rows. Default isFALSE.[exactly_once]: Optional.
TRUEto return only values that appear exactly once,FALSEto return all unique values. Default isFALSE.
Example
Suppose you have a list of names in A1:A10 with duplicates:
| A |
|---|
| John |
| Mary |
| John |
| Peter |
| Mary |
| Alice |
| John |
To get a list without duplicates, use the formula:
=UNIQUE(A1:A10)
The result will be:
| Result |
|---|
| John |
| Mary |
| Peter |
| Alice |
Notes
The
UNIQUEfunction works in Excel 365 and Excel 2021. It is not available in older versions like Excel 2016 or 2019.For older Excel versions, you can remove duplicates using Data → Remove Duplicates from the ribbon, or by combining
IF,MATCH, andCOUNTIFformulas, though it is more complex.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to show duplicates in red
Answers · 1
How to apply duplicate conditional formatting rule
Answers · 1
How to duplicate conditional formatting excel
Answers · 1
What is excel conditional formatting duplicates
Answers · 1