The request

From Jordan Reyes, Head of Marketing
Your goal
Step 1 of 2. Check the export. In G2:G37, return "ok" if converted (E) is less than or equal to engaged (D), otherwise "check" (one formula, filled down). In J2, count the rows marked "check" with COUNTIF. In J3, total the sessions in C2:C37.
- Fill
G2:G37, J2:J3with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
IFCOUNTIFSUMnot done yet
Step 2 of 2. Build the funnel. In J6, total the sessions of the device in I6 with SUMIFS, written so it fills right to L6 (engaged, converted) and down to row 8: lock the data rows but not their column, and lock the device label by its column only. Then in M6:M8 compute engaged / sessions, in N6:N8 converted / sessions, and in O6:O8 converted / engaged.
- Fill
J6:O8with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
SUMIFSnot done yet
This case unlocks when you finish any one of:
- SQL · CASE, dates and strings
- Python · New columns, groupby and aggregation
- Excel · Conditional totals
The ticket and lesson are open to read now. Solve every level in one of those chapters, in whichever track you prefer, and this case opens.
Step 1 · your sheet
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | month | device | sessions | engaged | converted | check | ||||||||||
| 2 | 2025-01 | desktop | 351 | 134 | 11 | Rows to check | ||||||||||
| 3 | 2025-01 | mobile | 506 | 229 | 7 | Total sessions | ||||||||||
| 4 | 2025-01 | tablet | 103 | 47 | 2 | |||||||||||
| 5 | 2025-02 | desktop | 270 | 125 | 12 | device | sessions | engaged | converted | engaged % | conversion % | engaged to converted | ||||
| 6 | 2025-02 | mobile | 424 | 202 | 11 | desktop | ||||||||||
| 7 | 2025-02 | tablet | 85 | 43 | 3 | mobile | ||||||||||
| 8 | 2025-03 | desktop | 393 | 173 | 17 | tablet | ||||||||||
| 9 | 2025-03 | mobile | 582 | 265 | 15 | |||||||||||
| 10 | 2025-03 | tablet | 103 | 49 | 3 | |||||||||||
| 11 | 2025-04 | desktop | 356 | 155 | 16 | |||||||||||
| 12 | 2025-04 | mobile | 603 | 272 | 19 | |||||||||||
| 13 | 2025-04 | tablet | 99 | 43 | 3 | |||||||||||
| 14 | 2025-05 | desktop | 400 | 173 | 8 | |||||||||||
| 15 | 2025-05 | mobile | 705 | 320 | 10 | |||||||||||
| 16 | 2025-05 | tablet | 97 | 42 | 2 | |||||||||||
| 17 | 2025-06 | desktop | 345 | 161 | 16 | |||||||||||
| 18 | 2025-06 | mobile | 621 | 268 | 10 | |||||||||||
| 19 | 2025-06 | tablet | 108 | 47 | 4 | |||||||||||
| 20 | 2025-07 | desktop | 368 | 164 | 18 | |||||||||||
| 21 | 2025-07 | mobile | 626 | 279 | 19 | |||||||||||
| 22 | 2025-07 | tablet | 119 | 56 | 4 | |||||||||||
| 23 | 2025-08 | desktop | 354 | 160 | 9 | |||||||||||
| 24 | 2025-08 | mobile | 683 | 290 | 10 | |||||||||||
| 25 | 2025-08 | tablet | 104 | 48 | 3 | |||||||||||
| 26 | 2025-09 | desktop | 408 | 181 | 18 | |||||||||||
| 27 | 2025-09 | mobile | 725 | 347 | 14 | |||||||||||
| 28 | 2025-09 | tablet | 106 | 53 | 1 | |||||||||||
| 29 | 2025-10 | desktop | 414 | 186 | 17 | |||||||||||
| 30 | 2025-10 | mobile | 816 | 376 | 15 | |||||||||||
| 31 | 2025-10 | tablet | 143 | 60 | 0 | |||||||||||
| 32 | 2025-11 | desktop | 793 | 349 | 47 | |||||||||||
| 33 | 2025-11 | mobile | 1573 | 704 | 57 | |||||||||||
| 34 | 2025-11 | tablet | 243 | 107 | 12 | |||||||||||
| 35 | 2025-12 | desktop | 800 | 350 | 28 | |||||||||||
| 36 | 2025-12 | mobile | 1543 | 643 | 50 | |||||||||||
| 37 | 2025-12 | tablet | 256 | 112 | 9 | |||||||||||
| 38 | ||||||||||||||||
| 39 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
Step 2 · your sheet
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | month | device | sessions | engaged | converted | check | ||||||||||
| 2 | 2025-01 | desktop | 351 | 134 | 11 | ok | Rows to check | 0 | ||||||||
| 3 | 2025-01 | mobile | 506 | 229 | 7 | ok | Total sessions | 16225 | ||||||||
| 4 | 2025-01 | tablet | 103 | 47 | 2 | ok | ||||||||||
| 5 | 2025-02 | desktop | 270 | 125 | 12 | ok | device | sessions | engaged | converted | engaged % | conversion % | engaged to converted | |||
| 6 | 2025-02 | mobile | 424 | 202 | 11 | ok | desktop | |||||||||
| 7 | 2025-02 | tablet | 85 | 43 | 3 | ok | mobile | |||||||||
| 8 | 2025-03 | desktop | 393 | 173 | 17 | ok | tablet | |||||||||
| 9 | 2025-03 | mobile | 582 | 265 | 15 | ok | ||||||||||
| 10 | 2025-03 | tablet | 103 | 49 | 3 | ok | ||||||||||
| 11 | 2025-04 | desktop | 356 | 155 | 16 | ok | ||||||||||
| 12 | 2025-04 | mobile | 603 | 272 | 19 | ok | ||||||||||
| 13 | 2025-04 | tablet | 99 | 43 | 3 | ok | ||||||||||
| 14 | 2025-05 | desktop | 400 | 173 | 8 | ok | ||||||||||
| 15 | 2025-05 | mobile | 705 | 320 | 10 | ok | ||||||||||
| 16 | 2025-05 | tablet | 97 | 42 | 2 | ok | ||||||||||
| 17 | 2025-06 | desktop | 345 | 161 | 16 | ok | ||||||||||
| 18 | 2025-06 | mobile | 621 | 268 | 10 | ok | ||||||||||
| 19 | 2025-06 | tablet | 108 | 47 | 4 | ok | ||||||||||
| 20 | 2025-07 | desktop | 368 | 164 | 18 | ok | ||||||||||
| 21 | 2025-07 | mobile | 626 | 279 | 19 | ok | ||||||||||
| 22 | 2025-07 | tablet | 119 | 56 | 4 | ok | ||||||||||
| 23 | 2025-08 | desktop | 354 | 160 | 9 | ok | ||||||||||
| 24 | 2025-08 | mobile | 683 | 290 | 10 | ok | ||||||||||
| 25 | 2025-08 | tablet | 104 | 48 | 3 | ok | ||||||||||
| 26 | 2025-09 | desktop | 408 | 181 | 18 | ok | ||||||||||
| 27 | 2025-09 | mobile | 725 | 347 | 14 | ok | ||||||||||
| 28 | 2025-09 | tablet | 106 | 53 | 1 | ok | ||||||||||
| 29 | 2025-10 | desktop | 414 | 186 | 17 | ok | ||||||||||
| 30 | 2025-10 | mobile | 816 | 376 | 15 | ok | ||||||||||
| 31 | 2025-10 | tablet | 143 | 60 | 0 | ok | ||||||||||
| 32 | 2025-11 | desktop | 793 | 349 | 47 | ok | ||||||||||
| 33 | 2025-11 | mobile | 1573 | 704 | 57 | ok | ||||||||||
| 34 | 2025-11 | tablet | 243 | 107 | 12 | ok | ||||||||||
| 35 | 2025-12 | desktop | 800 | 350 | 28 | ok | ||||||||||
| 36 | 2025-12 | mobile | 1543 | 643 | 50 | ok | ||||||||||
| 37 | 2025-12 | tablet | 256 | 112 | 9 | ok | ||||||||||
| 38 | ||||||||||||||||
| 39 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
What Jordan gets, and why
The lesson
What the sheet holds
Priya’s export has one row per month and device for 2025, 36 rows in all:
| column | holds |
|---|---|
| A, B | month and device |
| C | sessions |
| D | engaged sessions: 3 or more pages viewed |
| E | converted sessions |
A funnel follows the same sessions through stages that narrow down: sessions, engaged, converted. The rates between stages show where people drop out.
Step 1: check before you build
An export is someone else’s query. A funnel has a built-in rule you can test on every row: a later stage can never be bigger than an earlier one. In this data a session only converts after at least three pages, so converted must be less than or equal to engaged:
G2 =IF(E2<=D2,"ok","check")
Fill it down to G37, then count the failures and total the traffic:
J2 =COUNTIF(G2:G37,"check")
J3 =SUM(C2:C37)
J2 should be 0. J3 is worth comparing with a number the reader already knows, here the 2025 total on the web dashboard. When both agree, the export holds the right rows.
Step 2: one SUMIFS for the whole table
The table needs nine totals: three devices by three measures. Because the table’s columns J, K, L sit in the same order as the data’s columns C, D, E, one formula can do all of them if each reference is locked exactly as much as it must be:
J6 =SUMIFS(C$2:C$37,$B$2:$B$37,$I6)
| reference | lock | why |
|---|---|---|
C$2:C$37 |
rows only | filled right, it becomes D and E |
$B$2:$B$37 |
column and row | the device column never moves |
$I6 |
column only | every cell reads its own row’s device |
Then the rates, each a stage divided by the one before it or by all sessions:
M6 =K6/J6 engaged %
N6 =L6/J6 conversion %
O6 =L6/K6 engaged to converted
Reading the result
Mobile and desktop browse alike: 44.6% and 44.0% of sessions reach three pages. The gap opens at the last step, where 9.4% of engaged desktop sessions convert against 5.6% on mobile. That points the mobile team at the basket, sign-in and payment, not at the product pages.
The full analysis in SQL or pandas goes one step further: it removes anonymous sessions, which never convert in this data, and follows the rates year by year as traffic moves to mobile. The sheet covers 2025 only, so it cannot show that shift.
Pitfalls
- Averaging monthly rates gives quiet months the same weight as busy ones. Total, then divide.
- A fully locked sum range (
$C$2:$C$37) repeats the first column across the table. - Typing the device into the formula (
"mobile") breaks the fill down.
Lantern lit!
Practised: data validationsumifscountifmixed referencesfunnelconversion rate
- Solved
- No hints
- First run
