rskip
New Member
- Joined
- Nov 26, 2009
- Messages
- 44
- Office Version
- 365
- Platform
- Windows
Hello, I am needing to rank a table that has columns for Names, Point Totals, Avg Race Position, and Avg Qualify Position.
The ranking should be by largest point totals, however if there is a tie, the first tie breaker would be by lowest avg race position, and if still a tie, by lowest qualify position. I am having troubles coming up with the formula in column B (Point Ranking) that will return a unique Point Ranking number.
Thanks
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Driver Name[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="class: xl65, width: 83"]Point Ranking[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="class: xl65, width: 82"]Points Total[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="class: xl65, width: 82"]Avg Race Position[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="class: xl65, width: 82"]Avg Qual Postion[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Vance
[/TD]
[TD]1[/TD]
[TD]50[/TD]
[TD]1.0[/TD]
[TD]2.0[/TD]
[/TR]
[TR]
[TD]Ron[/TD]
[TD]2[/TD]
[TD]28[/TD]
[TD]3.5[/TD]
[TD]2.0[/TD]
[/TR]
[TR]
[TD]Darren[/TD]
[TD]3[/TD]
[TD]23[/TD]
[TD]4.5[/TD]
[TD]9.5[/TD]
[/TR]
[TR]
[TD]Scott[/TD]
[TD]4[/TD]
[TD]21[/TD]
[TD]5.0[/TD]
[TD]15.0[/TD]
[/TR]
[TR]
[TD]Steve[/TD]
[TD]5[/TD]
[TD]20[/TD]
[TD]5.5[/TD]
[TD]9.0[/TD]
[/TR]
[TR]
[TD]Robert[/TD]
[TD]6[/TD]
[TD]14[/TD]
[TD]6.5[/TD]
[TD]9.0[/TD]
[/TR]
[TR]
[TD]Jesse[/TD]
[TD]7[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[/TD]
[TD]19.0[/TD]
[TD]19.0[/TD]
[/TR]
[TR]
[TD]Tim[/TD]
[TD]22[/TD]
[TD]1[/TD]
[TD]20.0[/TD]
[TD]21.0[/TD]
[/TR]
[TR]
[TD]Dan[/TD]
[TD]23[/TD]
[TD]1[/TD]
[TD]22.0[/TD]
[TD]22.0[/TD]
[/TR]
</tbody>[/TABLE]
The first row of data starts in row 5, column A
The formula I used is:
=RANK.EQ($B5,$B$5:$B$54)+COUNTIFS($B$5:$B$54,$B5,$C$5:$C$54,"<"&$C5)+COUNTIFS($C$5:$C$54,$C5,$D$5:$D$54,"<"&$D5)
Positions 1-10, straight forward as the drivers have unique point totals, positions 11-14, they have the same point totals, however unique Avg Race positions. Where my formula does NOT work is for positions 15-23, all have 1 point and unique ave race positions, except for Daniel & Denzil in positions (which should be 16 & 17), here is where the 2nd tie breaker should be avg qual position, and Daniel with 9.0, and Denzil with 13.0 means Daniel should be ahead in position 16 and Denzil in position 17. Help please !
The ranking should be by largest point totals, however if there is a tie, the first tie breaker would be by lowest avg race position, and if still a tie, by lowest qualify position. I am having troubles coming up with the formula in column B (Point Ranking) that will return a unique Point Ranking number.
Thanks
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Driver Name[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="class: xl65, width: 83"]Point Ranking[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="class: xl65, width: 82"]Points Total[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="class: xl65, width: 82"]Avg Race Position[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="class: xl65, width: 82"]Avg Qual Postion[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]Vance
[/TD]
[TD]1[/TD]
[TD]50[/TD]
[TD]1.0[/TD]
[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]
[TR]
[TD]Daniel[/TD]
[TD]17[/TD]
[TD]1[/TD]
[TD]12.0[/TD]
[TD]9.0
[/TD]
[/TR]
[TR]
[TD]Denzil[/TD]
[TD]18[/TD]
[TD]1[/TD]
[TD]12.0[/TD]
[TD]13.0[/TD]
[/TR]
[TR]
[TD]Gerald[/TD]
[TD]18
[/TD]
[TD]1[/TD]
[TD]15.0[/TD]
[TD]8.0
[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]19[/TD]
[TD]1[/TD]
[TD]16.0[/TD]
[TD]18.0[/TD]
[/TR]
[TR]
[TD]Glen[/TD]
[TD]20[/TD]
[TD]1[/TD]
[TD]17.0[/TD]
[TD]12.0[/TD]
[/TR]
[TR]
[TD]Daryl[/TD]
[TD]21[/TD]
[TD]1[/TD]
[TD]19.0[/TD]
[TD]19.0[/TD]
[/TR]
[TR]
[TD]Tim[/TD]
[TD]22[/TD]
[TD]1[/TD]
[TD]20.0[/TD]
[TD]21.0[/TD]
[/TR]
[TR]
[TD]Dan[/TD]
[TD]23[/TD]
[TD]1[/TD]
[TD]22.0[/TD]
[TD]22.0[/TD]
[/TR]
</tbody>[/TABLE]
The first row of data starts in row 5, column A
The formula I used is:
=RANK.EQ($B5,$B$5:$B$54)+COUNTIFS($B$5:$B$54,$B5,$C$5:$C$54,"<"&$C5)+COUNTIFS($C$5:$C$54,$C5,$D$5:$D$54,"<"&$D5)
Positions 1-10, straight forward as the drivers have unique point totals, positions 11-14, they have the same point totals, however unique Avg Race positions. Where my formula does NOT work is for positions 15-23, all have 1 point and unique ave race positions, except for Daniel & Denzil in positions (which should be 16 & 17), here is where the 2nd tie breaker should be avg qual position, and Daniel with 9.0, and Denzil with 13.0 means Daniel should be ahead in position 16 and Denzil in position 17. Help please !