Ranking with ties

gchandler

New Member
Joined
May 21, 2015
Messages
49
I'm trying to work out a formula for ranking but the data i need to rank contains a ton of ties. basically i have a 3 way tie for 1st, a 11 way tie for 2nd, a 8 way tie for 3rd, a 9 way tie for 4th, etc and its making my ranking look confusing. rather than the 4th place rank showing as "4", its returning 23 because there are 22 values ranked 1st through 3rd.

current rank
4
4
40
4
4
1
4
23
15
23
23
23
4
23
39
23
1
4
4
4
41
37
4
4
23
33
23
32
38
33
23
33
33
1
15
15
15
15
15
15
15

vs

what I would like
2
2
10
2
2
1
2
4
3
4
4
4
2
4
9
4
1
2
2
2
11
7
2
2
4
6
4
5
8
6
4
6
6
1
3
3
3
3
3
3
3




hopefully someone knows a solution for this. any help would be greatly appreciated.
 
Last edited:

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
If you have data in B2:B24 then use this formula in C2

=SUM(IF(FREQUENCY(IF(B$2:B$24>B2,B$2:B$24),B$2:B$24),1))+1

confirm with CTRL+SHIFT+ENTER and copy down

This will rank the highest values as 1, if the lowest values should be 1 then change > to <
 
Upvote 0
Barry,

I believe it should be "<" instead of ">".

EDIT:
Sorry, missed your last remark.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,639
Messages
6,125,971
Members
449,276
Latest member
surendra75

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