The request

From Aaron Ramos, Analytics Engineer
Your goal
Step 1 of 4. In E2:E50, compute each line's net total: quantity × unit_price × (1 − discount_pct ÷ 100). One formula, filled down.
- Fill
E2:E50with the right valuesnot done yet - With formulas, not typed numbersnot done yet
Step 2 of 4. In J2:J21, the total of each order in G2:G21: add up its line totals with SUMIF on the line order ids in A2:A50. Lock both ranges.
- Fill
J2:J21with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
SUMIFnot done yet
Step 3 of 4. Fill the channel summary for completed orders only. In M2:M4, the net revenue of each channel in L2:L4: SUMIFS over J2:J21 with the channel in H2:H21 and the status in I2:I21 equal to M6. In N2:N4, the number of those orders with COUNTIFS.
- Fill
M2:N4with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
SUMIFSCOUNTIFSnot done yet
Step 4 of 4. Finish the report. M9: net revenue, the sum of M2:M4. M10: orders, the sum of N2:N4. M11: average order value, M9 ÷ M10. In L13, build exactly: Nov 12 sample: $10,065 net revenue from 18 orders, AOV $559.17. Use TEXT(M7,"mmm d"), TEXT(M9,"$#,##0") and TEXT(M11,"$#,##0.00"), joined with &.
- Fill
M9:M11, L13with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
TEXTnot done yet
Step 1 · your sheet
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | quantity | unit_price | discount_pct | line_total | order_id | channel | status | order_total | channel | net_revenue | orders | |||
| 2 | 11712 | 1 | 28.99 | 0 | 11712 | web | completed | app | |||||||
| 3 | 11712 | 1 | 44.99 | 0 | 11713 | app | completed | marketplace | |||||||
| 4 | 11713 | 1 | 31.99 | 0 | 11714 | marketplace | completed | web | |||||||
| 5 | 11713 | 2 | 20.99 | 0 | 11715 | app | completed | ||||||||
| 6 | 11713 | 4 | 54.99 | 0 | 11716 | app | completed | Status counted | completed | ||||||
| 7 | 11714 | 2 | 44.99 | 0 | 11717 | app | cancelled | Report day | 2025-11-12 | ||||||
| 8 | 11714 | 1 | 17.99 | 0 | 11718 | app | completed | ||||||||
| 9 | 11714 | 1 | 70.99 | 0 | 11719 | web | completed | Net revenue | |||||||
| 10 | 11714 | 1 | 11.99 | 0 | 11720 | app | completed | Orders | |||||||
| 11 | 11715 | 2 | 149.00 | 0 | 11721 | app | completed | Average order value | |||||||
| 12 | 11715 | 4 | 11.99 | 0 | 11722 | marketplace | completed | Commentary | |||||||
| 13 | 11715 | 4 | 1099.00 | 0 | 11723 | marketplace | completed | ||||||||
| 14 | 11716 | 1 | 70.99 | 0 | 11724 | web | completed | ||||||||
| 15 | 11716 | 1 | 104.99 | 0 | 11725 | web | completed | ||||||||
| 16 | 11717 | 1 | 1609.00 | 0 | 11726 | web | completed | ||||||||
| 17 | 11718 | 1 | 109.00 | 0 | 11727 | marketplace | completed | ||||||||
| 18 | 11718 | 1 | 66.99 | 0 | 11728 | app | refunded | ||||||||
| 19 | 11719 | 12 | 10.99 | 0 | 11729 | app | completed | ||||||||
| 20 | 11719 | 1 | 11.99 | 0 | 11730 | web | completed | ||||||||
| 21 | 11720 | 1 | 104.99 | 10 | 11731 | app | completed | ||||||||
| 22 | 11720 | 3 | 349.00 | 10 | |||||||||||
| 23 | 11720 | 1 | 109.00 | 10 | |||||||||||
| 24 | 11720 | 1 | 13.99 | 10 | |||||||||||
| 25 | 11721 | 1 | 159.00 | 0 | |||||||||||
| 26 | 11722 | 2 | 72.99 | 0 | |||||||||||
| 27 | 11722 | 2 | 17.99 | 0 | |||||||||||
| 28 | 11722 | 4 | 20.99 | 0 | |||||||||||
| 29 | 11723 | 1 | 17.99 | 0 | |||||||||||
| 30 | 11723 | 1 | 219.00 | 0 | |||||||||||
| 31 | 11724 | 1 | 11.99 | 0 | |||||||||||
| 32 | 11724 | 1 | 20.99 | 0 | |||||||||||
| 33 | 11725 | 1 | 179.00 | 0 | |||||||||||
| 34 | 11725 | 2 | 28.99 | 0 | |||||||||||
| 35 | 11726 | 1 | 179.00 | 10 | |||||||||||
| 36 | 11727 | 1 | 43.99 | 0 | |||||||||||
| 37 | 11727 | 1 | 52.99 | 0 | |||||||||||
| 38 | 11728 | 4 | 179.00 | 0 | |||||||||||
| 39 | 11728 | 1 | 18.99 | 0 | |||||||||||
| 40 | 11729 | 2 | 12.99 | 0 | |||||||||||
| 41 | 11729 | 1 | 52.99 | 0 | |||||||||||
| 42 | 11729 | 2 | 11.99 | 0 | |||||||||||
| 43 | 11730 | 1 | 28.99 | 0 | |||||||||||
| 44 | 11730 | 2 | 139.00 | 0 | |||||||||||
| 45 | 11730 | 1 | 999.00 | 0 | |||||||||||
| 46 | 11730 | 1 | 159.00 | 0 | |||||||||||
| 47 | 11731 | 1 | 10.99 | 0 | |||||||||||
| 48 | 11731 | 1 | 74.99 | 0 | |||||||||||
| 49 | 11731 | 1 | 17.99 | 0 | |||||||||||
| 50 | 11731 | 1 | 259.00 | 0 | |||||||||||
| 51 | |||||||||||||||
| 52 |
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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | quantity | unit_price | discount_pct | line_total | order_id | channel | status | order_total | channel | net_revenue | orders | |||
| 2 | 11712 | 1 | 28.99 | 0 | 28.99 | 11712 | web | completed | app | ||||||
| 3 | 11712 | 1 | 44.99 | 0 | 44.99 | 11713 | app | completed | marketplace | ||||||
| 4 | 11713 | 1 | 31.99 | 0 | 31.99 | 11714 | marketplace | completed | web | ||||||
| 5 | 11713 | 2 | 20.99 | 0 | 41.98 | 11715 | app | completed | |||||||
| 6 | 11713 | 4 | 54.99 | 0 | 219.96 | 11716 | app | completed | Status counted | completed | |||||
| 7 | 11714 | 2 | 44.99 | 0 | 89.98 | 11717 | app | cancelled | Report day | 2025-11-12 | |||||
| 8 | 11714 | 1 | 17.99 | 0 | 17.99 | 11718 | app | completed | |||||||
| 9 | 11714 | 1 | 70.99 | 0 | 70.99 | 11719 | web | completed | Net revenue | ||||||
| 10 | 11714 | 1 | 11.99 | 0 | 11.99 | 11720 | app | completed | Orders | ||||||
| 11 | 11715 | 2 | 149.00 | 0 | 298.00 | 11721 | app | completed | Average order value | ||||||
| 12 | 11715 | 4 | 11.99 | 0 | 47.96 | 11722 | marketplace | completed | Commentary | ||||||
| 13 | 11715 | 4 | 1099.00 | 0 | 4396.00 | 11723 | marketplace | completed | |||||||
| 14 | 11716 | 1 | 70.99 | 0 | 70.99 | 11724 | web | completed | |||||||
| 15 | 11716 | 1 | 104.99 | 0 | 104.99 | 11725 | web | completed | |||||||
| 16 | 11717 | 1 | 1609.00 | 0 | 1609.00 | 11726 | web | completed | |||||||
| 17 | 11718 | 1 | 109.00 | 0 | 109.00 | 11727 | marketplace | completed | |||||||
| 18 | 11718 | 1 | 66.99 | 0 | 66.99 | 11728 | app | refunded | |||||||
| 19 | 11719 | 12 | 10.99 | 0 | 131.88 | 11729 | app | completed | |||||||
| 20 | 11719 | 1 | 11.99 | 0 | 11.99 | 11730 | web | completed | |||||||
| 21 | 11720 | 1 | 104.99 | 10 | 94.49 | 11731 | app | completed | |||||||
| 22 | 11720 | 3 | 349.00 | 10 | 942.30 | ||||||||||
| 23 | 11720 | 1 | 109.00 | 10 | 98.10 | ||||||||||
| 24 | 11720 | 1 | 13.99 | 10 | 12.59 | ||||||||||
| 25 | 11721 | 1 | 159.00 | 0 | 159.00 | ||||||||||
| 26 | 11722 | 2 | 72.99 | 0 | 145.98 | ||||||||||
| 27 | 11722 | 2 | 17.99 | 0 | 35.98 | ||||||||||
| 28 | 11722 | 4 | 20.99 | 0 | 83.96 | ||||||||||
| 29 | 11723 | 1 | 17.99 | 0 | 17.99 | ||||||||||
| 30 | 11723 | 1 | 219.00 | 0 | 219.00 | ||||||||||
| 31 | 11724 | 1 | 11.99 | 0 | 11.99 | ||||||||||
| 32 | 11724 | 1 | 20.99 | 0 | 20.99 | ||||||||||
| 33 | 11725 | 1 | 179.00 | 0 | 179.00 | ||||||||||
| 34 | 11725 | 2 | 28.99 | 0 | 57.98 | ||||||||||
| 35 | 11726 | 1 | 179.00 | 10 | 161.10 | ||||||||||
| 36 | 11727 | 1 | 43.99 | 0 | 43.99 | ||||||||||
| 37 | 11727 | 1 | 52.99 | 0 | 52.99 | ||||||||||
| 38 | 11728 | 4 | 179.00 | 0 | 716.00 | ||||||||||
| 39 | 11728 | 1 | 18.99 | 0 | 18.99 | ||||||||||
| 40 | 11729 | 2 | 12.99 | 0 | 25.98 | ||||||||||
| 41 | 11729 | 1 | 52.99 | 0 | 52.99 | ||||||||||
| 42 | 11729 | 2 | 11.99 | 0 | 23.98 | ||||||||||
| 43 | 11730 | 1 | 28.99 | 0 | 28.99 | ||||||||||
| 44 | 11730 | 2 | 139.00 | 0 | 278.00 | ||||||||||
| 45 | 11730 | 1 | 999.00 | 0 | 999.00 | ||||||||||
| 46 | 11730 | 1 | 159.00 | 0 | 159.00 | ||||||||||
| 47 | 11731 | 1 | 10.99 | 0 | 10.99 | ||||||||||
| 48 | 11731 | 1 | 74.99 | 0 | 74.99 | ||||||||||
| 49 | 11731 | 1 | 17.99 | 0 | 17.99 | ||||||||||
| 50 | 11731 | 1 | 259.00 | 0 | 259.00 | ||||||||||
| 51 | |||||||||||||||
| 52 |
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 | L | M | N | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | quantity | unit_price | discount_pct | line_total | order_id | channel | status | order_total | channel | net_revenue | orders | |||
| 2 | 11712 | 1 | 28.99 | 0 | 28.99 | 11712 | web | completed | 73.98 | app | |||||
| 3 | 11712 | 1 | 44.99 | 0 | 44.99 | 11713 | app | completed | 293.93 | marketplace | |||||
| 4 | 11713 | 1 | 31.99 | 0 | 31.99 | 11714 | marketplace | completed | 190.95 | web | |||||
| 5 | 11713 | 2 | 20.99 | 0 | 41.98 | 11715 | app | completed | 4741.96 | ||||||
| 6 | 11713 | 4 | 54.99 | 0 | 219.96 | 11716 | app | completed | 175.98 | Status counted | completed | ||||
| 7 | 11714 | 2 | 44.99 | 0 | 89.98 | 11717 | app | cancelled | 1609.00 | Report day | 2025-11-12 | ||||
| 8 | 11714 | 1 | 17.99 | 0 | 17.99 | 11718 | app | completed | 175.99 | ||||||
| 9 | 11714 | 1 | 70.99 | 0 | 70.99 | 11719 | web | completed | 143.87 | Net revenue | |||||
| 10 | 11714 | 1 | 11.99 | 0 | 11.99 | 11720 | app | completed | 1147.48 | Orders | |||||
| 11 | 11715 | 2 | 149.00 | 0 | 298.00 | 11721 | app | completed | 159.00 | Average order value | |||||
| 12 | 11715 | 4 | 11.99 | 0 | 47.96 | 11722 | marketplace | completed | 265.92 | Commentary | |||||
| 13 | 11715 | 4 | 1099.00 | 0 | 4396.00 | 11723 | marketplace | completed | 236.99 | ||||||
| 14 | 11716 | 1 | 70.99 | 0 | 70.99 | 11724 | web | completed | 32.98 | ||||||
| 15 | 11716 | 1 | 104.99 | 0 | 104.99 | 11725 | web | completed | 236.98 | ||||||
| 16 | 11717 | 1 | 1609.00 | 0 | 1609.00 | 11726 | web | completed | 161.10 | ||||||
| 17 | 11718 | 1 | 109.00 | 0 | 109.00 | 11727 | marketplace | completed | 96.98 | ||||||
| 18 | 11718 | 1 | 66.99 | 0 | 66.99 | 11728 | app | refunded | 734.99 | ||||||
| 19 | 11719 | 12 | 10.99 | 0 | 131.88 | 11729 | app | completed | 102.95 | ||||||
| 20 | 11719 | 1 | 11.99 | 0 | 11.99 | 11730 | web | completed | 1464.99 | ||||||
| 21 | 11720 | 1 | 104.99 | 10 | 94.49 | 11731 | app | completed | 362.97 | ||||||
| 22 | 11720 | 3 | 349.00 | 10 | 942.30 | ||||||||||
| 23 | 11720 | 1 | 109.00 | 10 | 98.10 | ||||||||||
| 24 | 11720 | 1 | 13.99 | 10 | 12.59 | ||||||||||
| 25 | 11721 | 1 | 159.00 | 0 | 159.00 | ||||||||||
| 26 | 11722 | 2 | 72.99 | 0 | 145.98 | ||||||||||
| 27 | 11722 | 2 | 17.99 | 0 | 35.98 | ||||||||||
| 28 | 11722 | 4 | 20.99 | 0 | 83.96 | ||||||||||
| 29 | 11723 | 1 | 17.99 | 0 | 17.99 | ||||||||||
| 30 | 11723 | 1 | 219.00 | 0 | 219.00 | ||||||||||
| 31 | 11724 | 1 | 11.99 | 0 | 11.99 | ||||||||||
| 32 | 11724 | 1 | 20.99 | 0 | 20.99 | ||||||||||
| 33 | 11725 | 1 | 179.00 | 0 | 179.00 | ||||||||||
| 34 | 11725 | 2 | 28.99 | 0 | 57.98 | ||||||||||
| 35 | 11726 | 1 | 179.00 | 10 | 161.10 | ||||||||||
| 36 | 11727 | 1 | 43.99 | 0 | 43.99 | ||||||||||
| 37 | 11727 | 1 | 52.99 | 0 | 52.99 | ||||||||||
| 38 | 11728 | 4 | 179.00 | 0 | 716.00 | ||||||||||
| 39 | 11728 | 1 | 18.99 | 0 | 18.99 | ||||||||||
| 40 | 11729 | 2 | 12.99 | 0 | 25.98 | ||||||||||
| 41 | 11729 | 1 | 52.99 | 0 | 52.99 | ||||||||||
| 42 | 11729 | 2 | 11.99 | 0 | 23.98 | ||||||||||
| 43 | 11730 | 1 | 28.99 | 0 | 28.99 | ||||||||||
| 44 | 11730 | 2 | 139.00 | 0 | 278.00 | ||||||||||
| 45 | 11730 | 1 | 999.00 | 0 | 999.00 | ||||||||||
| 46 | 11730 | 1 | 159.00 | 0 | 159.00 | ||||||||||
| 47 | 11731 | 1 | 10.99 | 0 | 10.99 | ||||||||||
| 48 | 11731 | 1 | 74.99 | 0 | 74.99 | ||||||||||
| 49 | 11731 | 1 | 17.99 | 0 | 17.99 | ||||||||||
| 50 | 11731 | 1 | 259.00 | 0 | 259.00 | ||||||||||
| 51 | |||||||||||||||
| 52 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
Step 4 · your sheet
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | order_id | quantity | unit_price | discount_pct | line_total | order_id | channel | status | order_total | channel | net_revenue | orders | |||
| 2 | 11712 | 1 | 28.99 | 0 | 28.99 | 11712 | web | completed | 73.98 | app | 7,160.26 | 8 | |||
| 3 | 11712 | 1 | 44.99 | 0 | 44.99 | 11713 | app | completed | 293.93 | marketplace | 790.84 | 4 | |||
| 4 | 11713 | 1 | 31.99 | 0 | 31.99 | 11714 | marketplace | completed | 190.95 | web | 2,113.90 | 6 | |||
| 5 | 11713 | 2 | 20.99 | 0 | 41.98 | 11715 | app | completed | 4741.96 | ||||||
| 6 | 11713 | 4 | 54.99 | 0 | 219.96 | 11716 | app | completed | 175.98 | Status counted | completed | ||||
| 7 | 11714 | 2 | 44.99 | 0 | 89.98 | 11717 | app | cancelled | 1609.00 | Report day | 2025-11-12 | ||||
| 8 | 11714 | 1 | 17.99 | 0 | 17.99 | 11718 | app | completed | 175.99 | ||||||
| 9 | 11714 | 1 | 70.99 | 0 | 70.99 | 11719 | web | completed | 143.87 | Net revenue | |||||
| 10 | 11714 | 1 | 11.99 | 0 | 11.99 | 11720 | app | completed | 1147.48 | Orders | |||||
| 11 | 11715 | 2 | 149.00 | 0 | 298.00 | 11721 | app | completed | 159.00 | Average order value | |||||
| 12 | 11715 | 4 | 11.99 | 0 | 47.96 | 11722 | marketplace | completed | 265.92 | Commentary | |||||
| 13 | 11715 | 4 | 1099.00 | 0 | 4396.00 | 11723 | marketplace | completed | 236.99 | ||||||
| 14 | 11716 | 1 | 70.99 | 0 | 70.99 | 11724 | web | completed | 32.98 | ||||||
| 15 | 11716 | 1 | 104.99 | 0 | 104.99 | 11725 | web | completed | 236.98 | ||||||
| 16 | 11717 | 1 | 1609.00 | 0 | 1609.00 | 11726 | web | completed | 161.10 | ||||||
| 17 | 11718 | 1 | 109.00 | 0 | 109.00 | 11727 | marketplace | completed | 96.98 | ||||||
| 18 | 11718 | 1 | 66.99 | 0 | 66.99 | 11728 | app | refunded | 734.99 | ||||||
| 19 | 11719 | 12 | 10.99 | 0 | 131.88 | 11729 | app | completed | 102.95 | ||||||
| 20 | 11719 | 1 | 11.99 | 0 | 11.99 | 11730 | web | completed | 1464.99 | ||||||
| 21 | 11720 | 1 | 104.99 | 10 | 94.49 | 11731 | app | completed | 362.97 | ||||||
| 22 | 11720 | 3 | 349.00 | 10 | 942.30 | ||||||||||
| 23 | 11720 | 1 | 109.00 | 10 | 98.10 | ||||||||||
| 24 | 11720 | 1 | 13.99 | 10 | 12.59 | ||||||||||
| 25 | 11721 | 1 | 159.00 | 0 | 159.00 | ||||||||||
| 26 | 11722 | 2 | 72.99 | 0 | 145.98 | ||||||||||
| 27 | 11722 | 2 | 17.99 | 0 | 35.98 | ||||||||||
| 28 | 11722 | 4 | 20.99 | 0 | 83.96 | ||||||||||
| 29 | 11723 | 1 | 17.99 | 0 | 17.99 | ||||||||||
| 30 | 11723 | 1 | 219.00 | 0 | 219.00 | ||||||||||
| 31 | 11724 | 1 | 11.99 | 0 | 11.99 | ||||||||||
| 32 | 11724 | 1 | 20.99 | 0 | 20.99 | ||||||||||
| 33 | 11725 | 1 | 179.00 | 0 | 179.00 | ||||||||||
| 34 | 11725 | 2 | 28.99 | 0 | 57.98 | ||||||||||
| 35 | 11726 | 1 | 179.00 | 10 | 161.10 | ||||||||||
| 36 | 11727 | 1 | 43.99 | 0 | 43.99 | ||||||||||
| 37 | 11727 | 1 | 52.99 | 0 | 52.99 | ||||||||||
| 38 | 11728 | 4 | 179.00 | 0 | 716.00 | ||||||||||
| 39 | 11728 | 1 | 18.99 | 0 | 18.99 | ||||||||||
| 40 | 11729 | 2 | 12.99 | 0 | 25.98 | ||||||||||
| 41 | 11729 | 1 | 52.99 | 0 | 52.99 | ||||||||||
| 42 | 11729 | 2 | 11.99 | 0 | 23.98 | ||||||||||
| 43 | 11730 | 1 | 28.99 | 0 | 28.99 | ||||||||||
| 44 | 11730 | 2 | 139.00 | 0 | 278.00 | ||||||||||
| 45 | 11730 | 1 | 999.00 | 0 | 999.00 | ||||||||||
| 46 | 11730 | 1 | 159.00 | 0 | 159.00 | ||||||||||
| 47 | 11731 | 1 | 10.99 | 0 | 10.99 | ||||||||||
| 48 | 11731 | 1 | 74.99 | 0 | 74.99 | ||||||||||
| 49 | 11731 | 1 | 17.99 | 0 | 17.99 | ||||||||||
| 50 | 11731 | 1 | 259.00 | 0 | 259.00 | ||||||||||
| 51 | |||||||||||||||
| 52 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
What Aaron gets, and why
The lesson
One sheet, the whole chain
This boss level puts the chapter together on one sheet, the way a real monthly report is built: raw lines on the left, then blocks that each read only the block before them. Aaron will point the finished sheet at the full month; you build and test it on one day.
The day is Wednesday, November 12, 2025, chosen on purpose. It has 49 lines in A2:D50 and 20
orders in the order block G2:I21, with each order’s channel and status. Two of those orders
must not count as sales: 11717 was cancelled and 11728 was refunded. If the report gets them
right on this day, the status rule works.
Each block feeds one part of the written report from level 1:
| report section | where it comes from on this sheet |
|---|---|
| Objective | Aaron’s ticket: the November numbers, refreshable, by channel |
| Data and method | The line and order blocks, the revenue formula in E, the status rule in M6 |
| Findings | The channel summary in L1:N4 |
| Executive summary | The KPI block in M9:M11 and the sentence in L13 |
| Limits | One sample day; returns not included; shipping fees out of revenue |
Keeping the method in cells (the status rule, the revenue formula) is what makes the data and method section honest: anyone can click a number and see how it was made.
Step 1: line totals
E2 =B2*C2*(1-D2/100)
Filled down to E50. The same definition as everywhere in this chapter and in the SQL case:
quantity × price × (1 − discount ÷ 100), with no shipping.
Step 2: order totals
J2 =SUMIF($A$2:$A$50,G2,$E$2:$E$50)
Filled down to J21. Check: SUM(J2:J21) and SUM(E2:E50) both give 12,408.99.
Step 3: the channel summary, completed orders only
Two criteria per cell: the channel in column L and the status rule in M6.
M2 =SUMIFS($J$2:$J$21,$H$2:$H$21,L2,$I$2:$I$21,$M$6)
N2 =COUNTIFS($H$2:$H$21,L2,$I$2:$I$21,$M$6)
Both filled down to row 4. COUNTIFS counts orders because it runs on the order block, where
each row is one order. Counted on the line block, the day would have 49 of them instead of 20.
Step 4: KPIs and the sentence
M9 =SUM(M2:M4)
M10 =SUM(N2:N4)
M11 =M9/M10
L13 =TEXT(M7,"mmm d")&" sample: "&TEXT(M9,"$#,##0")&" net revenue from "&M10&" orders, AOV "&TEXT(M11,"$#,##0.00")&"."
L13 reads: Nov 12 sample: $10,065 net revenue from 18 orders, AOV $559.17.
Thinking like an analyst
Reconcile the day before you trust it. All 20 orders add up to 12,408.99, and the report shows 10,065.00. The difference, 2,343.99, must be exactly the orders the status rule leaves out: 1,609.00 for cancelled order 11717 plus 734.99 for refunded order 11728. It is, to the cent, so the filter does what it should and nothing else.
Then compare with a source you already trust. In level 6’s daily table, November 12 shows 18 completed orders and 10,065.00 of net revenue, the same as this sheet. That daily table is built on the definition the SQL holiday case uses, so the template is ready for Aaron to point at the full month, where it will return 651 orders and $292,364.40.
Finally, read the result. The day’s AOV, $559.17, is far above the month’s $449.10, and one order, 11715 at 4,741.96, is 47% of the day’s revenue. A one-day number is fine for testing a template; it is not a trend.
Common mistakes
- Summing the line block by channel: the lines don’t carry a channel or a status, so there is nothing to filter on. Roll up to orders first.
- Counting lines as orders: 49 lines, 20 orders.
- Typing
"completed"into each formula instead of pointing atM6. - Using
AVERAGE(J2:J21)for AOV: 620.45, because it includes the cancelled and refunded orders.
Lantern lit!
Practised: sumifsumifscountifstext functionkpireconciliation
- Solved
- No hints
- First run
