formula for sequential rank with duplicate numbers???

XLerific

New Member
Joined
Sep 11, 2008
Messages
9
I am trying to get the rank of a number in a list excluding duplicates. See below for sample data and result desired. If I use the rank formula, the results go from 1-8. I would like the results to be sequential instead so there are no numbers skipped. let me know of any ways to get around this - thanks!


# Desired Results Rank Formula
113 1 1
364 2 2
407 3 3
407 3 3
427 4 5
752 5 6
805 6 7
861 7 8
861 7 8
861 7 8
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
i currently just brought excel to a screeching halt, so I can't test this, but I've done it before, and here's how:

data in column A starting in cell 2
ranging in column B starting in cell 2
Code:
=max($B$2:B2)+if(B2=B1,1,0)
 
Upvote 0
unfort. I think this only works if the list is already in order. I put the data in order to better illustrate my problem but I'm trying to do this for a data list that will not already be in sequential order.

Thoughts?
Thanks!
 
Upvote 0
unfort. I think this only works if the list is already in order. I put the data in order to better illustrate my problem but I'm trying to do this for a data list that will not already be in sequential order.

Thoughts?
Thanks!

how about this?
=countif($A$1:$A$100,"<"&A1)
 
Upvote 0

Forum statistics

Threads
1,224,396
Messages
6,178,394
Members
452,844
Latest member
Shebl

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