Bird
Raised Fist0
Excelspreadsheet~20 mins

RANK function in Excel - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
RANK Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
What is the output of the RANK function?
Given the values in cells A1 to A5 as 10, 20, 20, 40, 30 respectively, what is the result of the formula =RANK(A3, A1:A5)?
A4
B3
C1
D2
Attempts:
2 left
💡 Hint
Remember that RANK returns the rank of a number in a list, with the highest number ranked 1 by default.
❓ Function Choice
intermediate
2:00remaining
Which formula ranks numbers in ascending order?
You want to rank the number in cell B2 among the range B2:B10, where the smallest number gets rank 1. Which formula should you use?
A=RANK(B2, B2:B10, 1)
B=RANK(B2, B2:B10)
C=RANK(B2, B2:B10, 0)
D=RANK.AVG(B2, B2:B10)
Attempts:
2 left
💡 Hint
Check the third argument of RANK to control ascending or descending order.
📊 Formula Result
advanced
2:00remaining
What is the output of RANK with ties and descending order?
Given the values in C1:C6 as 50, 40, 40, 30, 20, 10, what is the result of =RANK(C3, C1:C6, 0)?
A2
B3
C1
D4
Attempts:
2 left
💡 Hint
Remember that RANK assigns the same rank to duplicate values.
🎯 Scenario
advanced
2:00remaining
Ranking with dynamic range and ignoring blanks
You have scores in cells D1:D10, but some cells are blank. You want to rank the score in D5 among only the non-blank scores, with the highest score ranked 1. Which formula correctly does this?
A=RANK(D5, IF(D1:D10<>"", D1:D10))
B=RANK(D5, D1:D10, 1)
C=RANK(D5, D1:D10)
D=RANK(D5, FILTER(D1:D10, D1:D10<>""))
Attempts:
2 left
💡 Hint
RANK automatically ignores blank cells and non-numeric values.
❓ data_analysis
expert
3:00remaining
How many unique ranks are assigned?
Given the values in E1:E8 as 100, 90, 90, 80, 70, 70, 70, 60, if you apply =RANK(E1, E1:E8) down the column, how many unique rank numbers will appear?
A8
B6
C4
D5
Attempts:
2 left
💡 Hint
Count how many distinct values are in the list since duplicates share ranks.

Practice

(1/5)
1. What does the Excel RANK function do?
easy
A. It adds all numbers in a list.
B. It finds the position of a number in a list.
C. It counts how many numbers are in a list.
D. It finds the average of numbers in a list.

Solution

  1. Step 1: Understand the purpose of RANK

    The RANK function returns the position of a number compared to others in a list.
  2. Step 2: Compare with other options

    Options A, C, and D describe sum, count, and average, which are different functions.
  3. Final Answer:

    It finds the position of a number in a list. -> Option B
  4. Quick Check:

    RANK = position in list [OK]
Hint: RANK shows where a number stands in a list [OK]
Common Mistakes:
  • Confusing RANK with SUM or COUNT functions
  • Thinking RANK calculates averages
  • Assuming RANK sorts the list
2. Which of these is the correct syntax for the RANK function in Excel?
easy
A. =RANK(number, ref, order)
B. =RANK(ref, number, order)
C. =RANK(number, order, ref)
D. =RANK(order, number, ref)

Solution

  1. Step 1: Recall RANK function syntax

    The correct syntax is =RANK(number, ref, order), where 'number' is the value to rank, 'ref' is the list, and 'order' is optional.
  2. Step 2: Check each option

    Only =RANK(number, ref, order) matches the correct order of arguments.
  3. Final Answer:

    =RANK(number, ref, order) -> Option A
  4. Quick Check:

    Syntax = RANK(number, ref, order) [OK]
Hint: Remember: number first, then list, then order [OK]
Common Mistakes:
  • Swapping number and list arguments
  • Placing order argument before list
  • Forgetting order is optional
3. Given the list {50, 80, 80, 30, 90}, what is the result of =RANK(80, A1:A5, 0) if these values are in cells A1 to A5?
medium
A. 2
B. 3
C. 1
D. 4

Solution

  1. Step 1: Understand RANK with order 0 (descending)

    Order 0 ranks highest number as 1. The list sorted descending is 90 (1), 80 (2), 80 (2), 50 (4), 30 (5).
  2. Step 2: Find rank of 80

    Both 80s share rank 2 because they tie. So RANK(80) = 2.
  3. Final Answer:

    2 -> Option A
  4. Quick Check:

    80 is second highest, so rank = 2 [OK]
Hint: Order 0 means highest number gets rank 1 [OK]
Common Mistakes:
  • Assuming ranks increase by 1 after ties
  • Confusing ascending and descending order
  • Ignoring ties and giving different ranks
4. You used the formula =RANK(A2, A1:A5, 1) but got unexpected ranks. What is the likely error?
medium
A. RANK function does not accept the order argument.
B. The order argument should be 0 for ascending rank.
C. The range A1:A5 includes the cell A2 itself.
D. The order argument 1 means ascending rank, but you expected descending.

Solution

  1. Step 1: Understand order argument meaning

    Order 1 means ascending rank (lowest number is rank 1). If you expected highest number as rank 1, order should be 0.
  2. Step 2: Identify mismatch in expectation

    The unexpected ranks happen because order 1 ranks lowest first, opposite of what was expected.
  3. Final Answer:

    The order argument 1 means ascending rank, but you expected descending. -> Option D
  4. Quick Check:

    Order 1 = ascending, check expectation [OK]
Hint: Order 1 ranks lowest first; use 0 for highest first [OK]
Common Mistakes:
  • Confusing order 0 and 1 meanings
  • Thinking order argument is optional but needed
  • Including the cell itself in the range causes no error
5. You have scores in cells A1:A6: 85, 92, 85, 70, 92, 60. You want to rank the score in A3 using =RANK(A3, A1:A6, 0). What rank will it show and why?
hard
A. 1, because 85 is the highest score
B. 2, because 85 is the second highest unique score
C. 3, because 92 is rank 1, 85 is rank 3 with ties sharing rank
D. 4, because ties increase rank numbers

Solution

  1. Step 1: Sort scores descending and assign ranks

    Scores sorted: 92 (rank 1), 92 (rank 1), 85 (rank 3), 85 (rank 3), 70 (rank 5), 60 (rank 6).
  2. Step 2: Find rank of score in A3 (85)

    Since 85 appears twice, both get rank 3. Ties share the same rank, and ranks after skip numbers.
  3. Final Answer:

    3, because 92 is rank 1, 85 is rank 3 with ties sharing rank -> Option C
  4. Quick Check:

    Ties share rank, next rank skips numbers [OK]
Hint: Ties share rank; next rank skips numbers [OK]
Common Mistakes:
  • Assuming ranks increase by 1 after ties
  • Ignoring ties and giving different ranks
  • Confusing rank order with ascending instead of descending
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard