Home › Functions › Compatibility › RANK
fx
RANK
Compatibility  ·  Since: Excel 2003  ·  9 languages

Returns 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.)

🌐 Translations

English RANK
Deutsch RANG
Français RANG
Español JERARQUIA
Italiano RANGO
Português ORDEM
Nederlands RANG
Polski POZYCJA
Русский РАНГ

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

RANK(number,ref,[order])

Arguments

number: (required) — The number whose rank you want to find.
ref:⁠ (required) — A reference to a list of numbers. Nonnumeric values in ref are ignored.
order:⁠ (optional) — A number specifying how to rank number. If order is 0 (zero) or omitted, Microsoft Excel ranks number as if ref were a list sorted in descending order. If order is any nonzero value, Microsoft Excel ranks number as if ref were a list sorted in ascending order.

▶ Examples

=RANK(A3,A2:A6,1)
=RANK(A2,A2:A6,1)

Related functions

Copied to clipboard