Hello,
I work in a purchasing function and have a reasonable grasp of excel. However, periodically I need to value stock and the way we do this is to list out the stock items and then put the last price paid and last date purchased next to them.
At the moment I do this manually and I feel like there must be a way to automate a chunk of it.
Sheets involved: Master order sheet (logs all the purchases and the dates) and Stock valuation sheet (lists the stock and needs some info from the Master order sheet)
I've coded all the stock so that I have a unique identifier and I can do a simple vlookup or index match to populate my stoke take valuation sheet from the master ordering sheet. The problem comes because I will purchase the same item multiple times. So really what I need is to return the highest date against a specific item and then in a separate column the rate on that date for that item.
I have been looking at arrays but they are currently beyond me.
Any help would be greatly appreciated.
UPDATE: 2 files attached. I have highlighted the cells that should be interacting.
The Last purchased Tonne Rate on the valuation sheet should be populated from the Tonne Rate cell on the Master order sheet.
The last purchased date on the valuation sheet should be populated from the Date ordered cell on the Master order sheet.
The product code/Short code is the unique element.
The master order sheet can potentially be thousands of lines long come the end of the year.
Thanks.
Bookmarks