In Column AA (or AB) I want to calculate cost of goods sold (or unit cost of goods sold) here. I have scoured the internet for weeks looking for answers and I have covered some ground but not entirely satisfied.
Currently I sort the data then drag down formulas in columns R, S, and T to calculate cost of goods sold. However this takes too much time to calculate because I have so much data and I am expecting to double the amount of data too.
Now I have recently come across the greatest solution I have seen yet here at.HTML Code:
By some kind of sorcery this guy jindon decimated this challenge by not only providing code for FIFO but for LIFO and Average Costing as well!! Simply Amazing! But.. the code is designed for one sku item. None the less the calculation is carried out virtually instantly from what I have tested using many rows of data like my own model has. I am not smart enough to figure out how to modify this code to achieve calculation for my multiple sku data set.
So, In summary, I would love to acquire the same solution(s) (FIFO, LIFO, and Ave Costing) as the afore mentioned thread for my multiple sku model. I don't really need it written into sheet module, a standard module would be just wonderful. I just need cost of goods sold to be calculated as fast as possible.
Thanks in advance for any advice!!
Bookmarks