How to Use RANK, RANK.EQ, and RANK.AVG Functions in Excel + Tips
Learn how to use RANK, RANK.EQ, and RANK.AVG functions in Excel step-by-step with simple examples, tie handling, tips, and video tutorials in Khmer.
Hello everyone! Today i will show you how to use RANK, RANK.EQ, and RANK.AVG functions in Microsoft Excel step by step.
1. What are RANK, RANK.EQ, and RANK.AVG Functions?
Ranking functions in Excel help you find the rank position of a number inside a list (for example: ranking student test scores, sales rep performance, or race completion times).
RANK: The classic ranking function available in all Excel versions (kept for backwards compatibility).RANK.EQ: The modern replacement forRANK(Excel 2010+). Returns the same top rank if numbers are tied (e.g., two top scores of95both get rank1).RANK.AVG: Modern average ranking function (Excel 2010+). Returns the average rank if numbers are tied (e.g., two tied scores for 1st and 2nd place both get rank1.5).
2. Formula Syntax & Parameters
=RANK.EQ(number, ref, [order])
=RANK.AVG(number, ref, [order])
=RANK(number, ref, [order])
number: Required. The specific cell value you want to rank (e.g., student score in cellB2).ref: Required. The range or list of numbers to compare against (e.g.,$B$2:$B$6).[order]: Optional. Defines ranking direction:0(or omitted): Descending order (highest number gets Rank 1, best for test scores & sales).1: Ascending order (lowest number gets Rank 1, best for running times & golf scores).
3. 📋 Comparison & Examples: RANK.EQ vs RANK.AVG
Suppose we have student scores in range B2:B6:
| Cell | Student | Score | RANK.EQ Result | RANK.AVG Result | Explanation |
|---|---|---|---|---|---|
B2 | Sok | 95 | 1 | 1 | Highest score gets Rank 1 |
B3 | Dara | 88 | 2 | 2.5 | Tied score for Rank 2 and 3 |
B4 | Lina | 88 | 2 | 2.5 | RANK.EQ gives both 2, RANK.AVG gives (2+3)/2 = 2.5 |
B5 | Sam | 75 | 4 | 4 | Skips Rank 3 because of tie |
B6 | Sopheap | 60 | 5 | 5 | Lowest score |
4. 🎥 Video Tutorials (Khmer)
🎥 Tutorial 1: How to Use RANK Function in Excel
🎥 Tutorial 2: Practical RANK & RANK.EQ Examples
💡 Quick Tips for Using Excel Rank Functions
- Always Lock Reference Range (
$): Always use absolute cell references (like$B$2:$B$6by pressingF4key) for therefparameter. If you don't lock the range, it will shift down when you copy the formula! - Choose Correct Order Parameter: Use
0(or leave empty) for highest = 1 (test scores, revenue). Use1for lowest = 1 (running time, golf scores). - Use
RANK.EQoverRANK:RANKis an old legacy function kept for compatibility with older Excel files.RANK.EQis faster and standard for Excel 2010 and newer. - Fix Duplicate Ranks without Skipping Numbers: If you want unique ranks without ties (e.g., 1, 2, 3, 4 instead of 1, 2, 2, 4), combine
RANK.EQwithCOUNTIF:=RANK.EQ(B2, $B$2:$B$6) + COUNTIF($B$2:B2, B2) - 1.
📚 Related Resources & Tutorials
Related Tutorials
Opens in new tab ↗How to Use RANK Function in Excel with Multiple Examples (Video in Khmer)
Learn how to use RANK function in Excel step-by-step with simple examples and Khmer video guides.
How to Use XMATCH Function in Excel (Multiple Examples)
Learn how to use XMATCH function in Excel step-by-step to lookup value in table or range with simple examples and video guide.
How to Use CHOOSE Function in Excel + Tips (Video in Khmer)
Learn how to use CHOOSE function in Excel step-by-step to pick values by position number with simple examples, tips, and video tutorial in Khmer.