Ranking duplicates the same rank without breaking sequence in Excel

Best Online Course : SAS Programming with 50+ Case Studies

- Explain Programming Concepts in Simple English
- Live Projects & Case Studies
- Job Placement Assistance
- Get 20% off till July 14, 2017

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


Excel Tutorials : 100 Excel Tutorials

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has close to 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains like retail and commercial banking, Telecom, HR and Automotive.


While I love having friends who agree, I only learn from those who don't.

Let's Get Connected: Email | LinkedIn

Get Free Email Updates :
*Please confirm your email address by clicking on the link sent to your Email*

Related Posts:

1 Response 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

Next → ← Prev