The request

From Jordan Reyes, Head of Marketing
Your goal
Step 1 of 3. In G5, add up the subtotals (D2:D52) of app orders that are completed with SUMIFS. Point at the channel label in F5 and the status label in G4, not at typed text, and put the $ signs in now so the formula can be dragged later: lock the data ranges fully, F5 by its column only, G4 by its row only.
- Fill
G5with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
SUMIFSnot done yet
Step 2 of 3. Fill the whole block G5:I7 from your G5 formula: drag it right to I5, then down to row 7 (or select G5:I7 and press Ctrl+R, then Ctrl+D). Every cell must hold the same formula, shifted, not a new one typed by hand.
- Fill
G5:I7with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
SUMIFSnot done yet
Step 3 of 3. Add the totals and the check: J5:J7 the total of each row (SUM of G:I), G8:J8 the total of each column (SUM of rows 5 to 7), and in G10 the total of all subtotals in D2:D52 minus the table's grand total in J8. It should come out 0.
- Fill
J5:J7, G8:J8, G10with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
SUMnot done yet
Step 1 · your sheet
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | channel | status | subtotal | Revenue on Nov 29 by channel and status | ||||||
| 2 | 12115 | app | completed | 23.98 | |||||||
| 3 | 12116 | marketplace | completed | 19.99 | |||||||
| 4 | 12117 | web | cancelled | 44.99 | channel | completed | cancelled | refunded | Total | ||
| 5 | 12118 | app | completed | 300.74 | app | ||||||
| 6 | 12119 | marketplace | completed | 866.25 | marketplace | ||||||
| 7 | 12120 | web | completed | 75.96 | web | ||||||
| 8 | 12121 | web | completed | 53.99 | Total | ||||||
| 9 | 12122 | app | completed | 1660.50 | |||||||
| 10 | 12123 | web | completed | 218.99 | Data minus table | ||||||
| 11 | 12124 | web | completed | 338.23 | |||||||
| 12 | 12125 | app | completed | 764.23 | |||||||
| 13 | 12126 | web | completed | 72.71 | |||||||
| 14 | 12127 | app | completed | 10.49 | |||||||
| 15 | 12128 | app | completed | 218.00 | |||||||
| 16 | 12129 | marketplace | completed | 33.74 | |||||||
| 17 | 12130 | marketplace | cancelled | 100.46 | |||||||
| 18 | 12131 | web | completed | 15.74 | |||||||
| 19 | 12132 | web | completed | 240.73 | |||||||
| 20 | 12133 | web | refunded | 196.98 | |||||||
| 21 | 12134 | app | completed | 695.20 | |||||||
| 22 | 12135 | app | completed | 358.44 | |||||||
| 23 | 12136 | app | completed | 565.46 | |||||||
| 24 | 12137 | app | completed | 141.70 | |||||||
| 25 | 12138 | marketplace | completed | 4428.00 | |||||||
| 26 | 12139 | app | completed | 39.74 | |||||||
| 27 | 12140 | app | completed | 9.74 | |||||||
| 28 | 12141 | web | completed | 572.23 | |||||||
| 29 | 12142 | app | cancelled | 171.92 | |||||||
| 30 | 12143 | web | completed | 103.48 | |||||||
| 31 | 12144 | web | completed | 485.22 | |||||||
| 32 | 12145 | app | completed | 1387.37 | |||||||
| 33 | 12146 | app | completed | 304.97 | |||||||
| 34 | 12147 | app | completed | 32.23 | |||||||
| 35 | 12148 | web | completed | 135.97 | |||||||
| 36 | 12149 | app | completed | 1226.25 | |||||||
| 37 | 12150 | app | completed | 500.97 | |||||||
| 38 | 12151 | web | cancelled | 74.99 | |||||||
| 39 | 12152 | app | cancelled | 1034.89 | |||||||
| 40 | 12153 | web | completed | 68.23 | |||||||
| 41 | 12154 | app | completed | 60.73 | |||||||
| 42 | 12155 | web | completed | 244.97 | |||||||
| 43 | 12156 | web | completed | 126.75 | |||||||
| 44 | 12157 | marketplace | completed | 203.94 | |||||||
| 45 | 12158 | web | completed | 9.74 | |||||||
| 46 | 12159 | marketplace | completed | 67.48 | |||||||
| 47 | 12160 | app | completed | 28.48 | |||||||
| 48 | 12161 | web | completed | 2218.48 | |||||||
| 49 | 12162 | app | cancelled | 169.45 | |||||||
| 50 | 12163 | app | completed | 428.00 | |||||||
| 51 | 12164 | marketplace | completed | 14.24 | |||||||
| 52 | 12165 | web | completed | 9.74 | |||||||
| 53 | |||||||||||
| 54 |
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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | channel | status | subtotal | Revenue on Nov 29 by channel and status | ||||||
| 2 | 12115 | app | completed | 23.98 | |||||||
| 3 | 12116 | marketplace | completed | 19.99 | |||||||
| 4 | 12117 | web | cancelled | 44.99 | channel | completed | cancelled | refunded | Total | ||
| 5 | 12118 | app | completed | 300.74 | app | 8757.22 | |||||
| 6 | 12119 | marketplace | completed | 866.25 | marketplace | ||||||
| 7 | 12120 | web | completed | 75.96 | web | ||||||
| 8 | 12121 | web | completed | 53.99 | Total | ||||||
| 9 | 12122 | app | completed | 1660.50 | |||||||
| 10 | 12123 | web | completed | 218.99 | Data minus table | ||||||
| 11 | 12124 | web | completed | 338.23 | |||||||
| 12 | 12125 | app | completed | 764.23 | |||||||
| 13 | 12126 | web | completed | 72.71 | |||||||
| 14 | 12127 | app | completed | 10.49 | |||||||
| 15 | 12128 | app | completed | 218.00 | |||||||
| 16 | 12129 | marketplace | completed | 33.74 | |||||||
| 17 | 12130 | marketplace | cancelled | 100.46 | |||||||
| 18 | 12131 | web | completed | 15.74 | |||||||
| 19 | 12132 | web | completed | 240.73 | |||||||
| 20 | 12133 | web | refunded | 196.98 | |||||||
| 21 | 12134 | app | completed | 695.20 | |||||||
| 22 | 12135 | app | completed | 358.44 | |||||||
| 23 | 12136 | app | completed | 565.46 | |||||||
| 24 | 12137 | app | completed | 141.70 | |||||||
| 25 | 12138 | marketplace | completed | 4428.00 | |||||||
| 26 | 12139 | app | completed | 39.74 | |||||||
| 27 | 12140 | app | completed | 9.74 | |||||||
| 28 | 12141 | web | completed | 572.23 | |||||||
| 29 | 12142 | app | cancelled | 171.92 | |||||||
| 30 | 12143 | web | completed | 103.48 | |||||||
| 31 | 12144 | web | completed | 485.22 | |||||||
| 32 | 12145 | app | completed | 1387.37 | |||||||
| 33 | 12146 | app | completed | 304.97 | |||||||
| 34 | 12147 | app | completed | 32.23 | |||||||
| 35 | 12148 | web | completed | 135.97 | |||||||
| 36 | 12149 | app | completed | 1226.25 | |||||||
| 37 | 12150 | app | completed | 500.97 | |||||||
| 38 | 12151 | web | cancelled | 74.99 | |||||||
| 39 | 12152 | app | cancelled | 1034.89 | |||||||
| 40 | 12153 | web | completed | 68.23 | |||||||
| 41 | 12154 | app | completed | 60.73 | |||||||
| 42 | 12155 | web | completed | 244.97 | |||||||
| 43 | 12156 | web | completed | 126.75 | |||||||
| 44 | 12157 | marketplace | completed | 203.94 | |||||||
| 45 | 12158 | web | completed | 9.74 | |||||||
| 46 | 12159 | marketplace | completed | 67.48 | |||||||
| 47 | 12160 | app | completed | 28.48 | |||||||
| 48 | 12161 | web | completed | 2218.48 | |||||||
| 49 | 12162 | app | cancelled | 169.45 | |||||||
| 50 | 12163 | app | completed | 428.00 | |||||||
| 51 | 12164 | marketplace | completed | 14.24 | |||||||
| 52 | 12165 | web | completed | 9.74 | |||||||
| 53 | |||||||||||
| 54 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
Step 3 · your sheet
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | channel | status | subtotal | Revenue on Nov 29 by channel and status | ||||||
| 2 | 12115 | app | completed | 23.98 | |||||||
| 3 | 12116 | marketplace | completed | 19.99 | |||||||
| 4 | 12117 | web | cancelled | 44.99 | channel | completed | cancelled | refunded | Total | ||
| 5 | 12118 | app | completed | 300.74 | app | 8757.22 | 1376.26 | 0.00 | |||
| 6 | 12119 | marketplace | completed | 866.25 | marketplace | 5633.64 | 100.46 | 0.00 | |||
| 7 | 12120 | web | completed | 75.96 | web | 4991.16 | 119.98 | 196.98 | |||
| 8 | 12121 | web | completed | 53.99 | Total | ||||||
| 9 | 12122 | app | completed | 1660.50 | |||||||
| 10 | 12123 | web | completed | 218.99 | Data minus table | ||||||
| 11 | 12124 | web | completed | 338.23 | |||||||
| 12 | 12125 | app | completed | 764.23 | |||||||
| 13 | 12126 | web | completed | 72.71 | |||||||
| 14 | 12127 | app | completed | 10.49 | |||||||
| 15 | 12128 | app | completed | 218.00 | |||||||
| 16 | 12129 | marketplace | completed | 33.74 | |||||||
| 17 | 12130 | marketplace | cancelled | 100.46 | |||||||
| 18 | 12131 | web | completed | 15.74 | |||||||
| 19 | 12132 | web | completed | 240.73 | |||||||
| 20 | 12133 | web | refunded | 196.98 | |||||||
| 21 | 12134 | app | completed | 695.20 | |||||||
| 22 | 12135 | app | completed | 358.44 | |||||||
| 23 | 12136 | app | completed | 565.46 | |||||||
| 24 | 12137 | app | completed | 141.70 | |||||||
| 25 | 12138 | marketplace | completed | 4428.00 | |||||||
| 26 | 12139 | app | completed | 39.74 | |||||||
| 27 | 12140 | app | completed | 9.74 | |||||||
| 28 | 12141 | web | completed | 572.23 | |||||||
| 29 | 12142 | app | cancelled | 171.92 | |||||||
| 30 | 12143 | web | completed | 103.48 | |||||||
| 31 | 12144 | web | completed | 485.22 | |||||||
| 32 | 12145 | app | completed | 1387.37 | |||||||
| 33 | 12146 | app | completed | 304.97 | |||||||
| 34 | 12147 | app | completed | 32.23 | |||||||
| 35 | 12148 | web | completed | 135.97 | |||||||
| 36 | 12149 | app | completed | 1226.25 | |||||||
| 37 | 12150 | app | completed | 500.97 | |||||||
| 38 | 12151 | web | cancelled | 74.99 | |||||||
| 39 | 12152 | app | cancelled | 1034.89 | |||||||
| 40 | 12153 | web | completed | 68.23 | |||||||
| 41 | 12154 | app | completed | 60.73 | |||||||
| 42 | 12155 | web | completed | 244.97 | |||||||
| 43 | 12156 | web | completed | 126.75 | |||||||
| 44 | 12157 | marketplace | completed | 203.94 | |||||||
| 45 | 12158 | web | completed | 9.74 | |||||||
| 46 | 12159 | marketplace | completed | 67.48 | |||||||
| 47 | 12160 | app | completed | 28.48 | |||||||
| 48 | 12161 | web | completed | 2218.48 | |||||||
| 49 | 12162 | app | cancelled | 169.45 | |||||||
| 50 | 12163 | app | completed | 428.00 | |||||||
| 51 | 12164 | marketplace | completed | 14.24 | |||||||
| 52 | 12165 | web | completed | 9.74 | |||||||
| 53 | |||||||||||
| 54 |
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
One formula, nine cells
A summary table is a grid of conditional totals: one condition from the row label, one from the
column label. You could write nine different SUMIFS, but then a change means nine edits, and
one typo hides in plain sight. The analyst’s way is one formula, written so it can be dragged
across and down.
The sheet holds all 51 orders of Saturday, November 29, in A1:D52. The table’s labels are
already there: channels down F5:F7, statuses across G4:I4, totals in column J and row 8.
Step 1: one cell, with the right $ signs
The first cell is completed app revenue: channel from F5, status from G4.
G5 =SUMIFS($D$2:$D$52,$B$2:$B$52,$F5,$C$2:$C$52,G$4)
Each reference gets exactly the lock it needs:
| Reference | Lock | Why |
|---|---|---|
$D$2:$D$52, $B$2:$B$52, $C$2:$C$52 |
column and row | the data never moves |
$F5 |
column only | every cell reads column F, but its own row |
G$4 |
row only | every cell reads row 4, but its own column |
The mixed references from chapter 1 ($F5, G$4) are what make the grid work. Read them as
“always look left to column F” and “always look up to row 4”.
Step 2: drag it across and down
Fill G5 right to I5, then fill G5:I5 down to row 7. Check two cells in the formula bar:
I5 =SUMIFS($D$2:$D$52,$B$2:$B$52,$F5,$C$2:$C$52,I$4)
G7 =SUMIFS($D$2:$D$52,$B$2:$B$52,$F7,$C$2:$C$52,G$4)
I5 is refunded app revenue: 0. G7 is completed web revenue: 4,991.16. The zeros in the table
are real: on this day the only refunded order came through the web.
What goes wrong with the other locks:
- No
$on the labels (F5,G4): filled right,F5becomesG5, a number inside the table, soH5looks for a channel called 8757.22 and shows 0. - Full lock on the labels (
$F$5,$G$4): every cell repeats the app/completed number. - No
$on the data: the ranges slide down and right with the formula and miss rows.
Step 3: totals and the check
J5:J7 =SUM(G5:I5)
G8:J8 =SUM(G5:G7)
G10 =SUM(D2:D52)-J8
J8 is the grand total, 21,175.70. G10 compares it with the plain sum of the data. Zero means
every order was counted once: no channel or status is missing from the labels, and none was
double counted.
Thinking like an analyst
The table answers Jordan’s question at a glance. Completed revenue was 19,382.02. Cancelled orders were 1,596.70, almost all from the app (1,376.26). Refunds were small: one web order of 196.98. Before the meeting, the check cell is what you point to when someone asks “does this include everything?”
A check cell is cheap insurance on every summary table. Data changes, labels get typos, and a new
status shows up in next month’s export. A SUMIFS on a label that matches no row just shows 0,
so without the check, a missing slice is invisible.
Common mistakes
- Writing a separate formula per cell instead of one dragged formula.
- Locking
F5andG4fully, so every cell shows 8,757.22. - Taking the totals from the data (
=SUM(D2:D52)) inJ8instead of from the table: the check then compares the data with itself and always says 0. - Typing the status into the formula (
"completed"), which breaks the drag across.
Lantern lit!
Practised: sumifsmixed referencessummary tablefill rightreconciliation
- Solved
- No hints
- First run
