cellcraftEnter the quest map →
← Browse the curriculum
DYNAMIC ARRAYS · ORIGINAL EXERCISE

Sort the northern ledger

Return North orders from A2:F9, sorted by Revenue (the fifth column) descending. Use FILTER inside SORT.

This quest practices SORT + FILTER using a fictional business dataset. Read the sheet below, then enter the interactive quest to write and check your formula.

OrderRegionProductUnitsRevenueCost
O-101NorthKeyboard12720420
O-102SouthMouse18450198
O-103NorthMonitor51250900
O-104WestKeyboard8480280
O-105SouthMonitor41000720
O-106NorthMouse20500220
O-107WestMonitor615001080
O-108EastDock10600350
Play this quest · +70 XP →

Hints to get you started

  1. Filter the full six-column rows first.
  2. Revenue remains column 5 of the returned array.
  3. Wrap the FILTER formula in SORT with index 5 and order -1.
Show the worked solution
=SORT(FILTER(A2:F9,B2:B9="North","None"),5,-1)

Composing dynamic-array functions builds an automatically updated report from a single formula.

Make the skill stick

After solving the task, explain what each reference does and why the formula answers the business question. Try the workbook download inside the quest to practice in your own spreadsheet app.

Explore the rest of this region →