← All functions

RANK

Supported, behaves as documented

Category: Compatibility · Last tested 2026-07-04

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc Yes Yes (24.2.7.2, 2026-07-04) Supported, behaves as documented

Executed test cases

LibreOffice Calc 24.2.7.2 (tested 2026-07-04)

FormulaDescriptionResultExpectedVerdict
=RANK(30,A1:A5) Default/omitted order ranks descending (largest=1) 2 2
Only 40 is greater than 30, so 30 is rank 2
Matched
=RANK(30,A1:A5,1) Nonzero order argument ranks ascending (smallest=1) 4 4
10,20,20 are all less than 30, so 30 is rank 4 ascending
Matched
=RANK(20,A1:A5) Tied values share the same (best/top) rank 3 3
Two values (30,40) exceed 20, so both 20s tie for rank 3; rank 4 is skipped entirely
Matched

Docs & syntax