Formula to find 3 winners using 3 columns of data

kdlenort

Board Regular
Joined
May 17, 2010
Messages
102
Office Version
  1. 2013
I am trying to create a formula to find the winners of a tournament based on how many wins (column C), the winners score (column D) and the opponents score (column E).

The team numbers are listed in column A.
The players are listed in column B.

1 Larry/Tom 4 59 63
2 Terry/Dolan 3 66 59
3 Nick/Travis 5 69 52
4 James/Brent 5 64 61
5 Jay/George 2 50 66
6 Chris/Jordan 3 61 58
7 Del/Shawn 2 52 68
8 Kyle/Matt 4 61 55

Winners should be:
1. Team 3 with 5 wins and 69 points
2. Team 4 with 5 wins and 64 points
3. Team 8 with 4 wins and 61 points

I'm thinking possibly indexing but not sure how.

Any help is appreciated!


Thanks!!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
@KDLenort, I'm a little confused.

Why are some of the scores in D (winner's score) lower than the scores in E (opponent's score)?

Using your entry for Team 1 (first entry), are Larry and Tom playing together as one team? Or are they playing against one another?
 
Upvote 0
I assume what you're really after is a ranking of each team. The way to rank teams when tie-breakers are required is to add the various statistics together, all-the-while ensuring that each new tiebreaker is an appropriate order of magnitude smaller than the previous. In your case, I assume we will first rank by Wins, and if there are ties (like Teams 3 and 4) then we will rank by Winner's Score [and Winner's has an apostrophe], and if there are still ties then by Opponent's Score [and, of course, Opponent's has an apostrophe]. I guessed that the Winner's Score will never go over 100, and the same for the Opponent's Score, but those can be altered. The next step is to make a new statistic, which I called Grade (a column that can be hidden, if you like). Finally, all that needs doing is to Rank them by that statistic. Something like this:

ABCDEFG
1Max Winner's ScoreMax Oppenent's Score
2100100
3
4TeamNamesWinsWinner's ScoreOppenent's ScoreGradeRank
51Larry/Tom459634.59634
62Terry/Dolan366593.66595
73Nick/Travis569525.69521
84James/Brent564615.64612
95Jay/George250662.50668
106Chris/Jordan361583.61586
117Del/Shawn252682.52687
128Kyle/Matt461554.61553

<tbody>
</tbody>
Sheet6

Worksheet Formulas
CellFormula
F5=C5+D5/$D$2+E5/($D$2*$E$2)
G5=RANK.EQ(F5,$F$5:$F$12)

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
And if you don't know what the maximums will be in the various columns, you can use these formulas to calculate them.

DE
1Max Winner's ScoreMax Oppenent's Score
2100100

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet6

Array Formulas
CellFormula
D2{=10^MAX(LEN(D5:D12))}
E2{=10^MAX(LEN(E5:E12))}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try to enter the {} manually yourself.

<tbody>
</tbody>
 
Upvote 0
ErikTyler
The scores are in pickleball games and involve 8 teams (Team 1 is Larry and Tom) and at least 7 rounds of games (if not more).
 
Last edited:
Upvote 0
DRSteele Thanks.
I am not after the ranking of each team at this time. Thanks tho this might come in handy at a later time. all I need is a formula for 3 winners based on the 1st column then the second column and finally the 3rd column (if it comes into play).
 
Upvote 0
Hi
I tried out your ranking idea and I am getting #NAME? for the answers in column G.
Everything else is now you have your sheet set up.
Any idea why?

Update
I took out the .EQ and am coming up the same answers you did.

Thanks
 
Last edited:
Upvote 0
Thanks so much your ranking formulas did work to find 1st, 2nd and 3rd places.

Now I need a way to search the array to find rank 1 and bring the name of the team to cell B20, and rank 2 team name to cell B21 and rank 3 team name to cell B22.

I tried vlookup formula but it's throwing out a #NA error.
 
Last edited:
Upvote 0
I was able to work it out with (index/match)

INDEX($H$5:$H$12,MATCH(1,$G$5:$G$12,0))
I changed the number in the MATCH to 2 for 2nd place and 3 for 3rd place. All working now.

Thanks so much everyone!!
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,457
Members
449,161
Latest member
NHOJ

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top