View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
confused_chris[_2_] confused_chris[_2_] is offline
external usenet poster
 
Posts: 1
Default Getting corresponding test value to a MIN function

Hey Dave,

Thanks - you're the man! I was a little confused by the first reply but
yours works out very nicely!

Cheers,

"no longer" Confused Chirs



"Dave Peterson" wrote:

=index(a2:a5,match(min(b2:b5),b2:b5,0))



confused_chris wrote:

I have a sheet that looks something like this...

Supplier Price Low Price Supplier Low Price
Jimmy's Widgets 10 7
Widget World 45
Widget Discount 7
Widget's R Us 35565

I am able to get "7" to come up as my low price with this function...
=MIN(B2:B5) but I want the name of the corresponding supplier to appear under
"Low Price Supplier". I have tried various combinations of IF, MATCH, etc.
with no success.

Help Please!!

Thanks,

Chris the excel peon


--

Dave Peterson