Determines the rank of a number within a list of numbers. This function will return the top rank in the list of numbers if more than one number has the same rank.
RANK.EQ(number, ref, [order])
number is required, and is the value that you want to use to determine the rank.
ref is required, and is the array or range of cells containing the list of numbers.
order is optional, and specifies the order of ranking.
0 or omitted: Ranks the numbers in descending order (highest value gets rank 1).
Any other value: Ranks the numbers in ascending order (lowest value gets rank 1).
Example:
If number, found in B1, contains 10 and ref, found in A1:A5, contains numbers 10, 15, 10, 20, 15:
RANK.EQ(B1, A1:A5)
returns 4
If number, found in B1, contains 10, ref, found in A1:A5, contains numbers 10, 15, 10, 20, 15 and order, found in B2, contains 1:
RANK.EQ(B1, A1:A5, B2)
returns 1
Result for example not using order is found in C1.
Result for example using order is found in C2.
A | B | C | ||
|---|---|---|---|---|
1 | 10 | 10 | 4 | |
2 | 15 | 1 | 1 | |
3 | 10 | |||
4 | 20 | |||
5 | 15 |
Scenario: A company wants to rank its sales representatives based on their total sales for the last quarter. The representative with the highest sales will receive a bonus.
Here is the table of sales data:
Representative | Total Sales | ||
|---|---|---|---|
A | B | ||
1 | Alex | $150,000.00 | |
2 | Brenda | $185,000.00 | |
3 | Charles | $120,000.00 | |
4 | David | $185,000.00 | |
5 | Emily | $210,000.00 | |
6 | Frank | $150,000.00 |
To determine the rank of each representative, you would use the RANK.EQ function in a new column. The formula for the first representative, Alex, would be:
RANK.EQ(B1, B1:B6, 0)
Let's break down the formula:
After applying this formula to all representatives, the table with the ranks would look like this:
Representative | Total Sales | Rank | ||
|---|---|---|---|---|
A | B | C | ||
1 | Alex | $150,000.00 | 4 | |
2 | Brenda | $185,000.00 | 2 | |
3 | Charles | $120,000.00 | 6 | |
4 | David | $185,000.00 | 2 | |
5 | Emily | $210,000.00 | 1 | |
6 | Frank | $150,000.00 | 4 |
Analysis of the results:
Using RANK.EQ, the company can quickly identify the top performer (Emily) to award the bonus and also see how other representatives compare to each other.
PRODUCT & FEATURES
RESOURCES
Terms | Privacy | Spam Policy
© 2026 Zapof