Cellgrids Cellgrids
Home › Excel formulas › Statistical › RANK

RANK Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

RANK is an Excel Statistical function. Returns the rank of a number within a list of numbers.

RANK syntax

=RANK(number, ref, [order])

Arguments

When to use RANK

RANK is used in data analysis work to summarize or test patterns across a data set.

Practice RANK online, free

Open the live Excel-style spreadsheet and try RANK yourself. No Excel install or sign-up needed to start.

Practice RANK now →

Learn more

Read the tutorial: How to rank values in Excel.

More Statistical functions

Frequently asked questions

What does the RANK function do in Excel?

Returns the rank of a number within a list of numbers.

What is the syntax of RANK in Excel?

The syntax is =RANK(number, ref, [order]). number: A number to use in the calculation; ref: The list of numbers to compare against; order: Whether to rank in ascending or descending order (optional).

Where can I practice RANK online for free?

Open the free live spreadsheet on Cellgrids and try RANK yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Statistical functions · Excel case studies · Excel tutorials · Excel shortcuts