FIFO Inventory (Average Inventory Cost) - Excel Formula Help

tommiexboi

New Member
Joined
Apr 24, 2017
Messages
24
Office Version
  1. 365
Platform
  1. Windows
Hello,

Scenario

I have a total of 500,000 On Hand Quantity of X Product and 350,000 On Hand Quantity of Y Product.

I have another sheet that shows all X & Y Product purchases throughout the month with the purchase cost, purchase order number, and date.

I'm trying to figure out if there's a formula, which will:

1) If I have 500,000 Units of X Product & 350,000 Units of Y Product, I would like to know which purchase date I bought it from and what cost using FIFO method.
2) I would also like to average out the available on hand cost using FIFO

End Result:

ProductOn handPurchase Date (Need)Purchase Cost (Need)Average Inventory Cost (Need)
Product X
500,000​
12/5/2019​
$1.80​
$1.84​
Product Y
350,000​
12/17/2019​
$3.00​
$2.96​

Purchase Sheet Sample:

DateProductPurchase QTYPurchase Cost
12/29/2019​
X
30,000​
$1.80​
12/23/2019​
X
50,000​
$1.85​
12/21/2019​
X
100,000​
$1.85​
12/21/2019​
X
25,000​
$1.87​
12/18/2019​
X
125,000​
$1.80​
12/17/2019​
X
75,000​
$1.87​
12/15/2019​
X
25,000​
$1.95​
12/12/2019​
X
1,500​
$2.20​
12/7/2019​
X
1,000​
$2.30​
12/5/2019​
X
100,000​
$1.80​
12/2/2019​
X
50,000​
$1.85​
12/2/2019​
X
30,000​
$2.00​
12/29/2019​
Y
85,000​
$3.00​
12/23/2019​
Y
100,000​
$2.80​
12/21/2019​
Y
50,000​
$3.00​
12/21/2019​
Y
25,000​
$3.10​
12/18/2019​
Y
35,000​
$3.10​
12/17/2019​
Y
61,000​
$3.00​
12/15/2019​
Y
45,000​
$3.00​
12/12/2019​
Y
180,000​
$2.70​
12/7/2019​
Y
20,000​
$3.10​
12/5/2019​
Y
2,000​
$4.00​
12/2/2019​
Y
1,000​
$4.00​
12/2/2019​
Y
2,000​
$4.00​
 

Attachments

  • 2020-12-15_14-23-37.jpg
    2020-12-15_14-23-37.jpg
    193 KB · Views: 78

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
tommiexboi

My interpretation of FIFO is that it means First In First Out which I then take to mean that you want to know the date of the oldest stock and what it cost to purchase on that date. If my interpretation is correct, why are you nominating dates that are not the oldest?

Also, what version of Excel are you using? You should nominate this in your profile. If you are using Excel 365 then the formula will be a lot simpler than if you have an older version.
 
Upvote 0
Hello,

I'm following up on this question/help.

@ExcelGzh, I'm not quite sure what you mean by nominating the dates. Also, I updated my profile to show which Excel version I have.

Thanks everyone
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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