RANK_AVG

Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the average rank of the entries will be returned.

Parameter List

Syntax
RANK_AVG(valuedata
[is_ascending]
)
value

The value whose rank will be determined.

data

The array or range containing the dataset to consider.

[optional] is_ascending

Optional. Whether to consider the values in data in descending or ascending order. Default is 0.

More details

RANK_AVG returns the rank of a specified value in a dataset.

Examples

RANK_AVG(85, [90,85,85,80]) returns 2.5
🍪

We use cookies to enhance your user experience and analyze website performance. You can revoke consent anytime. Learn more.