How to remove duplicates from a drop down list
Tutor 5 (81 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
How To Remove Duplicates From A Drop Down List
Why do duplicates appear in a dropdown list?
Duplicates appear in a dropdown list when the source range contains repeated values. Data validation lists display every entry in the source range without filtering. A source column with multiple identical records creates redundant options in the dropdown menu.
How to remove duplicates using the Remove Duplicates feature
To remove duplicates from a dropdown list source using the Remove Duplicates feature, copy your data to a separate location first to preserve the original dataset.
Copying data to preserve the original
- Select the source column containing your dropdown list values.
- Press Ctrl+C to copy.
- Navigate to a dedicated sheet (e.g., "Lists" or "Reference").
- Select the destination cell and press Ctrl+V to paste.
Applying Remove Duplicates
- Select the pasted data range on the Lists sheet.
- Navigate to Data > Remove Duplicates.
- Confirm the column selection in the dialog box.
- Check "My data has headers" if the first row contains a header.
- Click OK.
Excel displays a message indicating how many duplicate values were removed and how many unique values remain. The selected range now contains distinct values only.
Updating the dropdown source
- Select the cell or range containing your dropdown list.
- Navigate to Data > Data Validation.
- Select "List" from the Allow dropdown.
- Update the Source field to reference the deduplicated range on the Lists sheet (e.g.,
=Lists!$A$2:$A$15). - Click OK.
The dropdown list now displays unique values without duplicates.
How to remove duplicates using the UNIQUE function
To remove duplicates from a dropdown list source using the UNIQUE function in Excel 365/2021, create a dynamic formula that extracts distinct values automatically.
Setting up the UNIQUE formula
Enter this formula in a helper cell (e.g., A2) on a dedicated "Lists" sheet:
=UNIQUE(FILTER(SourceTable[ColumnName], SourceTable[ColumnName]<>""))
Replace "SourceTable[ColumnName]" with your actual Table and column reference or a standard range like Sheet1!B$2: B$1000. The formula spills automatically, displaying all unique values starting from the formula cell.
Handling blanks and errors
The FILTER function nested within UNIQUE excludes blank cells using the criteria <>"". Add an IFERROR wrapper for source data containing errors:
=IFERROR(UNIQUE(FILTER(SourceTable[ColumnName], SourceTable[ColumnName]<>"")),"")
Sorting the unique values
Wrap the formula with SORT for alphabetical or numerical order:
=SORT(UNIQUE(FILTER(SourceTable[ColumnName], SourceTable[ColumnName]<>"")))
Referencing the spill range in data validation
- Select the cell or range where you want the dropdown list.
- Navigate to Data > Data Validation.
- Select "List" from the Allow dropdown.
- Enter the spill reference in the Source field:
=Lists!$A$2# - Click OK.
The hash symbol (#) after the cell reference indicates the entire spill range. The dropdown updates dynamically as source data changes.
Creating a dynamic named range
- Navigate to Formulas > Name Manager > New.
- Enter a name such as "UniqueList" in the Name field.
- Enter the spill reference in the Refers to field:
=Lists!$A$2# - Click OK.
Use the named range in Data Validation by entering =UniqueList in the Source field.
What are the differences between Remove Duplicates and UNIQUE function?
| Feature | Remove Duplicates | UNIQUE Function |
|---|---|---|
| Excel version | All versions | Excel 365/2021 |
| Data modification | Permanently deletes duplicates | Preserves original data |
| Update behavior | Manual reapplication required | Automatic dynamic updates |
| Source data changes | Requires repeating the process | Reflects changes instantly |
| Formula dependency | None | Requires formula cell |
Related Questions
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 freeze a row in excel
Answers · 1
How to freeze the top two rows in excel
Answers · 1
How to freeze top row excel mac
Answers · 1
How to freeze the top row in excel
Answers · 1