Forum Discussion

David Attard's avatar
David Attard
Copper Contributor
Sep 04, 2017
Solved

Using Excel lookup based on multiple criteria

Hi All, Please help me as i am frustrated to the point of giving up.   I am trying to use excel to lookup a value, based on that value look with another cell and find the highest number associated...
  • Yury Tokarev's avatar
    Sep 04, 2017

    Hi David,

     

    please see attached for the sample solution. For the second highest rep I used the following formula (array entered):

    {=INDEX($E$2:$E$500,LARGE(IF($C$2:$C$500=K1,ROW($C$2:$C$500)-ROW(INDEX($C$2:$C$500,1,1))+1),2))}

    Similarily, for the second highest weight I used

    {=INDEX($F$2:$F$500,LARGE(IF($C$2:$C$500=K1,ROW($C$2:$C$500)-ROW(INDEX($C$2:$C$500,1,1))+1),2))}

     

    Hope this helps

    Regards

    Yury 

     

     

Resources