Ranking Data within Excel

jimmybangs

New Member
Joined
Nov 28, 2008
Messages
36
Hi,

I'm looking for a solution to rank data within excel but with a bit of a difference in that i would like the rank to only be between 1 and 10 and go to three decimal places...The numbers range from 50 to around 100000.

Has anybody got any ideas?

I've tried percentile ranking and standard deviation but maybe i'm doing it wrong?

Thanks,

James
 

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.
OK. So, do you want the first one to be ranked 1, the LAST one to be ranked 10, and everything between some decimal such as 5.678 ?
 
Upvote 0
If your numbers are in column A, try this
Code:
=(((RANK(A4,A:A,1)-1)/(COUNT(A:A)-1))*9)+1

This will give you a decimal ranking, such as 1.2345678

If you want to convert this to 1.235
EITHER
format it to show 3 decimal places, but leave the underlying value unchanged
OR
wrap the formula within one of the ROUND functions, like this
Code:
=ROUND((((RANK(A2,A:A,1)-1)/(COUNT(A:A)-1))*9)+1,3)

If there are duplicate values in your data, this formula will give them the same ranking.

Also, be aware that you will get duplicate rankings from different values, after you've rounded the formula, if you have more than 10,000 different numbers in your data set.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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