What's the best way to lookup a value from one table, that has multiple matching values in another table? Or, perhaps to word it another way, to lookup a value using more than one criteria?
Let's say I have two tables, ProductSheet and DailyPrices. They look somewhat like this:
DailyPrices:
Date SKU Price 11-Jul-18 SOX $5.25 11-Jul-18 BLT $2.00 12-Jul-18 HAT $4.00 13-Jul-18 SOX $6.00
ProductSheet:
SKU Current Price SOX =Latest price in price list HAT =Latest price in price list BLT =Latest price in price list
How can I lookup the *latest* price of an item in DailyPrices and return it as the current price in ProductSheet? I tried VLOOKUP but I believe what I'm looking to do is too complicated for VLOOKUP. I also tried a table-based query but couldn't get that to return what I needed either. Any suggestions? Thanks in advance!
Bookmarks