Icecream Man
New Member
- Joined
- Jan 20, 2019
- Messages
- 2
I am currently trying to construct a table of raw materials that will automatically adjust based on information entered about productions.
The system currently consists of 3 excel sheets:
1. A general ledge of all finished product stock in and out. This consists of columns for date, product name, number of batches made and a description that defines what happened i.e. Production is used when product is made, sale with details when it is sold, etc.
This table works well as I have set it up to automatically record total stock levels for our 3 product lines.
2. Our product formulations. Simply a list of ingredients and quantities used to make one batch of the product. Consists of all raw materials in one column and the amount of that material used in a batch of product.
3. The raw material stock table. Consists of columns titled (raw material name, unit of measure, stock on hand and additional columns for other details.
My goal is to link these 3 tables so that the "stock on hand" column for raw materials will automatically update based on the information I enter in Table 1 when we produce product.
I.e. We make a batch of product and consume raw materials. In Table 1 I enter the date, product made, how many batches we made and the description "Production".
Instead of manually updating the "Stock on Hand" column in Table 3 for each individual raw material, I want to develop a formula that will identify the product made (Product name column in Table 1), identify the description that identifies a production (Description column in Table 1 reads "Production"). The formula then takes the formulation under the identified product name (Table 2), multiplies it by the number of batches and then subtracts it from the "Stock on Hand" column in Table 3.
Can anyone please advise how to achieve this?
I have tried a few different attempts using IF formulas with nested AND formulas but to no avail.
Appreciate the help.
Cheers
Icecream Man
The system currently consists of 3 excel sheets:
1. A general ledge of all finished product stock in and out. This consists of columns for date, product name, number of batches made and a description that defines what happened i.e. Production is used when product is made, sale with details when it is sold, etc.
This table works well as I have set it up to automatically record total stock levels for our 3 product lines.
2. Our product formulations. Simply a list of ingredients and quantities used to make one batch of the product. Consists of all raw materials in one column and the amount of that material used in a batch of product.
3. The raw material stock table. Consists of columns titled (raw material name, unit of measure, stock on hand and additional columns for other details.
My goal is to link these 3 tables so that the "stock on hand" column for raw materials will automatically update based on the information I enter in Table 1 when we produce product.
I.e. We make a batch of product and consume raw materials. In Table 1 I enter the date, product made, how many batches we made and the description "Production".
Instead of manually updating the "Stock on Hand" column in Table 3 for each individual raw material, I want to develop a formula that will identify the product made (Product name column in Table 1), identify the description that identifies a production (Description column in Table 1 reads "Production"). The formula then takes the formulation under the identified product name (Table 2), multiplies it by the number of batches and then subtracts it from the "Stock on Hand" column in Table 3.
Can anyone please advise how to achieve this?
I have tried a few different attempts using IF formulas with nested AND formulas but to no avail.
Appreciate the help.
Cheers
Icecream Man