Calculation of Stock Execution on FIFO basis

Status
Not open for further replies.

RAMU

Active Member
Joined
Dec 11, 2009
Messages
321
Hi,
Pls go thru the mini sheet:
Yellow highlighted cells are my opening stock as on 01-04-2021. Green Highlighted cells are purchase history, blue highlighted certain area are my sale detail (A11 TO G19). From I12 to L12 heads are predefined. My desired results are in Red font against those Heads. See intentionally I have mentioned a wrong figure in date column of sale which is navy highlighted & font in white, there results are showing error as if you see, you can get that on that day that qty banana couldn't be sold as that much stock was not available on that day since all calculations are on FIFO based. I need the results like concatenate but if needed you may give me helper columns for merging those figures, I don't have any problem for that.
It would be highly appreciable, thanks in advance.
Calculation of stock execution on FIFO basis.xlsx
ABCDEFGHIJKL
1PURCHASE OPENING STOCKDATEQTY
2FRUITSUPPLIERINV NODATEQTYRATEGUAVA01-04-202143
3GUAVAGK TRADER1010-04-2021968APPLE01-04-202112
4APPLESM10209-04-20215012BANANA01-04-202115
5BANANASM13412-05-20211443
6APPLEGK TRADER1519-05-202125210
7BANANASOM35/5805-05-20211803.25
8APPLESOM35/5917-05-202119211.5
9GUAVASM14922-05-20211207.3
10
11SALEFIFO BASIS STOCK EXECUTE DETAIL
12CUSTOMERFRUITINV NOINV DATEQTYRATEVALUESUPPLIERINV NOINV DATEQTY
13S.M. TRADERBANANA401-04-202110440OPENING STOCKNA01-04-202110
14DAD KITCHENGUAVA501-04-2021309270OPENING STOCKNA01-04-202130
15NIRMALAPPLE601-04-2021815120OPENING STOCKNA01-04-20218
16ZAZUAPPLE11010-04-20215015750OPENING STOCK, SMNA, 10201-04-2021, 09-04-20214, 46
17KIDDYGUAVA11411-04-20211039927OPENING STOCK, GK TRADERNA, 1001-04-21, 10-04-202113, 90
18S.M. TRADERBANANA12412-04-202110440ERRORERRORERRORERROR
19S.M. TRADERBANANA12412-05-202110440OPENING STOCK, SMNA, 13401-04-2021, 12-05-20215, 5
Sheet1
Cell Formulas
RangeFormula
E6E6=21*12
E7E7=15*12
E8E8=16*12
G13:G19G13=+E13*F13
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Duplicate to: Calculation of stock valuation (FIFO Basis)

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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