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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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