issue with Rank formula with duplicate ranks

lokeshsu

Board Regular
Joined
Mar 11, 2010
Messages
178
Hi all,

i am using a rank formula to calculate the rank and i have multiple same values so i am using the below formula

Code:
=IF(COUNTIF($A4:K4,K4)=1,RANK(K4,$A4:$Y4,1),RANK(K4,$A4:$Y4,1)+COUNTIF($A4:K4,K4)+1)

it works for some data but not all any issue with the formula

thanks
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
have a look here
Ranking Data In Lists

unique ranking
Acesnding
=COUNT($A$1:$A$5)-(RANK(A1,$A$1:$A$5)+COUNTIF($A$1:A1,A1)-1)+1

Descending
=RANK(A1,$A$1:$A$5,0)+COUNTIF($A$1:A1,A1)-1


 
Upvote 0
Hi all,

i am using a rank formula to calculate the rank and i have multiple same values so i am using the below formula

Code:
=IF(COUNTIF([COLOR="#FF0000"]$A4:K4[/COLOR],K4)=1,RANK(K4,$A4:$Y4,1),RANK(K4,$A4:$Y4,1)+COUNTIF($A4:K4,K4)+1)

it works for some data but not all any issue with the formula

thanks

Don't you mean A4:Y4
 
Upvote 0
Hi all,

i am using a rank formula to calculate the rank and i have multiple same values so i am using the below formula

Code:
=IF(COUNTIF($A4:K4,K4)=1,RANK(K4,$A4:$Y4,1),RANK(K4,$A4:$Y4,1)+COUNTIF($A4:K4,K4)+1)

it works for some data but not all any issue with the formula

thanks

Given:

364467

<colgroup><col style="width: 48pt;" span="6" width="64"> <tbody>
</tbody>

What are the the expected results?
 
Upvote 0

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

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