Change Cell Values based on drop down selection

Jmwend

New Member
Joined
Aug 22, 2011
Messages
17
I would like for my worksheet to automatically fill values in specified cells based on a drop down list selection.

For instance, If the user selects "1" in the drop down list in cell A1, I would like 2 to automatically appear in cell B1, and 3 to automatically appear in cell B2. Then, if the user changes his drop down selection from 1 to "2", I would like the number 3 to automatically appear in cell B1, and 4 to appear in cell B2.

Please let me know how this is possible. Thanks in advance for the help.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I actually just used those values and cells to illustrate what I wanted to do, those aren't actually the cells or values that I will be using. My drop down list is in cell B15 and contains "high, medium and low" I want to populate cells F20:F26 with specific values depending on the selection of "high medium or low" in the drop down list.
 
Upvote 0
Are the values for High, Medium and low consistent?
Will B2 always be 1 more than B1, or is there a second set of contingent values?
 
Upvote 0
No the values for cells F20:F26 will be like .5ppm , .5ppm, .4ppm, etc. So they are random (not a mathematical sequence) and have characters behind them.
 
Upvote 0
You could use an IF statemtent

=IF(A1="High","oneValue",IF(A1="Medium","twoValue","threeValue"))

or Choose

=CHOOSE(MATCH(A1,{"High","Medium","Low"},0), "oneValue", "twoValue", "threeValue")

or Lookup

=LOOKUP(A1,{"High", "Low", "Medium"},{"oneValue", "threeValue", "twoValue"})
 
Upvote 0

Forum statistics

Threads
1,224,589
Messages
6,179,744
Members
452,940
Latest member
rootytrip

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