FIFO (first-in-first-out) costflow method to estimate cost of good and ending inventory using a spreadsheet.