Returns the rank of a specified value in a dataset.
Sample Usage
RANK(A2,A2:A100)
RANK(4,A2:A100,1)
Syntax
RANK(value, data, [is_ascending])
-
value- The value whose rank will be determined.- If
datadoes not containvaluein any cell or element,RANKwill return the#N/Aerror.
- If
-
data- The array or range containing the dataset to consider. -
is_ascending- [ OPTIONAL -0by default ] Whether to consider the values indatain descending or ascending order.- If this is
0, the greatest value indatawill have rank1; if this is1, the least value indatawill have rank1.
- If this is
See Also
SMALL: Returns the nth smallest element from a data set, where n is user-defined.
QUARTILE: Returns a value nearest to a specified quartile of a dataset.
PERCENTRANK: Returns the percentage rank (percentile) of a specified value in a dataset.
PERCENTILE: Returns the value at a given percentile of a dataset.
MINA: Returns the minimum numeric value in a dataset.
MIN: Returns the minimum value in a numeric dataset.
MEDIAN: Returns the median value in a numeric dataset.
MAXA: Returns the maximum numeric value in a dataset.
MAX: Returns the maximum value in a numeric dataset.
LARGE: Returns the nth largest element from a data set, where n is user-defined.
AVERAGEA: Returns the numerical average value in a dataset.
AVERAGE: The AVERAGE function returns the numerical average value in a dataset, ignoring text.