Rank

Excel is loaded with many functions that you may not be aware of.

You can use RANK to automatically rank your results.

The exercise and the result are both in the Rank file.

Here is our data.  Let's rank the salespeople.

Here is the ranked result:

The formula is =RANK(B2,sales).  There are three parts:

Here is the ascending order version.  Same formula, except for the change at the end:    =RANK(B2,sales,1)

Now let's get nitpicky and fix it with a very advanced formula.  What about ties?  Notice in the descending rank, we had two people with the same sales and ranked them 7.  But suppose you say, well they tied, so let's adjust the ranking.

We will make you happy and throw in a "T" beforehand with a little trick.  Here is the result:

Here is the formula-  {=IF(SUM(1*(B8=sales))>1,"T" & RANK(B8,sales),RANK(B8,sales))}

Let's break it down:

Once again, with the advanced formulas, even if you don't fully understand it, you have it on the web via our website and it is yours to use to cut and paste.

Two pointers to make it work:

Rank is a neat function in Excel to show automatically how certain values rank.  Enjoy.

Return To Excel Tips Index