Assign formulas to specific selections in dropdown menu

gugg7378

New Member
Joined
Aug 24, 2011
Messages
8
Hello,

I have created a dropdown menu through data validation. With 4 of the 5 options in the menu, I have made a formula where each of the 4 selections is referencing a different set of data, which will then populate the same range of cells. Here's the code I used:

Code:
=IF($A$9="Wellness",Sheet3!B6,IF($A$9="TDS",Sheet3!B16,IF($A$9="Healthy Back Non-Incentive",Sheet3!B25,IF($A$9="Healthy Back Incentive",Sheet3!B34,IF($A$9="Open",HELP,"")))))

Here, Cell A9 is where the dropdown menu is located.

However, I am running into a problem when I want to select the other option in the dropdown menu (it is named "Open" in my code). When I select this option, I want to be able to enter in my own data in the same range of cells that are populated when the other 4 options are selected.

Basically, I want this formula to apply to all of the options in the dropdown menu EXCEPT for the "Open" option, in which case I want to enter in my own data. I need these formulas to re-populate the cells if i go from the "Open" option to one of the other options.

Any help would be greatly appreciated!!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,224,592
Messages
6,179,787
Members
452,942
Latest member
VijayNewtoExcel

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