Hi everybody!
I have a list of people in column A and their marks in column B. I'm doing a LARGE function to find the five highest marks and then I'm also using an INDEX/MATCH to find the name that is in the adjacent cell (so that I have the name of the person that got the high mark). My problem comes when the INDEX/MATCH (and LARGE) functions find duplicate marks. For example, if both Sarah and Suzanne got a 8.3 and Sarah's name comes up first in the list, I'm going to get Sarah's name twice. Is there a formula I can use to prevent this from happening?
My formula is as follows:
.
When I drag to fill (and change the LARGE function's "k" number), I get Sarah's name twice, instead of getting Sarah first and Suzanne right below it (after I drag to fill). I guess this is very easy, but I have no idea how to fix this without using an overly complicated formula.
Thanks for your suggestions!
I have a list of people in column A and their marks in column B. I'm doing a LARGE function to find the five highest marks and then I'm also using an INDEX/MATCH to find the name that is in the adjacent cell (so that I have the name of the person that got the high mark). My problem comes when the INDEX/MATCH (and LARGE) functions find duplicate marks. For example, if both Sarah and Suzanne got a 8.3 and Sarah's name comes up first in the list, I'm going to get Sarah's name twice. Is there a formula I can use to prevent this from happening?
My formula is as follows:
Excel Formula:
=INDEX($A$1:$A$35,MATCH(LARGE($B$1:$B$35,2),$B$1:$B$35,0))
When I drag to fill (and change the LARGE function's "k" number), I get Sarah's name twice, instead of getting Sarah first and Suzanne right below it (after I drag to fill). I guess this is very easy, but I have no idea how to fix this without using an overly complicated formula.
Thanks for your suggestions!