Need help on FIFO

chenyu768

New Member
Joined
May 25, 2011
Messages
21
I've been banging my head against the wall for the better part of 2 days now trying to figure this thing out.

I have an commodity product. a beg inv, an injection/withdraw, a COGS, and an ending inventory. and my inventory resets to 0 every 12 months

i think i have the cogs on a withdraw from inventory down. i basically used the small function to find the earliest date and with an if then statement i.e if withdraw > injection @ month 1 then use month 1 vol then would be withdraw greater than sum(month1,month2) then use those 2 and going down the 12 months. i can't figure out however, how to deduct what i have withdrew from the original inventory at month 1.

example. month 1 injection 50, month 2 100, month 3 -75. i can't get month 1 to be at 0 and month 2 at 75.


is there an easy way to do this without creating 7 sheets and 14 tables?

thanks in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,216,077
Messages
6,128,679
Members
449,463
Latest member
Jojomen56

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