# RANK.AVG Function

The RANK.AVG function is one of the statistical functions. It is used to return the rank of a number in a list of numbers. The rank of a number is its size relative to other values in a list (if you were to sort the list, the rank of the number would be its position). If more than one value has the same rank, the average rank is returned.

The RANK.AVG function syntax is:

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

where

number is the value you want to find the rank for.

ref is the selected range of cells containing the specified number.

order is the numeric value that specifyes how to order the ref array. It is an optional argument. If it is 0 or omitted, the function ranks number as if ref were a list sorted in descending order. Аny other numeric value is treated as the value 1 and the function ranks number as if ref were a list sorted in ascending order.

To apply the RANK.AVG function,

1. select the cell where you wish to display the result,
2. click the Insert Function icon situated at the top toolbar,
   or right-click within a selected cell and select the Insert Function option from the menu,
   or click the icon situated at the formula bar,
3. select the Statistical function group from the list,
4. click the RANK.AVG function,
5. enter the required arguments separating them by commas,
6. press the Enter button.

The result will be displayed in the selected cell.