Stumped: Inventory Value Usage

Drunken_Sailah

New Member
Joined
Apr 25, 2018
Messages
3
Hi,

I am trying to create an inventory spreadsheet where usage removes quantities from a lot until it is completely relieved and then the next lot is subtracted from. I have completed this as below:

LotDate ReceivedQtyCostBeginning Value Current QtyCurrent Value
14310150060=D2*C2=IF(SUM($C$2:C2)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)<0,0,MAX(SUM($C$2:C2)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)))=F2*D2
24313210070=D3*C3=IF(F2=0,IF(SUM($C$2:C3)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)<0,0,SUM($C$2:C3)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)),Product!$C3)=F3*D3
34316020080=D4*C4=IF(F3=0,IF(SUM($C$2:C4)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)<0,0,SUM($C$2:C4)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)),Product!$C4)=F4*D4
44319130065=D5*C5=IF(F4=0,IF(SUM($C$2:C5)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)<0,0,SUM($C$2:C5)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)),Product!$C5)=F5*D5
54322120070=D6*C6=IF(F5=0,IF(SUM($C$2:C6)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)<0,0,SUM($C$2:C6)-SUMIF(Builds!$A$2:$A$19,"Product",Builds!$B$2:$B$19)),Product!$C6)
=F6*D6

<colgroup><col><col><col span="2"><col><col><col></colgroup><tbody>
</tbody>

Without the Formulas shown below:

LotDate ReceivedQtyCostBeginning Value Current QtyCurrent Value
11/1/2018500$60.00$30,000.000.00$0.00
22/1/2018100$70.00$7,000.00100.00$7,000.00
33/1/2018200$80.00$16,000.00200.00$16,000.00
44/1/2018300$65.00$19,500.00300.00$19,500.00
55/1/2018200$70.00$14,000.00200.00$14,000.00

<colgroup><col><col><col span="2"><col><col><col></colgroup><tbody>
</tbody>

The next step is the issue, however. I am also, on another tab trying to calculate the usage based upon the rows usage data, however, the same row keeps getting increased in usage value until a lot number is completely utilized. I want each line item to calculate the usage per row. :confused:

IngredientQty UsedTotal Cost
Product400$30,000.00
Product100$0.00
Product $0.00
Product $0.00

<colgroup><col><col><col></colgroup><tbody>
</tbody>

IngredientQty UsedTotal Cost
Product400=Product!$E2:$E$6-Product!$G2:$G$6
Product100=Product!$E2:$E$6-Product!G$2:$G$6
Product =Product!$E$2:$E$6-Product!$G$2:$G$6
Product =Product!$E$2:$E$6-Product!$G$2:$G$6

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I see a lot of views, but, no responses, does this make sense or should I try to lay it out another way to try and get some help?
 
Upvote 0

Forum statistics

Threads
1,216,761
Messages
6,132,569
Members
449,736
Latest member
anthx

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