Basic Functions
Intermediate

RANK Function

Position in the table, worked out rather than eyeballed.

Task:

The quarterly figures are in and the regional director wants the branches placed 1 to 5, best first. The rows are in alphabetical order and are staying that way, so work the position out in column C.

Learning Objectives:

  • Rank values without reordering rows
  • Lock a range with absolute references
  • See why a wrong rank still looks believable
Hints

Solve without hints for +5 XP

Interactive Spreadsheet

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

ABC
1BranchQuarterly revenueRank
2Leeds418500
3Cardiff372000
4Glasgow455200
5Bristol389750
6Norwich401300
What this exercise teaches (contains the answer)

Sorting would answer this too, and would destroy the alphabetical order the sheet is circulated in. RANK reports the position while leaving the rows where they are, which is what you want on anything someone else reads. The absolute reference is the part that catches people: without it, row 3 ranks itself against B3:B7 and the numbers come out plausible and wrong.

Functions used here