This article below introduces you to the RANK.AVG function - one of the functions in the statistical group widely used in Excel.

Description: The function returns the rank of a number in a list of numbers, considering the size of the number relative to other values. If multiple values share the same rank, the function returns the average rank. Supported in Excel since 2010.
Syntax: RANK.AVG(number, ref, [order])
In detail:
- number: The value you want to find the rank of, which is a required parameter.
- ref: An array or reference to a list of numbers, which is a required parameter.
- order: A number indicating how the ranks are sorted, which is an optional parameter.
Note:
- If order is omitted -> the function defaults to ranking the ranks in descending order.
- If order ≠ 0 -> the function defaults to ranking the ranks in ascending order.
Example:
Determine the ranking of the value 66 in the data array described below:

- Determine the ranking of the value 66 in descending order. In the cell where you want to calculate, enter the formula: =RANK.AVG(D6,D7:J7,D8)

- Press Enter -> the ranking of the value 66 is:

- Determine the ranking of the value 66 in ascending order. In the cell where you want to calculate, enter the formula: =RANK.AVG(D6,D7:J7,D8) -> Press Enter -> the returned value is:

So with 2 different sorting methods -> the rank of the same value differs.
So with the value order ≠ 0-> the array is sorted in ascending order.
- In case of 2 identical values having the same rank -> the function returns the average rank:

Above is the guide and some specific examples of using the RANK.AVG function in Excel.
Wishing you all success!
