Об этом упражнении
Набор данных (строк: 150) на одном листе, одна ячейка ответа, около 4 мин. Проверка прямо в браузере: значение и формула, которая его даёт, с обратной связью о том, что исправить.
Как решить
A multi-level sort orders rows by the first key and uses the second key only to break ties inside each group: every region becomes a contiguous block (Central, East, North, South, West) and inside a block the rows run from the largest sale to the smallest. Because you sorted the whole table rather than one column, each row keeps its rep, product line and deal count together — the data is rearranged, never changed.
Pitfall 1: selecting a single column and clicking A→Z sorts that column alone and scrambles the rows (Excel warns "Expand the selection" — always expand). Pitfall 2: a blank row or a merged title above the data stops Excel from detecting the header; untick "My data has headers" or the first data row becomes a header and never moves. Pitfall 3: numbers stored as text sort separately from real numbers ("9,500" after 10,000); convert with VALUE or Text to Columns before sorting. Alternatives: Excel 365 can produce a sorted copy with =SORTBY(A2:E151,B2:B151,1,E2:E151,-1) that updates automatically, leaving the source untouched; for a custom region order (West first), use Sort → Order → Custom List. Undo (Ctrl+Z / ⌘Z) restores the original order only until you save and close — add an index column (1…150) before sorting when the original order matters.
Другие рабочие способы
- =SORTBY(A2:E151,B2:B151,1,E2:E151,-1) — Excel 365 only; a live sorted copy in another area
- Sort by Sales Largest to Smallest first, then sort by Region A to Z (stable sort: earlier order survives as the tie-breaker) — two single-key sorts in reverse priority
- Format as Table (Ctrl+T / ⌘T) and use the header drop-downs: Region → Sort A to Z, then Sales → Sort Largest to Smallest in the same reverse order
Частые ошибки
Adding the levels in the wrong order (Sales first, then Region): the result is ordered by sales overall, and Region only breaks ties between identical amounts, so the regions are not grouped.
Как мы проверяем
Принимается любая формула, которая даёт верный результат, если только задание не называет функцию: тогда другая функция даёт половину балла. Мы сравниваем значения с небольшим допуском и не учитываем регистр и пробелы в тексте. Верное число, введённое вручную вместо формулы, даёт половину балла. Задания с несколькими ячейками получают полный балл, если верны 100% ячеек, и половину — если верны от 50%. Там, где это важно, мы также меняем входную ячейку в копии вашего листа и проверяем, что формула пересчитывается правильно.
Ответы рассчитаны по правилам Excel 365 и 15 ноября 2026 г. сверены в нашей системе проверки. Автор: GridBelt team.