How to Create a Unique Data Validation Drop-Down List in Excel
Question details
The user wants to generate a dynamic drop-down list that displays only unique values, preventing duplicate names from appearing when the source data contains repeated entries.

- Product
- Excel / WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Setting up a drop-down menu for data entry where the original data source frequently updates and contains repeated items.
- Observed behavior
- Standard data validation lists display all values directly from the referenced source range, resulting in cluttered lists with redundant duplicate entries.
Ensure your version of Excel or WPS Spreadsheet supports dynamic array formulas, specifically the UNIQUE function, which is required to extract distinct items automatically.
Use the UNIQUE Function and Spilled Array Reference
Extract a dynamic, duplicate-free list in a helper column and link your drop-down list to this automatically updating range using a spilled array reference.
Since standard Data Validation cannot natively filter unique values within its source box, utilizing a helper column with the UNIQUE function is the most effective approach. This method also ensures the drop-down options update automatically when new data is added or modified in the original range.
Select a cell in a blank column or on a new worksheet (for example, cell D2). Enter the formula =UNIQUE(A2:A6), replacing A2:A6 with your actual data range that contains duplicates, and press Enter.
Select the cell where you want to insert the drop-down list. Go to the 'Data' tab on the ribbon and click on 'Data Validation'.
In the Data Validation dialog box, select 'List' from the 'Allow' drop-down menu. In the 'Source' box, type =D2# (this references the first cell of your UNIQUE formula followed by a hashtag, which captures the entire spilled range).
Click 'OK'. Click the drop-down arrow on your selected cell to verify that it now displays only unique items from your original data source.

Create Unique Drop-Down Lists Easily with WPS Spreadsheet
WPS Spreadsheet provides robust data validation features and full support for dynamic array functions like UNIQUE. You can build dynamic drop-down lists and manage your data efficiently without advanced technical skills.
- 1. Extract Distinct Values: Open your dataset in WPS Spreadsheet and use the =UNIQUE(range) formula in an empty helper cell.
- 2. Open Data Validation: Select your target cell, navigate to the 'Data' tab, and click 'Validation'.
- 3. Apply Spilled Reference: Select 'List' and input your helper cell reference with a '#' suffix (e.g., =D2#) into the Source box, then click OK.

Frequently Asked Questions
Why does my data validation list disappear when I delete the helper column?
The drop-down list relies completely on the generated array in the helper column to display its options. If you delete the helper column, the data source is erased. Instead of deleting it, simply hide the column or place the formula on a hidden worksheet.
Can I use the UNIQUE function directly inside the Data Validation Source box?
No, Excel and WPS Spreadsheet currently do not evaluate dynamic array functions like UNIQUE directly inside the Data Validation Source input box. You must output the unique list to a helper range first.
What does the hashtag (#) symbol mean in the formula =D2#?
The hashtag is known as the spilled range operator. It tells the spreadsheet to reference the entire dynamic array generated by the formula starting at cell D2, automatically adjusting if the list of unique values expands or shrinks.




