I'm not sure if i understand you correctly, but if I do, I would look vlookup function.
Two worksheets, named "Recipes" and "Ingredients"
In the Ingredients sheet you have
A = Ingredient name (this column is actually uncritical)
B = Ingredient Brand and unit. For example: ("Pepsi, 100ml")
C=Calories
D (etc) rest of the parameters.
Now in Recipes you have:
A=Meal
B=Name of recipe
C=Ingredient/Unit. This can be a dropdown list (Data Validation => List => Ingredients!B2:B999)
D=Quantity. So if you need 200ml of Pepsi, you would put "2" here
E=Calories. For E2 the formula will be
Code:
=$D2*vlookup(E2,Ingredients!$B$2:$Z$999,columns(E2)-3,FALSE)
For the columns F to whatever will be the rest of your parameters (in the exact same order!) and you can just copy and paste the formula from E2 to the rest of your sheet.
Now you use the row filters in the top row as you do in your pics to filter out the things you want to see
Last edited by Gabethebabe; 06-15-2016 at 03:51 PM.