Skip to content

How to Use Excel RANK.AVG Function?

Listen to this article.
RANK.AVG FunctionPin
RANK.AVG Function

Excel RANK.AVG Function: Sometimes, we maintain huge data in the Excel spreadsheet and want to rank them. Doing this manually will take a lot of time. But you can use the RANK.AVG function to rank the set of numbers. And it will finish the work as quickly as possible.

In this post, we are going to explore how to use Excel RANK.AVG Function with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:

Excel RANK.AVG FunctionPin
Excel RANK.AVG Function

Explanation of RANK.AVG Function

  • It is one of the built-in functions in Microsoft Excel.
  • This function returns the rank of a number from a list of numerical values.
  • If more than one value has the same rank, then this function returns the average rank.


  • Here, you will see the syntax of the RANK.AVG function.
  • To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
  • Once you enter the formula, just click on the Enter button to get the result.

=RANK.AVG(number, ref, [order])

Arguments Explanation:

  • Number –  The number to rank.
  • Ref – It is the array that contains a set of numeric values.
  • Order – It is an optional one. If the order is 0 or omitted, it will sort the array in descending order. If the order is a non-zero value and then it will sort the array in ascending order.

1) If either of the argument is non-numeric and then this function returns #VALUE! Error.
2) If there are no arguments in the array, it will return #N/A! Error.


Let’s see some examples to understand this concept easily.

  • Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
  • For example, we have shown you a student’s marks in the range B3:B9 and we will get the rank of each number in the range using the RANK.AVG function.
Input RangePin
Input Range
  • Then, we have to apply the above-mentioned formula to get the result, as shown in the following screenshot.
Enter the formulaPin
Enter the formula
  • Finally, we need to click on the Enter button to get the result. Then, you will need to drag down the first cell to fill the remaining range of cells.
  • If either of the argument is non-numeric and then this function returns #VALUE! Error.
Value ErrorPin
Value Error

From the above example, you can see that the RANK.AVG function does not accept any non-numerical values as input. If you use any non-numerical value, then it returns the #VALUE! Error.


In this article, you can understand the usage of Excel RANK.AVG Function with its syntax, explanation, and examples. Drop your feedback in the comment section. To learn more about Excel functions, then visit our webpage

Video Tutorial

The following video will show you how to apply Excel RANK.AVG function in the worksheet.

See Also:


Leave a Reply

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

Share to...