RANK function
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.)
Syntax
RANK(number, ref, [order])Square brackets indicate optional arguments.
Arguments
| Argument | Required | Meaning |
|---|---|---|
| number | Yes | Required. The number whose rank you want to find.A3 |
| ref | Yes | Required. A reference to a list of numbers. Nonnumeric values in ref are ignored.A2:A6 |
| order | No | 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.1 |
Try RANK
Read the legacy RANK function name
=RANK(A5,A2:A6,0)RANK is the compatibility name corresponding to RANK.EQ. Rank an amount from largest to smallest. The result is checked against a separately authored expected value for the supplied table. You can edit the data to explore the rule. Use the modern name when creating a new formula; the old spelling is useful when reading existing workbooks.
Inspect the current formula
Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.
Read the formula, one argument at a time
Explore the written function calls and their inputs. The calculation result belongs to the complete formula.
RANK · top-level call
=RANK(A5,A2:A6,0)Follow the cells behind a result
Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.
The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.
Reference and compatibility
Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.