Recipe Calculator

jem10660

New Member
Joined
Mar 2, 2018
Messages
4
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 :LOL:.

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.:confused:



abcd
sugar10009.520.00952
flour20005.650.002825

<tbody>
</tbody>

efgh
Product usedamountcost

<tbody>
</tbody>
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Sheet16

ABCDEFG
1ProductTotal BuyCostCost per unitProduct UsedAmount usedCost
2sugar10009.520.00952sugar50.0476
3Flour20005.650.002825
4

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 64px;"><col style="width: 86px;"><col style="width: 89px;"><col style="width: 90px;"><col style="width: 64px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
G2=VLOOKUP(E2,$A$2:$D$3,4,0)*F2

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
Hello Me again

The formula is working great for items such as sugar, but if the item is more than one word such as tapioca starch is can't find the value. Is there anyway of accounting for this in the formula?
 
Upvote 0
It should work for 2 words as long as they are in the same cell, the spelling needs to be identical
 
Upvote 0
If you know how to do data validation that is the best way to go by creating a dropdown list of the names in the first column, that way you will always get the correct spelling
 
Upvote 0
It isn't working with two words but as you say they would have to be exact. I'll give the data validation dropdown a go. Thanks.
 
Upvote 0

Forum statistics

Threads
1,213,517
Messages
6,114,089
Members
448,548
Latest member
harryls

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