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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
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,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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