ReferenceFunctionsStatistics Functions
RANK.AVG
RANK.AVG: Returns the rank position of a number, averaging the rank positions for ties.
Summary
Use RANK.AVG when tied values should share the average of their occupied rank positions.
Remarks
- Omitting
order, or settingorderto0, ranks values in descending order. - Any non-zero
orderranks values in ascending order. - If
numberappears multiple times, the function returns the mean of those rank positions. - Returns
#N/Aifnumberis not found inref.
Examples
Average rank for tied values
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
2.5
Ascending average rank from a range
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
3.5
Related functions
FAQ
How are ties handled by RANK.AVG?
All tied occurrences share the average of their rank positions.
Runtime metadata
Category
Statistics
Signature
RANK.AVG(arg1, arg2, ... argN: Number (Range))This function accepts a repeating argument pattern (min args: 2).
Arity
min 2, max variadic
Arguments
arg1Number · Range · coercion NumberLenientText
Caps
PURENUMERIC_ONLY
Source