简体   繁体   中英

How to create drop down list with unique values?

I have a list of Username and I want to check the records against names. I created a drop down list now that list is showing name but same names multiple times.

Is there a way to create a drop down list with unique names?

Make a pivot table out of your list of non unique names, and drag the name field in the pivot as a row field. That will give you a list of unique names that you can then use as your dv list

  1. Highlight the column with the data you want in the drop-down
  2. Data--> Sort&Filter --> Advanced
  3. Enable "Copy to another location" and "Unique records only" List
  4. Range should be where all the bits are (already highlighted)
  5. Leave Criteria Range blank
  6. Copy to should be a blank cell, in the same worksheet, with nothing in the rows below it.
  7. Use this new data in your data validation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM