The request

From Robert Kim, Chief Operating Officer
Your goal
Build a PivotTable at H1 that counts the orders of December 21: channel in Rows, status in Columns, order_id in Values summarised by Count. It fills H1:L6.
- Fill
H1:L6with the right valuesnot done yet
Your sheet
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | order_date | channel | status | shipping_fee | |||||||||
| 2 | 12778 | 2025-12-21 02:14 | web | cancelled | 0.00 | |||||||||
| 3 | 12779 | 2025-12-21 03:36 | app | completed | 6.95 | |||||||||
| 4 | 12780 | 2025-12-21 05:30 | marketplace | completed | 7.65 | |||||||||
| 5 | 12781 | 2025-12-21 06:53 | app | completed | 0.00 | |||||||||
| 6 | 12782 | 2025-12-21 07:39 | web | completed | 0.00 | |||||||||
| 7 | 12783 | 2025-12-21 08:16 | app | completed | 0.00 | |||||||||
| 8 | 12784 | 2025-12-21 08:18 | web | cancelled | 0.00 | |||||||||
| 9 | 12785 | 2025-12-21 09:42 | app | completed | 0.00 | |||||||||
| 10 | 12786 | 2025-12-21 09:56 | web | completed | 14.95 | |||||||||
| 11 | 12787 | 2025-12-21 09:57 | marketplace | completed | 4.99 | |||||||||
| 12 | 12788 | 2025-12-21 10:08 | marketplace | completed | 4.99 | |||||||||
| 13 | 12789 | 2025-12-21 10:36 | marketplace | completed | 4.99 | |||||||||
| 14 | 12790 | 2025-12-21 10:43 | web | completed | 0.00 | |||||||||
| 15 | 12791 | 2025-12-21 10:54 | app | completed | 0.00 | |||||||||
| 16 | 12792 | 2025-12-21 12:26 | app | completed | 6.95 | |||||||||
| 17 | 12793 | 2025-12-21 13:10 | app | completed | 0.00 | |||||||||
| 18 | 12794 | 2025-12-21 13:43 | web | completed | 0.00 | |||||||||
| 19 | 12795 | 2025-12-21 14:09 | web | completed | 0.00 | |||||||||
| 20 | 12796 | 2025-12-21 14:47 | web | completed | 6.95 | |||||||||
| 21 | 12797 | 2025-12-21 15:15 | app | completed | 6.95 | |||||||||
| 22 | 12798 | 2025-12-21 15:47 | web | completed | 0.00 | |||||||||
| 23 | 12799 | 2025-12-21 16:00 | web | cancelled | 0.00 | |||||||||
| 24 | 12800 | 2025-12-21 16:08 | app | completed | 0.00 | |||||||||
| 25 | 12801 | 2025-12-21 16:18 | app | completed | 0.00 | |||||||||
| 26 | 12802 | 2025-12-21 16:44 | app | completed | 0.00 | |||||||||
| 27 | 12803 | 2025-12-21 16:58 | web | refunded | 0.00 | |||||||||
| 28 | 12804 | 2025-12-21 18:03 | web | completed | 0.00 | |||||||||
| 29 | 12805 | 2025-12-21 18:30 | web | completed | 6.95 | |||||||||
| 30 | 12806 | 2025-12-21 18:53 | web | completed | 14.95 | |||||||||
| 31 | 12807 | 2025-12-21 19:36 | web | cancelled | 6.95 | |||||||||
| 32 | 12808 | 2025-12-21 19:38 | web | completed | 0.00 | |||||||||
| 33 | 12809 | 2025-12-21 19:56 | web | cancelled | 0.00 | |||||||||
| 34 | 12810 | 2025-12-21 19:57 | marketplace | completed | 7.65 | |||||||||
| 35 | 12811 | 2025-12-21 21:22 | app | completed | 0.00 | |||||||||
| 36 | 12812 | 2025-12-21 21:59 | app | completed | 0.00 | |||||||||
| 37 | ||||||||||||||
| 38 | ||||||||||||||
| 39 | ||||||||||||||
| 40 | ||||||||||||||
| 41 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
What Robert gets, and why
The lesson
The first PivotTable grouped in one direction. Most questions have two: “orders per channel, split by status”. A PivotTable puts the second field across the top, and every cell where a row and a column cross holds one number.
Columns make a cross-tab
The sheet holds the 35 orders placed on Sunday, December 21, in A1:E36. Build the PivotTable
with:
| Box | Field |
|---|---|
| Rows | channel |
| Columns | status |
| Values | order_id, summarised by Count |
The result at H1:
Count of order_id status
channel cancelled completed refunded Grand Total
app 13 13
marketplace 5 5
web 5 11 1 17
Grand Total 5 29 1 35
The first row names the summary and the column field; the second row lists the column items, sorted A→Z, then Grand Total. Each row has its own Grand Total on the right, and the last row adds up each column.
Count, not Sum
To count records, put any field that is filled on every record into Values and switch “Summarise
values by” to Count. order_id is the safest choice: every order has one. Count counts
non-empty cells, so a field with gaps (a coupon code, say) would undercount.
Excel picks the default for you: Sum when the field holds numbers, Count when it holds text. Here
order_id is a number, so Excel would start with Sum of order_id. Always read the value header
before you read the numbers.
Empty cells mean “no records”
app has no cancelled orders, so that cell is empty, not 0. A PivotTable only fills a cell when
at least one record lands in it. If you want zeros, Excel has a setting for it (PivotTable
Options → “For empty cells show: 0”). Leave them empty here; the checker expects exactly what a
default PivotTable shows.
Reading it
Web took 17 orders and 5 of them were cancelled, while app and marketplace had none. That is 5 of the day’s 35 orders, all on one channel. One more refund on the web makes it 6 problem orders on the website alone. A pattern that sharp is worth a message to engineering.
Common mistakes
- Sum of order_id. Adding ids together gives a big number that means nothing.
- Counting a field with gaps.
Count of coupon_codecounts only the orders that used a coupon. Use a field that every record has. - Swapping Rows and Columns. The numbers stay the same but the table turns sideways. Put the field with more items in Rows, so the table grows downwards and stays readable.
- Reading an empty cell as missing data. It means zero records, not “unknown”.
Lantern lit!
Practised: pivot tablescolumns fieldcountcross tab
- Solved
- No hints
- First run
