• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

vlookup with max

turtel

New Member
Hi all,


I am trying to find a max value for a Results column (D14:D18) and getting the corresponding abnormality in the abnormality column (A14:A18). The abnormality column is in text. I tried =VLOOKUP(MAX(D14:D18),D14:D18,A14:A18,0)but was getting a #REF! as a result. Any help would be truly appreciated, thanks in advance.

RG
 
VLOOKUP needs the entire range (including reference) as 2nd argument, and col number as 3rd argument. However, you''ll also find that it can't "go left". We can resolve via INDEX and MATCH:

=INDEX(A14:A18,MATCH(MAX(D14:D18),D14:D18,0))
 
Back
Top