RANK function - Rank function in Excel - Usage and examples

The RANK function arranges equal numbers of the same rank. However, the duplication will affect the ranking of subsequent numbers. For example, you have the sequence number: 1,2,2,3,4 and are arranged in ascending order, so the order of the number 1 in the series is 5.

Picture 1 of RANK function - Rank function in Excel - Usage and examples

RANK function syntax and usage

Function syntax: = RANK (number, ref, [order]) .

Inside:

  1. RANK: is the name of the function used to return the rank of a number in a list of numbers.
  2. Number: is the number you want to find the rank.
  3. Ref: is an array or reference to a list of numbers. Non-numeric values ​​in the array are ignored.
  4. Order: optional value.
  5. If Order is 0 or the user omits no fill, then the RANK function will sort in descending order (the largest number ranks 1).
  6. If Order is a value other than zero, then the RANK function will sort in ascending order.

Note:

  1. The RANK function arranges equal numbers of the same rank. However, the duplication will affect the ranking of subsequent numbers. For example, you have the sequence number: 1,2,2,3,4 and are arranged in ascending order, so the order of the number 1 in the series is 5.
  2. In some cases, users need to determine rankings that take into account (peer). You can use a combination of COUNT and RANK rows as the example below that the Software Tips will give below.

For example

You have the sales table as the following image:

Picture 2 of RANK function - Rank function in Excel - Usage and examples

You need to rank the sales of your affiliates and your quarters in ascending rankings.

So in cell F3 you enter the formula: = RANK (E3, $ E $ 3: $ E $ 12,0) . And copy the formula for the remaining cells in column F. The result is as follows:

Picture 3 of RANK function - Rank function in Excel - Usage and examples

To rank in order from small to large, you change the above formula with:

So in cell F3 you enter the formula: = RANK (E3, $ E $ 3: $ E $ 12,1) .

Picture 4 of RANK function - Rank function in Excel - Usage and examples

Use a combination of rows COUNT and RANK to rank in descending and continuous order (including duplicate values). In cell F3, enter the formula: = RANK (E3, $ E $ 3: $ E $ 12) + COUNTIF ($ E $ 3: E3, E3) -1. Copy the formula for the cells in column F. The result is:

Picture 5 of RANK function - Rank function in Excel - Usage and examples

Above Software Tips showed you how to use the RANK function in Excel to look up the rank of a number in a series of numbers. Good luck!.

You've just finished reading the article "RANK function - Rank function in Excel - Usage and examples" edited by the TipsMake team. You can save rank-function-rank-function-in-excel-usage-and-examples.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

« PREV : PI (PI Function) in...
How to round whole... : NEXT »