Data validation - list

Tiina

New Member
Joined
May 9, 2002
Messages
36
Hi,
I'm setting up a Data Validation cell using 'List". However, my source data has each option on the list more than once; therefore my drop-down list contains each of the options more than once. Is there a way to make this drop-down list have each option available just once. I know I can create a separate 'spot' for my list options and 'remove duplicates... but I'd like to avoid that if I can.
Thank you!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Well, we can create a formula that lists the unique items from the list that contains duplicates, and then use that new list as the source for the data validation dropdown. Would that suffice?
 
Upvote 0
Upvote 0
OMG my head is spinning. Made me realize how little I know about Excel... or alternately: how much I still have to learn to be an expert!

I think this will work for basics. It will not sort the values to be in alphabetic order, correct? He is referring to a different formula to use for that. Is that available somewhere online as well?
 
Upvote 0
Sorting them will require a lot more head-spinning. One way around having to use the required complex array formula that uses function MMULT is to use Lenning's PivotTable method at Excel University: PivotTables can be sorted automatically.

In the interim, go to this website, sign up with a valid email address, and vote for the creation of this Excel functionality that contemplates Unique Items Only. Apparently GoogleSheets does this as a matter of policy in drop-down lists and I see no reason why Excel should be limited in such a way. https://excel.uservoice.com/forums/...uld-use-a-data-validation-list-option-that-co
 
Last edited:
Upvote 0
I'll send our staff to the website to vote!!

Meanwhile, I'd like to use the MMULT formula if possible. My head can spin, but I believe I can keep it on straight long enough to get through the formula writing part :). However, I'm handing off this spreadsheet to people with very little Excel skills. They can manage with a pivot table but the fewer steps, the better.

One question, though, before we proceed. My spreadsheet has about 3,000 line items and probably about 1,000 unique values. Do you think MMULT formula combined with the one from the video would slow things down and/or make the file very large?
 
Upvote 0
The guy in the video references Dominic from Mr. Excel. I believe I have seen his name here before. It all begins and ends with Mr. Excel!
 
Upvote 0
Pivot table basis will work for me! I figure I'll just do a pivot and write a macro for them to update it (e.g. do a little box for them to click a macro that updates the pivot).

Thank you for all your help and for pointing me to the youtube channel for excel tips. It's 7pm on Wendesday and I'm still geeking out looking at formulas LOL
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top