Fifo Method Of Stock Valuation

sujittalukde

Well-known Member
Joined
Jun 2, 2007
Messages
520
Also posted at http://www.ozgrid.com/forum/showthread.php?t=71862 but not geeting any reply So posting here.

have a file where I want to make a report which will put the stocks having positive balances along with their prices and values.

Stocks are to be valued on FIFO (First in first out) method ie when the stocks are sold it means it were sold from the first lot bought and so on.



Reporting is required for Shares Held For eg. for Stock A, Buy qtn is (50+50+100+<sell>+100) and sell qtn is 100 So total balance is Buy Qtn 300 - sell Qtn 100 = 200 Sell Qtn 100 will out of first 50 & then next 50 (First in so first out) balance held in hand is out of last two Qtn 100 purchases. The prices are corresponding to these two lots of 100 stocks.

Reporting will be for Stock held (lotwise) See Sheet 2 of the file attached.
Basis of price will be fixed ie no formula etc and corresponding to those lots.

Actually these data are copied from web qwery so formula etc are not required. For cost purpose, price and Total correponding the balnce qtn lot are relevant

In case more clarification required, do let me know. I will try to make them clear.
FIFO.xls
ABCDEFG
1StockDateActionQty.RateTotal
2A25-Nov-04Buy5070.33,546.70
3A20-Jul-05Buy50663,330.85
4A01-Sep-05Buy100828,275.97
5A23-Sep-05Sell10076.57,579.12
6A17-Oct-05Buy10073.87,448.38
7B03-Jan-05Buy200125.4925,325.16
8B12-Jan-05Sell20098.519,522.39
9BA05-Sep-06Sell30014342,485.23Qtn balance is negative so ignore this stock in reporting
10BC21-Dec-04Buy20284.75,745.33
11BC12-Jan-05Sell20248.64,927.18
12C21-Dec-04Buy30015.34,631.40Red font means buy sell matched
13C12-Jan-05Sell30017.75,262.12
14C17-Jan-05Buy20018.353,703.08
15C03-Mar-06Buy9725.552,508.38yellow background means these are in balance
16C26-Apr-06Buy10324.052,507.69and should be reported
17C05-Dec-06Buy10030.83,111.91
18C08-Mar-07Buy10032.953,327.18
19D15-Jan-07Buy100128.512,974.24
20E08-Mar-07Buy10064.656,527.36
21HH31-May-07Buy10062.56,310.48
22ID07-Dec-04Buy7050.853,591.59
23ID12-Jan-05Sell6068.654,081.87
24IDF30-Dec-04Buy10107.251,100.85
25IDF12-Jul-05Sell17112.81,888.13Qtn balance is negative so ignore this stock in reporting
Sheet1
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Thanks for the reply Actually I need the same for all the items Final reporting format will be as follows
FIFO.xls
ABCDE
1
2Name of the StockQtn.PriceAmount
3A100828,275.97
4A10073.87,448.38
5C20018.353,703.08
6C9725.552,508.38
7C10324.052,507.69
8C10030.83,111.91
9C10032.953,327.18
10
11Note: Ignaore negative balances stock ie if the Qtn.
12Balance is in negative ignore those stocks
Sheet2
 
Upvote 0
What does it mean

"Qtn balance is negative so ignore this stock in reporting"

Do you mean if the item once get negative balance, exclude that item in reporting?
 
Upvote 0
For eg. for Stock "BA" there is only Sell quantity without any buying qtn. So this should not be reported in the final output. (If you user Buy-Sell = Balance, then For "BA" result will be 0-300 = (300) so ignore this type of negative balances.)
 
Upvote 0
OK
I don't think I have enough time to write a code today, hopefully tomorrow if you still need a help then.
 
Upvote 0
One more question

What will be the balance at 23-Sep-05 for item A sold 70 instead of 100?
 
Upvote 0

Forum statistics

Threads
1,215,365
Messages
6,124,511
Members
449,166
Latest member
hokjock

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