# Need to find the highest score and use a secondary score if duplicate high score

1. ## Need to find the highest score and use a secondary score if duplicate high score

I need to list the top three players based on their high score.
However in the event that there are duplicate high scorers I then need to use a secondary value.
The player with the duplicate highest score, and the lowest seconday value will be the higher scorer.

Players names are listed in A5:A24
Players scores are in Y5:Y24
Players secondary score is in Z5:Z24

Top 3 scores displayed in Y1:Y3
=IF(ROWS(\$Y1:Y\$1)<=3,LARGE(\$Y\$5:\$Y\$24,ROWS(\$Y1:Y\$1)),"")

Top 3 names of scorers displayed in AA1:AA3
{=IF(N(\$Y1),INDEX(\$A\$6:\$A\$25,SMALL(IF(\$Y\$6:\$Y\$25=\$Y1,ROW(\$Y\$6:\$Y\$25)-ROW(\$Y\$6)+1),COUNTIF(\$Y\$1:Y1,Y1))),"")}

Tip.xlsm

2. ## Re: Need to find the highest score and use a secondary score if duplicate high score

To do this well, more criteria is needed.

What if 4 or 5 or 6 players all have the top score? What if the secondary scores are the same too?

You need to consider all the possibilities to do this well.

3. ## Re: Need to find the highest score and use a secondary score if duplicate high score

I only need three top scores even if they are all duplicates. In the unlikely event that the players had identical secondary scores it does not matter
they can have either 1st place holder or 2nd. I understand what you are saying but it does not need to be that accurate. Thank you

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1