MIN/MAX and Lookup

S

Stacy C

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
 
T

T. Valko

Try this:

D1: =MAX(B1:B3)
D2: =MIN(B1:B3)

E1 and copied down to E2:

=INDEX(A$1:A3,MATCH(D1,B$1:B$3,0))
 
S

Sean Timmons

=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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top