
Return the rank of a value while averaging tied positions.
RANK.AVG returns the rank of a number in a list. The special part is tie handling. When multiple values are tied, Excel gives them the average of the ranks they would have occupied instead of giving them the same top rank style used by RANK.EQ.
That means the result can be a decimal. If two values would normally land in positions 2 and 3, RANK.AVG returns 2.5 for both. This makes the ranking feel more balanced when ties matter.
Returns the position of a value and averages the rank when ties occur.
The result is a rank, and it can be a decimal when tied values share a position.
=RANK.AVG(number, ref, [order])
number is the value you want to rank, ref is the full comparison list, and order controls direction. Leave order blank or use 0 for descending order, and use 1 for ascending order.
| Function | Main use | Best when |
|---|---|---|
RANK.AVG |
Average tie rank | You want ties to share the average of their occupied positions. |
RANK.EQ |
Equal tie rank | You want tied values to receive the same top rank style. |
LARGE |
Return the nth largest value | You want the value at a rank, not the rank of a value. |
SMALL |
Return the nth smallest value | You need ordered extraction rather than a leaderboard position. |
The practical difference between RANK.AVG and RANK.EQ is tie style. Both rank correctly, but they express ties differently.
This function is useful for scoreboards, standings, sales tables, turnaround times, or any list where ties should be treated more evenly. It is also helpful when the ranking will feed into later analysis and you want tie positions represented more smoothly than the equal-rank version.
Microsoft notes that if order is 0 or omitted, Excel ranks as if the list were sorted descending. If order is any nonzero value, Excel ranks as if the list were sorted ascending. Microsoft also notes that nonnumeric values in ref are ignored.
This is the default behavior, so the highest value gets rank 1.
=RANK.AVG(B1,$B$1:$B$10) // Returns the rank of B1 from highest to lowest.
Rank B1 within B1:B10. Formula: =RANK.AVG(B1,$B$1:$B$10).
Use order 1 when the smallest value should rank first.
=RANK.AVG(B1,$B$1:$B$10,1) // Returns the rank of B1 from lowest to highest.
Rank B1 from smallest to largest. Formula: =RANK.AVG(B1,$B$1:$B$10,1).
If two values tie, Excel averages the positions instead of assigning the same top rank pattern.
=RANK.AVG(B1,$B$1:$B$5) // Returns an averaged rank when ties exist.
See how a tied value gets an averaged rank. Formula: =RANK.AVG(B1,$B$1:$B$5).
This is a simple way to place one result inside a wider leaderboard.
=RANK.AVG(B1,$B$1:$B$10) // Returns the standing of B1 in the list.
Find the standing of a sale within the full list. Formula: =RANK.AVG(B1,$B$1:$B$10).
RANK.AVG ranks a value and averages tied positions.order or use 0 for descending rank.Tell your friends about this post