Day 65 · Wednesday, 7 October 2026

From the archive

Intermediate

Queue a maintenance team's repair requests by priority without touching the log

SORTBY can carry two columns along for a sort keyed on a third, so the call log it reads from never has to move.

Task:

You coordinate the on-call maintenance team for a 40-unit apartment building. Requests get logged in the order residents call them in, which is not the order the tech should work them — a leaking faucet phoned in first thing shouldn't sit ahead of a gas smell reported an hour later. Each request carries a priority: 1 for an emergency, 2 for urgent, 3 for routine. The office needs the call log left exactly as it came in, since that's the record they keep, and a separate work order built from it. In F2, use SORTBY to list the unit and issue from A2:B7, ordered by the priority in C2:C7, most urgent first. The queue should spill from F2 down to F7.

The daily challenge is part of Pro

A new exercise every morning, plus every day that came before it — a back catalogue that grows by one a day, whether or not you were here for it.

Every day so far

August 2026

September 2026

October 2026

16
SolvedOpenProLatest

Recent days

The last 14 days. Today's challenge is free while your streak is alive; Pro opens every past day too.