Hi Everyone
I'm trying to develop a recipe calculator linked to a product inventory like in the tables below, however my formula and function skills are limited but aspirational .
In the first table I want to list the ingredients that I buy, amount I bought, cost, price per unit. I then want to link the inventory table to a recipe calculator. I want to be able to type in a product from the inventory such as sugar in column e, the amount I used in the recipe in column f and in column g I want it to find the item from the first table and apply the price per unit from column d, multiply the amount used to give me the cost price in the recipe.
Can anyone help me with this? Its driving me insane.
[TABLE="width: 500"]
<tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]sugar[/TD]
[TD]1000[/TD]
[TD]9.52[/TD]
[TD]0.00952[/TD]
[/TR]
[TR]
[TD]flour[/TD]
[TD]2000[/TD]
[TD]5.65[/TD]
[TD]0.002825[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]e[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[/TR]
[TR]
[TD]Product used[/TD]
[TD]amount[/TD]
[TD]cost[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to develop a recipe calculator linked to a product inventory like in the tables below, however my formula and function skills are limited but aspirational .
In the first table I want to list the ingredients that I buy, amount I bought, cost, price per unit. I then want to link the inventory table to a recipe calculator. I want to be able to type in a product from the inventory such as sugar in column e, the amount I used in the recipe in column f and in column g I want it to find the item from the first table and apply the price per unit from column d, multiply the amount used to give me the cost price in the recipe.
Can anyone help me with this? Its driving me insane.
[TABLE="width: 500"]
<tbody>[TR]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]sugar[/TD]
[TD]1000[/TD]
[TD]9.52[/TD]
[TD]0.00952[/TD]
[/TR]
[TR]
[TD]flour[/TD]
[TD]2000[/TD]
[TD]5.65[/TD]
[TD]0.002825[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]e[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[/TR]
[TR]
[TD]Product used[/TD]
[TD]amount[/TD]
[TD]cost[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]