Inventory: FIFO, LIFO and Average Cost

pegbol

Board Regular
Joined
Jan 7, 2005
Messages
192
.
.

Hello,

I need to compare and calculate the Unit Cost Price of my Inventory based on the 3 methods of inventory valuation: FIFO (First In, First Out), LIFO (Last In, First Out) and Average Cost.

Next, I enclose 3 snapshots of each method with the results required (columns color yellow).

Thanks in advance for your help.

regards,
Pedro
.
.
 
I copy/pasted from the posting and put the rows and columns the same (some headings were shifted so I put them back in original position). Not sure whether (and how) I could extract the spreadsheet from the posting. I'm first-time visitor...
With my spreadsheet it only changes values in a few cells and not to reasonable values.
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
The code only changes Col.I (Unit cost) when any cell is changed in col A:E
Other will be calculate by the fomrula embeded (done by Pegpol himself)

Is it not changing?
 
Upvote 0
jindon-san,

It is working now !

I assumed the formulas were copied along when I copied from pegbol's posted sheet (I still need to get some more experience using this site).
On top the 'go to next line' character was not accepted
in the version of EXCEL I'm using, so the change_workbook never started any of the macros. When I deleted the 'go to next line' character, it now works perfectly.
Many many thanks ! Doomo arigatoo gozaimasu !
Nancy
 
Upvote 0
Hi, I have the following error message:

compile Error: Sub or Function not defined (FIFO)

Please, can you help me.

Juan.
 
Upvote 0
i am asking you to provide the formula which i can use to and to get the desire result but don't try to teach them what is the meaning of LIFO AND FIFO.BASICALLY I AM WORKING IN ONE COMPANY AND MAINTAINING THE INVENTORY IN EXCEL FORMAT BUT MY BOSS TOLD ME TO BUILD FORMULA OF FIFO, BUT I DON'T HAVE A KNOWLEDGE ABOUT ITOPENING RECEIVING COST OF GOOD SOLD CONSUMPTION CLOSING12 BAG 60 BAGS 72 BAG 12 CONSUMED HOW I CALCULATED THE CLOSING FIGURE BECAUSE ALL THE UNIT PRICE ARE VARIED AND EXPIRY ARE ALSO CHANGE.PLEASE ASSIST ME.CHAMCHA
 
Upvote 0
OK
If any bugs, please let me know.

I've been looking for a good LIFO inventory calculation and finally I found
it. I am using the sheet and Pegbol's position to tie your code but when I type the opening balance I get a number 13 error mesage ("Type mismatch") and the highlighted line is : sumOut = a(i, 3).
My knowledge about macros is limited and I need your help to solve this issue.

Thanks in advance.
 
Upvote 0
.
.

Last-In, First-Out (LIFO)- Assumes that the last unit making its way into inventory is sold first. The older inventory is therefore left over at the end of the accounting period.

******** ******************** ************************************************************************><center>
Microsoft Excel - inv.xls___Running: 11.0 : OS = Windows XP

<tbody>
</tbody>
(F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout<form name="formCb285793"><input *******="window.clipboardData.setData("Text",document.formFb506491.sltNb910359.value);" type="button" value="Copy Formula" name="btCb963142"></form>

<tbody>
</tbody>
<select onchange="document.formFb506491.txbFb548867.value = document.formFb506491.sltNb910359.value" name="sltNb910359"><option value="=F7" selected="">H7</option><option value="=F7*E7">J7</option><option value="=G7*I7">K7</option><option value="=J7">L7</option><option value="=H7+F8-G8">H8</option><option value="=F8*E8">J8</option><option value="=G8*I8">K8</option><option value="=L7+J8-K8">L8</option><option value="=H8+F9-G9">H9</option><option value="=F9*E9">J9</option><option value="=G9*I9">K9</option><option value="=L8+J9-K9">L9</option><option value="=H9+F10-G10">H10</option><option value="=E9">I10</option><option value="=F10*E10">J10</option><option value="=G10*I10">K10</option><option value="=L9+J10-K10">L10</option><option value="=H10+F11-G11">H11</option><option value="=((120*E9)+(250*E8))/G11">I11</option><option value="=F11*E11">J11</option><option value="=G11*I11">K11</option><option value="=L10+J11-K11">L11</option><option value="=H11+F12-G12">H12</option><option value="=F12*E12">J12</option><option value="=G12*I12">K12</option><option value="=L11+J12-K12">L12</option><option value="=H12+F13-G13">H13</option><option value="=E12">I13</option><option value="=F13*E13">J13</option><option value="=G13*I13">K13</option><option value="=L12+J13-K13">L13</option><option value="=H13+F14-G14">H14</option><option value="=E12">I14</option><option value="=F14*E14">J14</option><option value="=G14*I14">K14</option><option value="=L13+J14-K14">L14</option><option value="=H14+F15-G15">H15</option><option value="=F15*E15">J15</option><option value="=G15*I15">K15</option><option value="=L14+J15-K15">L15</option><option value="=H15+F16-G16">H16</option><option value="=E15">I16</option><option value="=F16*E16">J16</option><option value="=G16*I16">K16</option><option value="=L15+J16-K16">L16</option></select>=<input size="80" value="=F7" name="txbFb548867">

<tbody>
<form name="formFb506491"></form>
</tbody>
<center>A</center><center>B</center><center>C</center><center>D</center><center>E</center><center>F</center><center>G</center><center>H</center><center>I</center><center>J</center><center>K</center><center>L</center>
<center>5</center> QUANTITYCOST
<center>6</center>DATEDOC.DESCRIPTIONUNIT PRICEINOUTBALANCEUNIT COSTDEBITCREDITBALANCE
<center>7</center>101/09/2005 BEG. BAL.10.00100 100 1,000.00
1,000.00
<center>8</center>212/09/2005C001IN20.00300 400 6,000.00
7,000.00
<center>9</center>312/09/2005C002IN25.00170 570 4,250.00
11,250.00
<center>10</center>412/09/2005V001OUT 5052025.00
1,250.0010,000.00
<center>11</center>523/09/2005V002OUT 37015021.62
8,000.002,000.00
<center>12</center>627/09/2005C003IN30.00700 850 21,000.00
23,000.00
<center>13</center>729/09/2005V003OUT 45040030.00
13,500.009,500.00
<center>14</center>829/09/2005V004OUT 25015030.00
7,500.002,000.00
<center>15</center>902/10/2005C004IN25.00320 470 8,000.00
10,000.00
<center>16</center>1003/10/2005V005OUT 5042025.00
1,250.008,750.00
LIFO

<tbody>
</tbody>

<tbody>
</tbody>

[HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.</center>

.
.

Can someone help me with the formula for the "Unit Cost" column? I would prefer not to use the VBA code. Is there a formula I can use in the "Unit Cost" column that will calculate the unit cost using LIFO. Any assistance will be greatly appreciated! =)


 
Upvote 0

Forum statistics

Threads
1,215,580
Messages
6,125,654
Members
449,245
Latest member
PatrickL

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