Array Functions
Intermediate

SORTBY returning two columns

Return names and teams ordered by a score you keep private.

Task:

The shortlist shows candidate and team, best interview score first, without revealing the scores. In E2, return columns A and B ordered by the score in C, highest 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 × 6 columns10 cells you fill in
ABCDEF
1CandidateTeamScoreCandidateTeam
2T. AdamsData71
3U. BaptisteProduct88
4V. ChenData93
5W. DialloDesign64
6X. EriksenProduct79
What this exercise teachesMay contain the answer

The by_array only has to match the height of the array, not sit inside it. That separation is what lets the ordering use data the output leaves out.