Drop down list attached to specific row

mobile63

New Member
Joined
Aug 15, 2011
Messages
13
Hi Guys, I need help. I would like to optimise my drop down list/box. by attaching a row of 10-20 cells of calculations to each selection from the drop down list. For example if I choose a month like February than I would like to populate the row with calculations for February, if I choose August then the August calculation row will appear.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi there mobile63,

there area a few ways to do this, can you perhaps tell me what the calculations are? just 3 or 4 and what is thier cell locations (i.e. A1).

thanks.

however below is an example you might be able to use,

i.e. if your drop down list is in A1, and yout first formula/funcation is in B1, then in B1 you can use a IF funcation, i.e. =IF(A1=January,A2*B2-C1,"").
 
Upvote 0
Hi and Welcome to the Board.
That might be something you could recommend to Bill Gates. Wouldn't that be great to simply select a formula from a list. Afraid not, you will have to do it with VBA
 
Upvote 0
I hope I am understanding the questions correctly here, but I was thinking. using the CHOOSE function with VLOOKUP, and then the formula/function for the CHOOSE selection.

=CHOOSE(VLOOKUP($A$1,{"January",1;"February",2;"March",3;"April",4;"May",5;"June",6;"July",7;"August",8;"September",9;"October",10;"November",11;"December",12},2,FALSE),2*2,2*17,"next formula,next formula)
 
Upvote 0
Thank you Mark for your quick reply. For example If I would like to have in A4 a drop down list of 12 items/selections. By selecting an item like February from the list, in A4 then the calculation will follow in B4..M4. Once the syntax/calculation is working then I can attach calculations to all 12 months. The outcome should be that I will copy the drop down list from A4 to A16, and by selecting the month i will have the relevant calculation. Thank you in advance Regards Stefan
 
Upvote 0
Try this.

Code:
=CHOOSE(VLOOKUP($A4,{"January",1;"February",2;"March",3;"April",4;"May",5;"June",6;"July",7;"August",8;"September",9;"October",10;"November",11;"December",12},2,FALSE),Jan,feb,mar,Apr,may,jun,jul,aug,oct,nov,dec)

Jan = your formula for B4 january
Feb = your formula for B4 feb
Mar = your formula for B4 mar
apr = your formula for B4 apr
then drag the formula across to C4, and chance the formulas
 
Upvote 0
Hi Mark
Obviously then .......I was the one that misunderstood the OP's request...Cheers !
 
Upvote 0
Hi Mark. Sorry but this will give me just one answer/value. When choosing a value from list ie February in A4 then the answer should come up in B4..M4 where every cell has a different value. The list will be 12 cells in A4, and I will have 12 rows of 16 horizontal each matched w the list. My goal is to be able to have values and then choose the attached calculation through the drop down list. I never tried VBasic and I am trying to avoid it. At the moment i am cutting and pasting the formulas (row), and I am manually checking the values. Thanks
 
Upvote 0
HI there Mobile63,

When you drag the formula form B4 to C4, then just update the formulas, and so on in D4, until M4.
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,261
Members
452,901
Latest member
LisaGo

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