Page 1 of 1

COGS

Posted: Thu Oct 07, 2021 1:09 pm
by sna
Hi Dear,

I got an issue how to write excel formula to calculate cost of sale using FIFO method.
Example; 10 sales were made for the E5. According to FiFo, first 5 of the purchases will be calculated from 10 in C2... the remaining 5 will be calculated from 30 in C3... so selling cost for E5 (5*10)+(5*30)= 200....

Thanks

Re: COGS

Posted: Thu Oct 07, 2021 7:12 pm
by snasui
:D Please fill the correct value in target cell for another member easy to understand.

Re: COGS

Posted: Thu Oct 07, 2021 7:56 pm
by norkaz
...

Hi Guy,

looks like your question does not match the example data information in sheet1 that you provided.


To further clarify about your question referring to "10 sales were made for cell E5".


A) What is the criteria or how could we know the first 5 of purchases will be calculated from 10 in C2…?

B) And then why the remaining 5 will be calculated from 30 in C3…?

Norkaz

Re: COGS

Posted: Fri Oct 08, 2021 10:25 am
by sna
Thanks for your all reply.In FiFo, the basic logic is always the product that is purchased first is sold. When the first purchase is finished, the other product is sold. .the negative amount is sale amount and positive amount is purchase one.
the results should be in column E.the narratives are in grey cells of how to get amount in column E.
What formula should I go?


Thanks in advance


Best wishes,

Re: COGS

Posted: Sat Oct 09, 2021 10:45 am
by snasui
:D Please see the example in this link https://www.snasui.com/viewtopic.php?st ... 82#p109448.

Re: COGS

Posted: Sat Oct 09, 2021 11:35 pm
by sna
Thank you 😊