The request

From Thomas Long, Growth Marketer
Your goal
Build a PivotTable at H1 on the October 5 sessions: device in Filter set to mobile, source in Rows, pages_viewed in Values summarised by Average. It fills H1:I9.
- Fill
H1:I9with the right valuesnot done yet
Your sheet
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | session_id | started_at | device | source | pages_viewed | converted | |||||
| 2 | 33589 | 2025-10-05 13:11 | mobile | organic | 4 | FALSE | |||||
| 3 | 33590 | 2025-10-05 21:21 | mobile | paid | 7 | FALSE | |||||
| 4 | 33591 | 2025-10-05 20:59 | desktop | social | 2 | FALSE | |||||
| 5 | 33592 | 2025-10-05 11:42 | tablet | organic | 1 | FALSE | |||||
| 6 | 33593 | 2025-10-05 20:04 | mobile | organic | 1 | FALSE | |||||
| 7 | 33594 | 2025-10-05 00:29 | mobile | 10 | TRUE | ||||||
| 8 | 33595 | 2025-10-05 11:41 | mobile | paid | 3 | FALSE | |||||
| 9 | 33596 | 2025-10-05 12:32 | tablet | paid | 4 | FALSE | |||||
| 10 | 33597 | 2025-10-05 10:45 | desktop | direct | 1 | FALSE | |||||
| 11 | 33598 | 2025-10-05 15:42 | desktop | organic | 1 | FALSE | |||||
| 12 | 33599 | 2025-10-05 17:48 | desktop | paid | 4 | FALSE | |||||
| 13 | 33600 | 2025-10-05 10:35 | mobile | 8 | FALSE | ||||||
| 14 | 33601 | 2025-10-05 11:01 | mobile | direct | 1 | FALSE | |||||
| 15 | 33602 | 2025-10-05 21:15 | tablet | organic | 1 | FALSE | |||||
| 16 | 33603 | 2025-10-05 23:17 | mobile | organic | 3 | FALSE | |||||
| 17 | 33604 | 2025-10-05 21:42 | desktop | paid | 10 | FALSE | |||||
| 18 | 33605 | 2025-10-05 05:08 | mobile | direct | 6 | FALSE | |||||
| 19 | 33606 | 2025-10-05 07:11 | mobile | organic | 1 | FALSE | |||||
| 20 | 33607 | 2025-10-05 09:54 | mobile | social | 7 | FALSE | |||||
| 21 | 33608 | 2025-10-05 09:03 | mobile | organic | 1 | FALSE | |||||
| 22 | 33609 | 2025-10-05 00:42 | mobile | organic | 5 | FALSE | |||||
| 23 | 33610 | 2025-10-05 05:51 | desktop | direct | 1 | FALSE | |||||
| 24 | 33611 | 2025-10-05 22:00 | desktop | paid | 1 | FALSE | |||||
| 25 | 33612 | 2025-10-05 22:26 | desktop | organic | 1 | FALSE | |||||
| 26 | 33613 | 2025-10-05 06:23 | mobile | organic | 10 | FALSE | |||||
| 27 | 33614 | 2025-10-05 12:50 | mobile | paid | 3 | FALSE | |||||
| 28 | 33615 | 2025-10-05 17:09 | tablet | paid | 10 | FALSE | |||||
| 29 | 33616 | 2025-10-05 21:26 | desktop | organic | 6 | FALSE | |||||
| 30 | 33617 | 2025-10-05 12:30 | mobile | direct | 6 | FALSE | |||||
| 31 | 33618 | 2025-10-05 09:00 | mobile | paid | 3 | FALSE | |||||
| 32 | 33619 | 2025-10-05 08:17 | mobile | organic | 1 | FALSE | |||||
| 33 | 33620 | 2025-10-05 20:43 | mobile | 3 | TRUE | ||||||
| 34 | 33621 | 2025-10-05 21:58 | desktop | direct | 3 | FALSE | |||||
| 35 | 33622 | 2025-10-05 16:03 | mobile | social | 9 | FALSE | |||||
| 36 | 33623 | 2025-10-05 22:42 | mobile | paid | 3 | FALSE | |||||
| 37 | 33624 | 2025-10-05 10:38 | mobile | organic | 1 | FALSE | |||||
| 38 | 33625 | 2025-10-05 08:28 | mobile | organic | 1 | FALSE | |||||
| 39 | 33626 | 2025-10-05 22:04 | mobile | direct | 1 | FALSE | |||||
| 40 | 33627 | 2025-10-05 11:52 | mobile | direct | 1 | FALSE | |||||
| 41 | 33628 | 2025-10-05 15:45 | mobile | social | 1 | FALSE | |||||
| 42 | 33629 | 2025-10-05 09:11 | desktop | organic | 7 | FALSE | |||||
| 43 | 33630 | 2025-10-05 10:44 | mobile | paid | 5 | FALSE | |||||
| 44 | 33631 | 2025-10-05 14:50 | mobile | direct | 7 | FALSE | |||||
| 45 | 33632 | 2025-10-05 11:39 | desktop | direct | 5 | TRUE | |||||
| 46 | 33633 | 2025-10-05 13:51 | desktop | 1 | FALSE | ||||||
| 47 | 33634 | 2025-10-05 19:52 | desktop | 2 | FALSE | ||||||
| 48 | |||||||||||
| 49 | |||||||||||
| 50 | |||||||||||
| 51 | |||||||||||
| 52 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
What Thomas gets, and why
The lesson
Sum and Count are only two of the ways a PivotTable can summarise. For “how many pages does a visitor look at” you need an Average. And Thomas only wants mobile visitors, so the table needs a filter first.
The Filter box
The sheet holds all 46 sessions from Sunday, October 5, in A1:F47: 28 on mobile, 14 on desktop
and 4 on tablets. A report filter keeps the records whose field has the value you pick and
ignores the rest, without touching the data:
| Box | Field |
|---|---|
| Filter | device → mobile |
| Rows | source |
| Values | pages_viewed, summarised by Average |
The filter shows above the table, in the first row: device | mobile, then a blank row, then the
PivotTable itself. Excel draws it the same way. Pick another device and every number below
changes.
Average, and the Grand Total
source Average of pages_viewed
direct 3.67
email 7.00
organic 2.80
paid 4.00
social 5.67
Grand Total 4.00
Each row divides that source’s pages by its number of sessions: the 6 direct sessions viewed 22 pages, so 22 / 6 = 3.67. The Grand Total is not the average of the five numbers above it (that would be 4.63). It is all mobile pages divided by all mobile sessions: 112 / 28 = 4.00. A PivotTable always recalculates the total from the records, which is what you want.
The 0.00 format on I4:I9 keeps the averages readable; in Excel you set it under Value Field
Settings → Number Format, so it sticks when the pivot refreshes.
Small samples
Email leads with 7 pages per visit, from just 3 sessions. One enthusiastic visitor can move that
number a lot. Before Thomas redesigns around it, add session_id as a second Values field with
Count (in Excel you can drag several fields into Values) or check a full month. A PivotTable
makes numbers look equally solid; they are not.
Common mistakes
- Averaging averages. Copying the five source averages into a cell and taking
AVERAGEof them weighs a 3-session source like a 10-session one. - Filtering the data instead. Deleting desktop rows from the sheet “to filter” destroys the data for the next question. Use the Filter box.
- Leaving Sum on. Sum of pages_viewed answers “how many pages in total”, not “per visit”.
- Forgetting the filter is on. Excel shows it only in that small cell above the table. Say “mobile only” in the title of anything you send.
Lantern lit!
Practised: pivot tablesreport filteraveragesample size
- Solved
- No hints
- First run
