FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

RANK in Google Sheets

RANK with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the RANK Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Descending rank

A
1Score
290
380
470

Formula: C2: =RANK(A3,A2:A4)

Result: 2

Eighty is second when the largest score ranks first.

Ascending rank

A
1Time
212
310
414

Formula: C2: =RANK(A2,A2:A4,1)

Result: 2

In ascending order, 10 ranks first and 12 ranks second.

Ties skip the next rank

A
1Score
290
380
480
570

Formula: C2: =RANK(A5,A2:A5)

Result: 4

The two 80s share rank 2, so the next score, 70, is ranked 4, not 3.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =RANK(C2,C2:C7)

Example spreadsheet for RANK
ABCDEF
1RegionProductUnitsPriceResult
2EastPen1202.51
3WestPen802.5
4EastBook4512
5NorthBook6012
6WestLamp3025
7EastLamp1525
Result in F2: 1
Practice this in a lesson: MEDIAN, LARGE, RANK

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.