drop down list selection trigger formula

oddworld

Active Member
Joined
May 31, 2005
Messages
250
hi all i have a travel sheet, in column f a user selects an entitlement component from a drop down list ( between row f10 - f22). Breakfast, lunch or dinner, in column g i manually pull down the formula =SUMIF($N$3:$N$14,F10,O3:O14) to row 22, in column h i manually pull down =IFERROR(VLOOKUP(F10,$N$26:$O$29,2,0), "")*G10 to row 22. is there a way that once a user selects a value from column f (the value is not important) to then auto populate the 2 formulas from above into the relevant row in columns.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
in Cell G10 paste
=IF(ISBLANK(F10),"",SUMIF($N$3:$N$14,F10,O3:O14))
then drag it down to row 22

in cell H10 paste
=IF(ISBLANK(F10),"",IFERROR(VLOOKUP(F10,$N$26:$O$29,2,0),"")*G10)
then drag it down to row 22

now cells G10:H22 should only populate if there is a value in column F
 
Upvote 0

Forum statistics

Threads
1,221,531
Messages
6,160,354
Members
451,640
Latest member
idavies1402

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