Ranking duplicates the same rank without breaking sequence in Excel

Suppose you have data for students' names with their mathematics scores. Some students got same percentage so they would get the same rank. Your task is to rank them on the basis of their scores without breaking sequence.

In the example shown below, highlighted ones are the students with their same scores.


For descending rank :

In cell D3, type the following formula

=SUMPRODUCT(($C$3:$C$10>$C3)/COUNTIF($C$3:$C$10,$C$3:$C$10))+1

For ascending rank :

In cell E3, type the following formula

=SUMPRODUCT(($C$3:$C$10<$C3)/COUNTIF($C$3:$C$10,$C$3:$C$10))+1

Spread the Word!
Share
Related Posts
About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 10 years of experience in data science. During his tenure, he has worked with global clients in various domains like Banking, Insurance, Private Equity, Telecom and Human Resource.

2 Responses to "Ranking duplicates the same rank without breaking sequence in Excel"
  1. Hello..This is very helpful to me in ranking a range which has duplicate values. But when I copy the rank to another blank excel with values I get decimal value also ..For Ex. rank 3 showing as 3.000012 and 4 as 4.000036 aswell..how can I prevent this and get only the rank as 3 and 4 ..How to resolve it without a Round(,0)function wrapped your formula? BJ

    ReplyDelete
  2. thanks , this solved a big problem ,

    ReplyDelete

Next → ← Prev

Looks like you are using an ad blocker!

To continue reading you need to turnoff adblocker and refresh the page. We rely on advertising to help fund our site. Please whitelist us if you enjoy our content.