I have a spreadsheet which contains a list of products from different vendors. It is possible, even likely, that the product name will not be unique.
On another spreadsheet, I want to import the minimum price the product is available for. I know how to use MIN() to achieve this so I attempted to merge this with using VLOOKUP but that always returns the first value found, not the minimum one. My VLOOKUP uses exact matching, and works correctly for every unique item.
How can I achieve this result in a single formula? I can see a solution that involves splitting up my master price list but I would strongly prefer not to do this.
I'm thinking that I can detect WHEN this occurs by using
=IF( COUNTIFS(B2:B1193,"="&$C2) > 1, <do the multiple version>, <do the vlookup> )