Об этом упражнении
Набор данных (строк: 200) на одном листе, одна ячейка ответа, около 5 мин. Проверка прямо в браузере: значение и формула, которая его даёт, с обратной связью о том, что исправить.
Как решить
- H2
=COUNTIF($D$2:$D$201,G2)
COUNTIF(range, criterion) counts the cells in the range that match the criterion. With the range locked as $D$2:$D$201 and the criterion pointing at the label in column G, one formula filled down produces all four counts, and the board updates when the export is refreshed. Text criteria are matched case-insensitively, so "delivered" would count the same rows as "Delivered".
Pitfall 1: filling =COUNTIF(D2:D201,G2) down without $ shifts the range to D3:D202, D4:D203 … — the counts drift by a row each time and the totals no longer add up to 200. Pitfall 2: typing the status into the formula (=COUNTIF($D$2:$D$201,"Delivered")) works but must be edited in four places and breaks the fill-down; referencing G2 keeps the board data-driven. Pitfall 3: exports with trailing spaces or "Canceled" vs "Cancelled" create silent misses — a quick SUM of the counts against the row count catches them. Alternatives: COUNTIFS($D$2:$D$201,G2) is COUNTIF with room for more conditions (status and month, next exercise); SUMPRODUCT(($D$2:$D$201=G2)*1) is the array form; in Excel 365, =COUNTIF($D$2:$D$201,G2:G5) spills all four counts from one cell. Whole-column references (D:D) are acceptable here because column D holds only statuses and a header; avoid them inside SUMPRODUCT, which would evaluate a million rows.
Другие рабочие способы
- =COUNTIFS($D$2:$D$201,G2) — same count with the multi-criteria function
- =SUMPRODUCT(($D$2:$D$201=G2)*1) — array-style count without COUNTIF (not accepted here, because this task asks for COUNTIF)
- =COUNTIF(D:D,G2) — whole-column reference; fine while column D holds nothing but statuses
Частые ошибки
Filling =COUNTIF(D2:D201,G2) down without locking the range: H3 counts D3:D202, H4 counts D4:D203, and the four counts no longer add up to 200.
Как мы проверяем
Принимается любая формула, которая даёт верный результат, если только задание не называет функцию: тогда другая функция даёт половину балла. Мы сравниваем значения с небольшим допуском и не учитываем регистр и пробелы в тексте. Верное число, введённое вручную вместо формулы, даёт половину балла. Задания с несколькими ячейками получают полный балл, если верны 100% ячеек, и половину — если верны от 50%. Там, где это важно, мы также меняем входную ячейку в копии вашего листа и проверяем, что формула пересчитывается правильно.
Ответы рассчитаны по правилам Excel 365 и 16 ноября 2026 г. сверены в нашей системе проверки. Автор: GridBelt team.