Strange Ranking Requirement

petewally1976

New Member
Joined
Nov 14, 2017
Messages
2
Hi, I'm new here (fairly basic Excel skills but trying to improve) so go easy on me!

I'm doing a spreadsheet for a gymnastics competition. I have the following data and I want to highlight the top 3:

[TABLE="width: 183"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Bars Score[/TD]
[TD]Bars Ranking[/TD]
[/TR]
[TR]
[TD]Holly[/TD]
[TD="align: right"]8.0[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]Emma[/TD]
[TD="align: right"]4.5[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]Elsie[/TD]
[TD="align: right"]4.9[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]Jane[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Helen[/TD]
[TD="align: right"]8.3[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]Sarah[/TD]
[TD="align: right"]9.9[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Sam[/TD]
[TD="align: right"]9.9[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Hayley[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Imogen[/TD]
[TD="align: right"]3.8[/TD]
[TD="align: right"]10[/TD]
[/TR]
[TR]
[TD]Bethany[/TD]
[TD="align: right"]8.3[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]


Here I have used the standard ranking and then I would use conditional formatting to highlight the 'bottom 3' in the "Bars Ranking" column (yes I know I could just highlight the top 3 in the "Bars Score" column.

However, what the gym club want is for ties to be handled differently so that in this example, Sarah and Sam are joint first then Jane and Hayley are joint 2nd (NOT 3rd) and Helen and Bethany are joint 3rd (NOT 5th). Holly would then be classed as 4th etc. I know it doesn't make a lot of sense but this is what I've been asked for.

Any idea how I can achieve this?

Many thanks.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi, welcome to the forum, here is one way you can try, pay special attention to the array formula instructions at the bottom of the example.


Excel 2013/2016
ABC
1NameBars ScoreBars Ranking
2Holly8.04
3Emma4.56
4Elsie4.95
5Jane8.42
6Helen8.33
7Sarah9.91
8Sam9.91
9Hayley8.42
10Imogen3.87
11Bethany8.33
CALCS 2
Cell Formulas
RangeFormula
C2{=1+SUM(0+(FREQUENCY(IF($B$2:$B$11>B2,$B$2:$B$11),$B$2:$B$11)>0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Great, good to hear :)

It's effectively getting a unique count of the scores that are higher than itself, it's ranking is then 1+ that count (i.e. 1 lower) so if none are higher it's rank is 0+1.

If you do an internet search for "Excel unique count with condition" you'll probably find quite a few hits that have descriptions of what is going on.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

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