FIFO Inventory Tracking

excelhelp243

New Member
Joined
Feb 10, 2015
Messages
5
I have multiple products with days until next shipment, inventory, and the start of a formula but I'm stuck. I don't know what to do to subtract the outbound inventory from a FIFO standpoint and keep my days in inventory calculation correct.

To best summarize where I'm at I have written some nested IF functions

The first one is if I have more inventory since the last load (meaning that my inventory today is greater than the last date of inventory) Then I add the last number of days in inventory to the new number of days.

The next portion is if inventory remains the same. Then I add the number of days since the last shipment and the cumulative days in inventory so far.

The next portion is if inventory drops to zero. Then we no longer have any days in inventory so it is 0 automatically.

The last portion is what I am struggling with. I need the new portion of inbound inventory to subtract from the oldest amount of inventory and then subtract the number of days the oldest was in inventory from my number of days in inventory.

My current formula is IF(CurrentRunningInventory>LastRunningInventory,LastDaysinInventory+CurrentDaysinInventroy,IF(CurrentRunningInventory=LastRunningInventory,LastDaysinInventory+RunningDaysinInventory,IF(CurrentRunningInventory=0,0,?)))

best example is below

Widget 1 10 days 25 widgets 10 total days in inventory
Widget 1 5 days 30 widgets 15 total days in inventory
Widget 1 20 days 10 widgets 35 total days in inventory
Widget 1 5 days -15 widgets 40 days in inventory
Widget 1 5 days -40 widgets 30 days in inventory

The italics part are what my formula cannot return correctly.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Widget 1 10 days 25 widgets 10 total days in inventory

infers to me that 2.5 widgets are used every day

can you state the issue more clearly please
 
Upvote 0
Sorry if I wasn't clear. Here is a much more organized example with my actual numbers. This is just an inventory location so there is not consumption just shipping in and shipping out. Formulas used in this are (from row 3 '8/8/2014 Apples')

Days until next Shipment: =DATEDIF(A3,A4,"d")
Inventory: =IF(E3=0,0,DATEDIF(A3,A4,"d"))
Days in Inventory: =IF(E3>E2,D2+D3,IF(E3=E2,D3+F2,IF(E3=0,0,"*")))

DateIn/Out TonsCommodityDays until next shipmentInventoryDays in Inventory
5/12/20141.48Apples881.4888
8/8/20142.82Apples184.30106
8/26/2014(1.48)Apples72.82*
9/2/2014(2.82)Apples1610.000
End of Apples Inventory0.000
3/20/20133.77Bananas913.7791
6/19/2013(3.77)Bananas00.000
9/3/201315.10Bananas1315.1013
9/16/201316.52Bananas031.6213

Is this more clear? The * is where I cannot figure out the right formula.
 
Upvote 0
DateIn/Out TonsCommodityDays until next shipmentInventoryDays in Inventory
5/12/20141.48Apples881.4888

so you have 1.48 tons of apples in stock 5/12/2014

how is this translated into days

or are you just trying to record stock levels rather than how long stock will last with a predicted demand


<tbody>
</tbody>
 
Upvote 0
DateIn/Out TonsCommodityDays until next shipmentInventoryDays in Inventory
09 Feb 141.48Apples1671.48167
26 Jul 142.82Apples134.313
08 Aug 14-1.48Apples1192.82119
05 Dec 14-2.82Apples00
I have changed the date order with newest item last
you cannot put anything in the days to next shipment column for 5 dec 14
unless you work with planned next shipment
so you had 1.48 tons for 167 days
4.3 tons for 13 days
2.82 tons for 119 days
and zero inventory from 5/12/14
do you need col D and col F ?

<tbody>
</tbody>
 
Upvote 0
DateIn/Out TonsCommodityDays until next shipmentInventoryAge of OLDEST Inventory
09 Feb 141.48Apples1671.48167
26 Jul 142.82Apples134.3180
08 Aug 14-1.48Apples1192.82132
05 Dec 14-2.82Apples00

<tbody>
</tbody>

That's what I'm trying to keep track of. For days until next shipment I use a formula that uses todays date for the last piece of inventory.

I'm not concerned with what the amount of inventory is, the concern is what is my oldest piece of inventory in stock.

I want to be able to say that in the however many tons of apples in inventory the oldest apple in the stack is however many days old.
 
Upvote 0
on 8 aug 14 you shipped out 1.48 tons from 4.3 tons in stock, are you assuming the control measures in the store are so tight that only the 1.48 tons shipped in on 9 feb 14 were shipped out ?
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,263
Members
449,149
Latest member
mwdbActuary

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