Unique Values vs Remove Duplicates
Extracting unique values creates a new list. Removing duplicates changes the original table. If your workbook is important, extract first and remove later only when you are sure. This protects row-level data and makes auditing easier.
Common Use Cases
Unique-value extraction is useful whenever a spreadsheet contains repeated records but you need a clean reference list. Common examples include customer names for a dropdown, product SKUs for an import template, employee departments for a report filter, and region names for a dashboard slicer.
It is also a good quality-control step. If a region list contains North, Noth, and North , the unique list exposes the typo immediately.
Method 1: UNIQUE Function
In Microsoft 365 or recent Excel versions, the simplest formula is:
=UNIQUE(A2:A500)This spills a clean list of distinct values. You can combine it with SORT:
=SORT(UNIQUE(A2:A500))Method 2: Advanced Filter
- Select the column or range.
- Go to Data > Advanced.
- Choose Copy to another location.
- Select the output cell.
- Check Unique records only.
This method works well in older Excel versions where the UNIQUE function is not available.
Method 3: PivotTable
A PivotTable can also produce a unique list. Place the field you want in the Rows area and Excel groups repeated values automatically. This is useful when you want both the list and a count of how often each value appears.
For example, put Customer in Rows and Customer again in Values set to Count. You now have every customer plus the number of records for each one.
Method 4: Free Unique Values Tool
The Extract Unique Values tool lets you upload a workbook, choose a sheet and column, and download a clean list of distinct values. It is useful when you want the result quickly and do not want to risk changing the original workbook.
Because the tool works in the browser, the spreadsheet is not uploaded to a server. That matters when lists contain customer names, internal codes, or pricing data.
Common Problems
- Extra spaces:
AcmeandAcmeare different values. Clean withTRIM. - Case differences: Decide whether
northandNorthshould be treated as one value. - Numbers stored as text:
1001as a number and"1001"as text may behave differently in formulas.
How to Clean the List Before Using It
After extracting unique values, sort the list alphabetically and scan the top and bottom. Blank entries, punctuation, and unusual capitalisation often become easier to see after sorting. If the list will feed a dropdown or import system, keep a separate approved list and compare future exports against it.
If values include leading zeros, such as account codes or ZIP codes, keep them as text. Converting them to numbers can permanently remove the leading zeros.