Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I match a string column with a corresponding number column showing the string in Excel 2007?

For example:

Col A       Col B
Mr X        50
Mr Y        100
Mr Z        150

"Show the person who has Max value from Col B". I want Mr Z to show up in my cell?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

I'd transpose the columns and use VLOOKUP.

Col A    Col B  
50       Mr X
100      Mr Y   
150      Mr Z



VLOOKUP(Max(A:A),A:B,2,FALSE)

This assumes unique values in Col A, though.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.