RANK vs. RANK.EQ vs. RANK.AVG: Which Excel Function to Use

Key Takeaways

- The original RANK function is now a compatibility function and may disappear in future Excel versions
- RANK.EQ gives tied values the same rank, while RANK.AVG averages tied positions
- RANK.EQ is mathematically identical to the old RANK but uses clearer naming
If you've ever typed RANK into Excel and watched the autocomplete suggest three different options, you're not alone in your confusion. A rank is a rank, right? Not quite. Microsoft's three ranking functions differ in how they handle ties, and picking the wrong one can quietly skew your results.
Why Microsoft Split One Function Into Three
The original RANK function was Excel's default ranking tool for decades. It returns the position of a number within a list. Simple enough. But Microsoft now classifies it as a "compatibility" function. The software keeps it around so older workbooks don't break, but it's no longer recommended. Microsoft's documentation notes it may not be available in future Excel versions.
The problem wasn't that RANK was broken. It was too vague. When two values tie for a position, what rank should they get? The old function had an answer, but its name didn't tell you what that answer was.

In 2010, Microsoft introduced two replacement functions with clearer names: RANK.EQ and RANK.AVG. The "EQ" stands for equal. The "AVG" stands for average. Now users know exactly what they're choosing.
How RANK.EQ Works
RANK.EQ is the direct replacement for the old RANK function. They're mathematically identical. When two values tie, both get the same rank, and the next rank is skipped.
Say you're ranking salespeople by revenue. If two people both have $50,000 in sales and tie for second place, RANK.EQ gives them both a rank of 2. The next person gets rank 4. There's no rank 3.
The syntax is straightforward:
=RANK.EQ(number, ref, [order])- number: the value you want to rank
- ref: the range of values to rank against
- order: optional. 0 or omitted for descending (largest = 1). 1 for ascending (smallest = 1).

This is the function to use when you want ties to share the same position. It's common for leaderboards, sales rankings, and competition standings.
How RANK.AVG Works
RANK.AVG handles ties differently. Instead of giving tied values the same rank and skipping the next one, it averages the positions they would have occupied.
Using the same sales example: if two people tie for second and third place, RANK.AVG gives them both a rank of 2.5. The next person gets rank 4. No position is skipped, but the tied ranks aren't whole numbers.
The syntax is identical to RANK.EQ:
=RANK.AVG(number, ref, [order])
RANK.AVG is useful when you need statistical accuracy over display simplicity. It's common in academic grading, survey analysis, and anywhere fractional ranks are acceptable.
When to Use the Old RANK Function
The only reason to use RANK today is backward compatibility. If you're working on a file that will be opened in Excel 2007 or earlier, the newer functions won't work. The old RANK function is your only option.
If you're on Microsoft 365, Excel 2010, or anything newer, skip RANK entirely. Use RANK.EQ or RANK.AVG depending on how you want ties handled.
| Function | Tie Handling | Example Result (tie for 2nd/3rd) | Use Case |
|---|---|---|---|
| RANK | Same rank, skip next | Both get 2, next gets 4 | Legacy files only |
| RANK.EQ | Same rank, skip next | Both get 2, next gets 4 | Leaderboards, competitions |
| RANK.AVG | Average positions | Both get 2.5, next gets 4 | Statistical analysis, grading |
A Practical Example
Imagine you have a table with salespeople in column A, regions in column B, and revenues in column C. You want to add a rank in column D.

In cell D2, enter:
=RANK.EQ(C2, $C$2:$C$10, 0)The dollar signs lock the reference range so you can copy the formula down the column. The 0 means descending order, so the highest revenue gets rank 1.
If you'd prefer averaged ranks for statistical purposes, swap RANK.EQ for RANK.AVG. The syntax stays the same.
Logicity's Take
Common Mistakes to Avoid
- Forgetting to lock the reference range with dollar signs. Your ranks will be wrong when you copy the formula down.
- Using RANK.AVG when you need whole-number ranks for display. Decimal ranks confuse readers.
- Assuming RANK is the "standard" function. It's deprecated. Use RANK.EQ instead.
Frequently Asked Questions
What is the difference between RANK and RANK.EQ in Excel?
They're mathematically identical. RANK.EQ is the modern replacement with a clearer name. Both give tied values the same rank and skip the next position.
When should I use RANK.AVG instead of RANK.EQ?
Use RANK.AVG when you need statistically accurate rankings and can accept decimal values. It averages the positions that tied values would have occupied.
Is the RANK function being removed from Excel?
Microsoft classifies it as a compatibility function and notes it may not be available in future versions. For new work, use RANK.EQ or RANK.AVG.
How do I rank from lowest to highest in Excel?
Set the order argument to 1. For example: =RANK.EQ(A2, $A$2:$A$10, 1) ranks the smallest value as 1.
Why do my Excel ranks have decimal points?
You're using RANK.AVG. It averages tied positions, which can produce non-integer ranks like 2.5. Switch to RANK.EQ for whole numbers.
Need Help Implementing This?
Source: How-To Geek
Manaal Khan
Tech & Innovation Writer
Related Articles
Browse all
How to Jailbreak Your Kindle: Escape Amazon's Control Before They Brick Your E-Reader
Amazon is cutting off support for older Kindles starting May 2026, but you don't have to buy a new device. Jailbreaking your Kindle lets you install custom software like KOReader, read ePub files natively, and keep your e-reader alive for years to come.

X-Sense Smoke and CO Detectors at Home Depot: UL-Certified Alarms You Can Actually Trust
X-Sense just made their UL-certified smoke and carbon monoxide detectors available at Home Depot stores nationwide. The lineup includes wireless interconnected models that can link up to 24 units, 10-year sealed batteries, and smart features designed to cut down on those annoying false alarms that make people disable their detectors entirely.

How to Change Your Browser's DNS Settings for Faster, Private Browsing in 2026
Your browser's default DNS settings are probably slowing you down and leaking your browsing history to your ISP. Here's why changing this one setting should be the first thing you do on any new device, and how to pick the right DNS provider for your needs.

Raspberry Pi at 15: Why the King of Single-Board Computers Is Losing Its Crown
After 15 years of dominating the hobbyist computing scene, the Raspberry Pi faces serious competition from cheaper alternatives, supply chain headaches, and a market that's evolved past its original mission. Here's what's happening and what it means for your next project.
Also Read

120 Steam Users Own 20,000+ Games Each, Top Library Worth $750K
SteamDB data reveals 120 players have amassed collections of 20,000 or more games. The top collector owns 43,085 titles worth nearly $750,000 at retail prices. Playing through such a library would take 21 years at eight hours per day.

GPT-5.5 vs Claude Opus 4.7: OpenAI Reclaims Agentic AI Lead
OpenAI's new GPT-5.5 model scores 82.7% on Terminal-Bench 2.0, outpacing Claude Opus 4.7 by over 13 points. The benchmark measures an AI's ability to execute complex command-line workflows autonomously. This could shift developers back to ChatGPT after months of Claude dominance.

Verda Raises €100M to Build European Cloud Rival to AWS
Helsinki-based Verda, formerly Datacrunch, has closed a €100 million debt and equity round to expand its AI cloud infrastructure across Europe, the US, and Asia. The company plans to hire 100 more people and is positioning European neutrality as a competitive advantage against American hyperscalers.