Conditional drop down menus

NecRock

New Member
Joined
Apr 16, 2015
Messages
1
Hi,

I have an excel file in which cells have drop down menus, created by data validation. I know how to make the lists dynamic, meaning I can change the list behind the drop down menu depending on circumstances. However, I want to make the whole presence of a drop down menu / data validation dynamic: depending on circumstances, I sometimes DON'T want there to be a drop down menu at all.

To make the issue a bit more concrete:

In row 1, I have data types, then in row 2 and beyond I want to enter values depending on these data types.
List_currencyyes/noStringyes/nodouble
drop down with list of currenciesdrop down with yes and nono drop downdrop down with yes and nono drop down

<tbody>
</tbody>

I am currently creating these drop downs with a list validation, with a formula as source (I don't think the specific formula matters, but in case it does: OFFSET(lists!$A$1;2;MATCH(A$1;lists!$A$1:$DI$1;0)-1;OFFSET(lists!$A$1;1;MATCH(A$1;lists!$A$1:$DI$1;0)-1;1;1);1)). However, I can't find a way to change the setting to use a drop down dynamically; nor something that allows me to switch off validation altogether in a dynamic fashion. With custom validation, I could split up between those data types that have a list attached and those that do no, but it does not seem to allow the drop down option at all.

I was looking for a way to do this without VBA code, but can't find a way. Is it impossible and should I either give up on the idea or start using some VBA, or are there possibilities yet unexplored?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi and welcome to the Board

I would do it with VBA which gives you a lot of flexibility. Post back if you accept the idea and need help with the coding.
 
Upvote 0

Forum statistics

Threads
1,215,324
Messages
6,124,250
Members
449,149
Latest member
mwdbActuary

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