# RANK Function

The RANK 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).

The RANK function syntax is:

RANK(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 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 function,
5. enter the required arguments separating them by commas,
6. press the Enter button.

The result will be displayed in the selected cell.