Using rank with duplicative values

sjuhl99

New Member
Joined
Jul 28, 2017
Messages
26
Hi, I am trying to rank the data below using the duplicative values in column A. So for instance 1061012 has 3 values in column B (10.87%, 11.89% and 10.66%), i want to rank those 1-3 then start over with the values for 1061414 (1-3). I have written some count ifs but not sure how to rank column B within that. My data set is much bigger than below, just a snipet of data. Please help if you can. thanks



FCST_1_ID% Customer DMD (Base Units)
106141210.87%
106141211.89%
106141210.66%
106141411.06%
106141413.42%
106141412.66%
10614159.32%
106141512.84%
106141511.54%

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
The data must be sorted by column A and must start in row 2

Use the following formula

CellFormula
C2=RANK(B2,INDIRECT("B"& MATCH(A2,$A$1:$A$10,0) & ":B" & SUMPRODUCT(MAX(($A$2:$A$10=A2)*(ROW($A$2:$A$10))))))

<tbody>
</tbody>

Change 10 to the last row number with data. Then copy the formula down.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,521
Messages
6,125,307
Members
449,218
Latest member
Excel Master

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