Sort the table, not just the numbers, so names stay with their figures.
Build a leaderboard that keeps each rep's name and region beside their sales. In E2, sort the whole table A2:C7 by sales, highest first.
Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.
The same formula in the other shapes it takes at work.
SORT returns a sorted copy and leaves the original alone.
Sort the table, not just the numbers, so names stay with their figures.
With no other arguments, SORT orders text alphabetically.
This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Rep | Region | Sales | Rep | Region | Sales | |
| 2 | Mia | North | 41200 | ||||
| 3 | Noah | South | 52800 | ||||
| 4 | Olu | East | 38600 | ||||
| 5 | Pia | North | 60100 | ||||
| 6 | Raf | West | 47500 | ||||
| 7 | Sia | South | 55300 |
Sorting only the sales column produces numbers with no names attached. Passing the whole table keeps every row together, and the sort_index picks which of its columns decides the order. The source stays exactly as it was.