Hi all. I need to create a dropdown list that can handle more than the standard eight rows that data validation allows. My list requires 75 different items in the dropdown. Is there any way that I can do this? I hope someone can help!
JLB.
Hi all. I need to create a dropdown list that can handle more than the standard eight rows that data validation allows. My list requires 75 different items in the dropdown. Is there any way that I can do this? I hope someone can help!
JLB.
Last edited by johnlovesbeer; 10-15-2009 at 07:05 AM. Reason: Solved
I presume you're referring to the number of items Displayed as opposed to number of items Contained within the list given a Validation List can hold a large number of options.
If that is indeed the case then I'm afraid you will need to look at using VBA based Controls like ComboBox in which you can specify rows to display.
For an illustration of the above see: http://www.contextures.com/xlDataVal10.html
Last edited by DonkeyOte; 10-05-2009 at 05:52 AM. Reason: added link to DD site
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks DonkeyOte, that fixed the basic problem. Now I need to copy that combo box to another 2000 cells in the same column. Is this possible? I can't just grab and drag like a standard data validation dropdown box. I hope I don't have to paste each one individually.
Many thanks for the first advice!
Cheers,
JLB.
You would need to copy and paste them. I would also very strongly advise against it. What exactly is the issue with scrolling the validation dropdown list, if I may ask?
Everyone who confuses correlation and causation ends up dead.
I'm afraid so... moreover you need to ensure each has the linked cell updated appropriately.
Perhaps you should think of an alternative approach ?
What about using a User Form such that when the user double clicks on a cell (where you want the list) a Form appears with the ComboBox from which they can make their choice and write back to the cell... this way you have only one combobox to manage.
See attached as a basic illustration of my thoughts...
In reply to Romper, my dropdown needs 70 different items listed so it's a bit too much for the data validation option.
In reply to DonkeyOte (great name!) the user form looks like the perfect solution. Is there an easy way to create one without using VBA. I'm fairly new to this and VBA looks a little daunting!
Again many thanks,
JLB.
Just to reiterate, a validation list can hold 70 values it is simply restricted in so far as
a) it can only display 8 rows at any given time
b) it does not have auto complete feature
Re: User Form - VBA is a necessity I'm afraid.
The DV dropdown can have 70 rows (and a lot more) it's just that only 8 are visible at one time - you have to scroll to see the others. To be honest, I don't see what benefit you would get from having all 70 visible at once. (though I can see the advantage of the autocomplete, which is tricky to implement with DV.)
Yes, it is... credit to whomever it was that suggested it...Originally Posted by romperstomer
... not getting me much joy on the CV front though !
R, you imply it is "possible" then to implement AutoComplete with Validation - can you demo ?Originally Posted by romperstomper
yes, it's one advantage of using a real name occasionally!
Not strictly autocomplete, but you can filter the validation list based on what is typed - see here for example. In all honesty I would probably use userform for this instead though, if there were so many items as to require this!R, you imply it is "possible" then to implement AutoComplete with Validation - can you demo ?
hmm... unfortunately I'm getting malware warning on that link (Chrome)
Thanks Guys, got the scrolling dropdown in DV working a treat! Brilliant!
Once again, thanks for all the help. I will leave the thread open for a little while before I mark it as solved in case you solve the auto-complete issue!
Cheers,
JLB.
Hi Romper, maybe I'm being a bit thick here! How do I create a scrolling dropdown that can handle 70 rows in DV? I can't find any options to do so! It's probably something simple that I can't see.
Thanks, JLB.
If you use the file I provided to demo the DV...
in a cell insert a Validation List - set Source to be =Options
You should now see a List in the cell containing the 75 options, 8 will display but you can scroll.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks