formula for sequential rank with duplicate numbers???

XLerific

New Member
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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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)``

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!

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!

=countif(\$A\$1:\$A\$100,"<"&A1)

Replies
6
Views
2K
Replies
7
Views
206
Replies
2
Views
716
Replies
1
Views
368
Replies
1
Views
689

1,196,235
Messages
6,014,154
Members
441,807
Latest member
sjkenjalo

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.

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

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