Ranking a List of Numbers

In this article, we will learn how to use Rank function in Microsoft Excel and where we need to use it in data.

We use Rank formula to return ranking of any number in the data. Mostly we use rank formula to show the ranking of students, sales agent, etc.

Let’s take an example and understand how to use rank formula in Excel

We have monthly sales data in Excel and we want to announce winner and top 5 runner up of the month according to the sales amount. To evaluate employee’s performance, we have to see the ranking of every employee and only than we can judge who is the winner along with top 5 runner-ups.

 

image 1

 

To return the ranking in descending order, follow below given steps:-

  • Enter the formula in cell D2
  • =RANK(C2,C2:C20,0)
  • Press Enter
  • Copy formula in the range

 

image 2

 

We can see the ranking in column D. Rank 1 is appearing in front of Driscoll, his sales amount is high among all of the employees

Now we will highlight to winner with Green color and top 5 runner up with yellow color, follow below steps:-

  • Go to Home tab > Styles > Conditional Formatting
  • New Formatting rule’s dialog box will open
  • Click on Use a formula to determine which cells to format
  • Enter the formula =$D2=1

 

image 3

 

  • Apply formatting =$A:$1:$D$20 and click on Apply

 

image 4

 

  • Winner’s row will get highlighted

 

image 5

 

To highlight the top 5 runner up, follow below steps:-

  • Go to Home tab > Styles > Conditional Formatting
  • New Formatting rule’s dialog box will open
  • Click on Use a formula to determine which cells to format
  • Enter the formula =OR($D2=2,$D2=3,$D2=4,$D2=5,$D2=6)
  • Click on OK

 

image 6

 

  • Apply formatting =$A:$1:$D$20 and click on Apply

 

image 7

 

  • Top 5 runner rows will get highlighted with yellow color

 

image 8

 

This is the way we can use rank formula in our data to show the winner or loser in Microsoft Excel.

 

image 48
 

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

Comments

  1. What if we have to guys tops the league. Ex. A has 372 & B also has 372. C has 250....etc.
    Can we use above formula over here or any another formula. This is actually a case if duplicates and we can not remove them from list.
    Pls help, need your expert advice.

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.