Forum Discussion
excel reference formulas- pricing to ingredients
- Feb 16, 2022
Let's say the list of ingredients with their cost is on a sheet named Ingredients, in A2:B100.
Somewhere else (probably on another sheet, you enter ingredients in A2, A3 etc.
In B2, enter the formula
=IFERROR(VLOOKUP(A2, Ingredients!$A$2:$B$100, 2, FALSE), "")
or
=XLOOKUP(A2, Ingredients!$A$2:$A$100, Ingredients!$B$2:$B$100, "")
Fill down as far as you want.
Let's say the list of ingredients with their cost is on a sheet named Ingredients, in A2:B100.
Somewhere else (probably on another sheet, you enter ingredients in A2, A3 etc.
In B2, enter the formula
=IFERROR(VLOOKUP(A2, Ingredients!$A$2:$B$100, 2, FALSE), "")
or
=XLOOKUP(A2, Ingredients!$A$2:$A$100, Ingredients!$B$2:$B$100, "")
Fill down as far as you want.
- sillynameFeb 16, 2022Copper Contributor
HansVogelaar it worked!!! thanks so much, been fighting this all day!!