RANK Function in Excel: The Old Ranking Function

RANK Function in Excel: The Old Ranking Function featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

StatisticsLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. RANK in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions
  9. Continue learning

RANK still works for compatibility and behaves exactly like RANK.EQ. New workbooks should use RANK.EQ or RANK.AVG.

Advertisement

Syntax

=RANK(number, ref, [order])
Argument What it means
order 0 = largest is 1.

Examples

Example 1

=RANK(C2, $C$2:$C$50)

Leaderboard position.

RANK in practice

Where you will use it

  • Rank salespeople by sales
  • Class rank by marks
  • Rank products by margin

Worked example

RepSalesFormulaResult
Neha420000=RANK(B2,$B$2:$B$5)2
Arjun310000=RANK(B3,$B$2:$B$5)4
Pooja505000=RANK(B4,$B$2:$B$5)1
Simran420000=RANK(B5,$B$2:$B$5)2

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Not locking the rangeUse $B$2:$B$5 so it doesn't slide when copied
TiesEqual values share a rank and the next rank is skipped; RANK.AVG averages them

RANK.EQ Β· RANK.AVG

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Statistics advanced33 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 36 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong

Leave a Reply

Your email address will not be published. Required fields are marked *