Перейти к содержимому
GridBelt
  • Тест по Excel
  • Упражнения
  • Программы
  • Цены
Войти
Начать бесплатный тест
  • Тест по Excel
  • Упражнения
  • Программы
  • Цены
ВойтиСоздать аккаунт
Начать бесплатный тест
GridBelt

Тренируйте навыки Excel прямо в браузере.

Тест по Excel

  • Уровень 1: Начальный
  • Уровень 2: Средний
  • Уровень 3: Продвинутый
  • Подготовка к тесту по Excel за 7 дней
  • Таблица лидеров
  • Тест по Excel на собеседовании
  • Тест по Excel от Indeed

Упражнения

  • Все упражнения
  • Программы
  • Для начинающих

Материалы

  • Формулы Excel
  • Горячие клавиши Excel

Компания

  • О проекте
  • Цены
  • Как мы проверяем

© GridBelt. Все права защищены.

  • Политика конфиденциальности
  • Условия использования
  • Политика возврата средств

Excel — товарный знак корпорации Microsoft. Indeed, TestGorilla, SHL и другие товарные знаки принадлежат их владельцам. GridBelt — независимый сайт для практики: он не связан с Microsoft, TestGorilla, SHL или Indeed, не одобрен и не спонсируется ими.

  1. Упражнения
  2. /
  3. Pivot tables

Pivot table practice: % of grand total by sales channel

  • Средний
  • ~7 мин
  • Pivot tables

Текст упражнения на английском

A coffee roaster's Q3 2026 export holds 250 order lines in A2:D251, each sold through one of five channels, from café wholesale to the occasional phone order. For the board pack the owner wants what a PivotTable shows with Show Values As → % of Grand Total: each channel's revenue and its share of the total, next to each other. This practice grid has no PivotTable command, so you rebuild it with formulas in the block F1:H7; the channels are already listed A to Z in F2:F6, as a pivot would show them.

Что нужно сделать

  1. 1In G2, add up the revenue of the channel named in F2: =SUMIFS($D$2:$D$251,$C$2:$C$251,F2). The data ranges are locked with $ — F4 (Windows) or ⌘T (Mac) — and F2 stays relative so it moves down with the formula.
  2. 2Fill G2 down to G6: drag the fill handle, or select G2:G6 and press Ctrl+D (Windows) / ⌘D (Mac).
  3. 3In G7, the grand total: =SUM(G2:G6). It must equal the sum of all revenue in D2:D251 — the base a PivotTable divides by for % of Grand Total.
  4. 4In H2, divide the channel's revenue by the grand total and lock the total: =G2/$G$7. Fill it down to H7; the Grand Total row then shows 1, which is 100%.
  5. 5Select H2:H7 and apply a percentage format with one decimal place: Ctrl+Shift+% (Windows) / Control+Shift+% (Mac), then Increase Decimal once (in this grid: the toolbar's Increase decimal places button, under ⋮ when the toolbar is narrow; in Excel, Format Cells with Ctrl+1 / ⌘1 → Percentage → 1 decimal place works too). Look at Phone orders: with no decimals it would read 0%.

Ячейки ответа

Обратная связь

Введите формулу в таблицу, нажмите Enter, а затем «Проверить». Мы оцениваем значение в каждой ячейке ответа и формулу, которая его даёт.

Задания

  1. Не провереноIn G2:G6, total the revenue (D2:D251) of each channel in F2:F6 with one SUMIFS formula filled down (SUMIF or SUMPRODUCT are accepted too), and put the grand total of the channels in G7.
  2. Не провереноIn H2:H7, show each row's share of the grand total in G7 — the PivotTable's Show Values As → % of Grand Total — with one formula filled down, so the Grand Total row shows 100%.
  3. Не провереноFormat H2:H7 as a percentage with one decimal place (0.0%, for example 12.5%).

Для заданий в таблице рекомендуем компьютер. Лист прокручивается внутри этой области.

StartInsertFormulasDataView
A1fxГотовим вашу рабочую книгу…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Введите формулу в лист, затем нажмите «Проверить».

Об этом упражнении

Набор данных (строк: 250) на одном листе, 3 ячейки ответа, около 7 мин. Проверка прямо в браузере: значение и формула, которая его даёт, с обратной связью о том, что исправить.

Как решить

  • G2=SUMIFS($D$2:$D$251,$C$2:$C$251,F2)
  • G7=SUM(G2:G6)
  • H2=G2/$G$7

A PivotTable's Show Values As → % of Grand Total divides every value by the grand total of the report. The formula version does the same in two steps: SUMIFS rebuilds the Sum of Revenue per channel, and =G2/$G$7 divides each one by the locked grand total, so the Grand Total row itself comes out as 100%. The 0.0% format only changes the display (0.123 shows as 12.3%); one decimal keeps a tiny channel such as Phone orders from reading 0%.

The PivotTable route in Excel: drag Revenue to Values twice, right-click a value of the second copy → Show Values As → % of Grand Total, then rename the field (for example "% of Grand Total") and set its number format through Value Field Settings → Number Format. Pitfall 1: a PivotTable calculates the shares over the items that are visible — filter one channel out and every other share is recalculated over the rest; the formula version keeps dividing by the total in G7 unless you change that cell. Pitfall 2: =G2/G7 filled down without $ divides H3 by G8, an empty cell, and shows #DIV/0!. Pitfall 3: rounded shares need not add up to exactly 100.0% on screen (99.9% or 100.1% is normal); the stored values still sum to 1. Never multiply by 100 in the formula and then apply % — 0.123 × 100 would show as 1230.0%. With no field in Columns, % of Column Total gives the same numbers as % of Grand Total. In Excel 365, =PERCENTOF(G2,$G$2:$G$6) is the same ratio, and =GROUPBY(C2:C251,D2:D251,PERCENTOF) spills the channel labels with their shares and a Total of 100% in one formula.

Другие рабочие способы

  • =SUMIF($C$2:$C$251,F2,$D$2:$D$251) in G2 — SUMIF with one condition (criteria range, criterion, sum range)
  • =G2/SUM($G$2:$G$6) in H2 — divides by the channel total directly (then H7 = G7/SUM($G$2:$G$6) is still 100%)
  • =SUMIFS($D$2:$D$251,$C$2:$C$251,F2)/SUM($D$2:$D$251) in H2:H6 — revenue and share in one step; the Grand Total row then needs its own =SUM(H2:H6)
  • =PERCENTOF(G2,$G$2:$G$6) in H2 — Excel 365 only

Частые ошибки

Filling =G2/G7 down without the $: H3 then divides by G8, an empty cell, and shows #DIV/0!; lock the grand total as $G$7.

Как мы проверяем

Принимается любая формула, которая даёт верный результат, если только задание не называет функцию: тогда другая функция даёт половину балла. Мы сравниваем значения с небольшим допуском и не учитываем регистр и пробелы в тексте. Верное число, введённое вручную вместо формулы, даёт половину балла. Задания с несколькими ячейками получают полный балл, если верны 100% ячеек, и половину — если верны от 50%. Там, где это важно, мы также меняем входную ячейку в копии вашего листа и проверяем, что формула пересчитывается правильно.

Ответы рассчитаны по правилам Excel 365 и 20 ноября 2026 г. сверены в нашей системе проверки. Автор: GridBelt team.

Входит в программы

  • Excel test in 7 days, План уровня 3День 4
  • Excel for Data AnalystsДень 3
  • Excel for Sales and MarketingДень 6

Похожие упражнения

  • Share of total per region, formatted as %Начальный, ~5 мин
  • Pivot without a pivot: revenue by category and month with SUMIFSСредний, ~10 мин
  • A pivot-style sales report by region with GROUPBYСредний, ~6 мин

Справка по функции

Официальная документация

Следующее упражнение

Read a PivotTable report and check one of its cells