Array Functions
Intermediate

SORTBY ascending: most urgent first

Order a list by a priority number that is not shown.

Task:

The job list should run in priority order, where 1 is most urgent, but the priority column itself is internal. In E2, list just the job names ordered by priority, smallest first.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

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.

6 rows × 5 columns5 cells you fill in
ABCDE
1JobSitePriorityToday's order
2Boiler serviceLeeds3
3Burst pipeYork1
4Radiator bleedHull5
5No hot waterSelby2
6Tap washerRipon4
What this exercise teachesMay contain the answer

SORT can only order by a column it returns, so it would have to show the priorities. SORTBY uses a separate key, so the output is just the names, in the order the key dictates — exactly what goes on a technician's phone.