View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sean Timmons Sean Timmons is offline
external usenet poster
 
Posts: 1,696
Default MIN/MAX and Lookup

=INDEX(A1:A3,MATCH(MAX(B:B),B:B,0),1)&" "&MAX(B:B)

=INDEX(A1:A3,MATCH(MIN(B:B),B:B,0),1)&" "&MIN(B:B)

"Stacy C" wrote:

Good afternoon,

This is a bit complicated, I think, but in short, I would like to be able to
pick out the highest and lowest values from a column, and populate them in
another field. Example:

Column A Column B
1| Car 15
2| Apple 12
3| Dog 4

So A & B1 would be the highest (Car 15)
And A & B3 would be the lowest (Dog 4)

How could I get a formula that would look at the highest value in B, match
it up with the corresponding value in A, and then show both?

Thank you,
Stacy