RANK Function In Excel
In this Article
This Excel Tutorial demonstrates how to use the Excel RANK Function in Excel to rank a number within a series, with formula examples.
RANK Function Description:
The RANK Function Rank of a number within a series.
Syntax and Arguments:
The Syntax for the RANK Formula is:
Function Arguments ( Inputs ):
number – The number that you wish to determine the rank of.
ref – An array of numbers.
order – OPTIONAL. A number indicating whether to rank descendingly (0 or Ommitted) or ascendingly (non-zero number)
RANK Examples in VBA
You can also use the RANK function in VBA. Type:
For the function arguments (number, etc.), you can either enter them directly into the function, or define variables to use instead.
Return to the List of all Functions in Excel
How to use the RANK Function in Excel:
To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=RANK(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
For more information about the RANK Formula visit the