referencing form control data contents in formula

bmoore45

New Member
Joined
Jun 19, 2011
Messages
39
Hey guys, pretty much trying to do what the title says.

I have inserted a form control (dropdownlist) and want to refer to its contents in a cell formula;

Code:
=IF(dropdownlistcontent="blah","output1",IF(dropdownlistcontent="blah2","output2"))

is there an easy way to do this? I've looked around the developer tab and tried googling but now I'm here :)

Any help appreciated guys, thx!

ben
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
You can link the control to a cell (right-click on the control and select Format Control. Then select the Control tab). Then you can use a formula to reference the linked cell.

Say you linked the control to cell A1 then use this formula...

=IF(A1="blah","output1",IF(A1="blah2","output2", ""))

Often the linked cell is the cell that the control is on top of but it doesn't have to be.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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