Formulas and Data Validation

DAD

Board Regular
Joined
Jan 8, 2010
Messages
54
Hi All,

I am trying to implement a change to a spreadsheet, but I am not even sure if the change I hope for is possible. I am hoping someone here may have a solution. I will preface this by saying unfortunately I cannot use VBA to solve the problem as the spreadsheet will be deployed on an iPad.

If I have a value in one cell, I would like the value in a second cell to be either a fixed value, or a drop down list. For example, If the value in cell A1 is "YES", then the value in A2 will be "Summer" (this is the inserted value, not part of a drop down list). If however the Value in A1 is "NO", the cell A2 is a drop down list of "Winter", "Autumn", "Spring", and the user can select either of the three.

As I said, I don't think this is possible without VBA, but I would be most grateful if anyone could correct me on that.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Indeed my solution would be VBA and I never been across a formula to change data validation. Because of the Ipad, I would go for a compromise: a drop down showing summer when yes and
"Winter", "Autumn", "Spring" when no.

To do so is pretty easy. Write down 4 seasons for your list, click on summer, formula tab, define name and call it "yes". Select the 3 other seasons and call it "no".

Now, in the cell where you want your dropdown, put the list in datavalidation and put
Code:
=indirect($A$2)
in source. Again, not as good as VBA.
 
Upvote 0
Hi Kamolga,

Thanks for taking the time to reply. I had also come up with your suggested solution, but unfortunately it does not add any efficiency to the spreadsheet in its current form.

Thanks anyway.
 
Upvote 0

Forum statistics

Threads
1,224,755
Messages
6,180,758
Members
452,996
Latest member
nelsonsix66

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