The request

From Thomas Whitaker, Head of Merchandising
Your goal
Step 1 of 4. Flag the products missing from the other list. In D3:D19, write "yes" when the catalog product's id appears in February's list (A23:A38) and "no" when it doesn't. In D23:D38, the same the other way: "yes" when February's product is still in the catalog (A3:A19), "no" when not. Use IF around COUNTIF.
- Fill
D3:D19, D23:D38with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
COUNTIFnot done yet
Step 2 of 4. In E3:E19, pull each catalog product's February price from the February list with XLOOKUP: look up the id in A23:A38 and return C23:C38. For products not on February's list, return an empty text "" instead of #N/A.
- Fill
E3:E19with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
XLOOKUPnot done yet
Step 3 of 4. In F3:F19, compute the price change since February as a fraction: list_price divided by feb_price, minus 1. Leave it as an empty text "" for products with no February price.
- Fill
F3:F19with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
IFnot done yet
Step 4 of 4. Count what you found. In I2, the number of catalog products not on February's list ("no" in D3:D19). In I3, the number of February products no longer in the catalog ("no" in D23:D38). In I4, the number of products whose price went up (a change above 0 in F3:F19). Use COUNTIF.
- Fill
I2:I4with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
COUNTIFnot done yet
Step 1 · your sheet
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Catalog today (active Decor) | ||||||||
| 2 | product_id | name | list_price | on_feb_list | feb_price | change_pct | New since February | ||
| 3 | 181 | Cedar Marble Bud Vase | 179.00 | Dropped since February | |||||
| 4 | 182 | Nantucket Brass Wall Mirror | 17.99 | Prices raised | |||||
| 5 | 184 | Thatcher Oak Candle | 17.99 | ||||||
| 6 | 185 | Ridge Brass Bud Vase | 12.99 | ||||||
| 7 | 186 | Birch Brass Floor Mirror | 20.99 | ||||||
| 8 | 187 | Ashford Oak Canvas Print | 149.00 | ||||||
| 9 | 188 | Fern Oak Candle Holder Set | 179.00 | ||||||
| 10 | 189 | Northfield Brass Bud Vase | 76.99 | ||||||
| 11 | 190 | Elm Brass Floor Mirror | 43.99 | ||||||
| 12 | 192 | Thatcher Marble Candle Holder Set | 15.99 | ||||||
| 13 | 193 | Delancey Brass Vase | 19.99 | ||||||
| 14 | 194 | Chester Brass Wall Mirror | 159.00 | ||||||
| 15 | 195 | Fairhaven Soy Wax Framed Print | 103.99 | ||||||
| 16 | 196 | Pine Glass Candle Holder Set | 25.99 | ||||||
| 17 | 197 | Ridge Soy Wax Vase | 109.00 | ||||||
| 18 | 198 | Harbor Oak Floor Mirror | 44.99 | ||||||
| 19 | 199 | Oakley Brass Framed Print | 104.99 | ||||||
| 20 | |||||||||
| 21 | February 2025 price list | ||||||||
| 22 | product_id | name | feb_price | in_catalog | |||||
| 23 | 187 | Ashford Oak Canvas Print | 149.00 | ||||||
| 24 | 186 | Birch Brass Floor Mirror | 20.99 | ||||||
| 25 | 181 | Cedar Marble Bud Vase | 179.00 | ||||||
| 26 | 194 | Chester Brass Wall Mirror | 149.00 | ||||||
| 27 | 193 | Delancey Brass Vase | 19.99 | ||||||
| 28 | 190 | Elm Brass Floor Mirror | 43.99 | ||||||
| 29 | 188 | Fern Oak Candle Holder Set | 179.00 | ||||||
| 30 | 183 | Glen Glass Canvas Print | 189.00 | ||||||
| 31 | 198 | Harbor Oak Floor Mirror | 41.99 | ||||||
| 32 | 191 | Hazel Ceramic Canvas Print | 42.99 | ||||||
| 33 | 189 | Northfield Brass Bud Vase | 76.99 | ||||||
| 34 | 199 | Oakley Brass Framed Print | 98.99 | ||||||
| 35 | 196 | Pine Glass Candle Holder Set | 25.99 | ||||||
| 36 | 185 | Ridge Brass Bud Vase | 12.00 | ||||||
| 37 | 192 | Thatcher Marble Candle Holder Set | 14.99 | ||||||
| 38 | 184 | Thatcher Oak Candle | 17.99 | ||||||
| 39 | |||||||||
| 40 |
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 | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Catalog today (active Decor) | ||||||||
| 2 | product_id | name | list_price | on_feb_list | feb_price | change_pct | New since February | ||
| 3 | 181 | Cedar Marble Bud Vase | 179.00 | yes | Dropped since February | ||||
| 4 | 182 | Nantucket Brass Wall Mirror | 17.99 | no | Prices raised | ||||
| 5 | 184 | Thatcher Oak Candle | 17.99 | yes | |||||
| 6 | 185 | Ridge Brass Bud Vase | 12.99 | yes | |||||
| 7 | 186 | Birch Brass Floor Mirror | 20.99 | yes | |||||
| 8 | 187 | Ashford Oak Canvas Print | 149.00 | yes | |||||
| 9 | 188 | Fern Oak Candle Holder Set | 179.00 | yes | |||||
| 10 | 189 | Northfield Brass Bud Vase | 76.99 | yes | |||||
| 11 | 190 | Elm Brass Floor Mirror | 43.99 | yes | |||||
| 12 | 192 | Thatcher Marble Candle Holder Set | 15.99 | yes | |||||
| 13 | 193 | Delancey Brass Vase | 19.99 | yes | |||||
| 14 | 194 | Chester Brass Wall Mirror | 159.00 | yes | |||||
| 15 | 195 | Fairhaven Soy Wax Framed Print | 103.99 | no | |||||
| 16 | 196 | Pine Glass Candle Holder Set | 25.99 | yes | |||||
| 17 | 197 | Ridge Soy Wax Vase | 109.00 | no | |||||
| 18 | 198 | Harbor Oak Floor Mirror | 44.99 | yes | |||||
| 19 | 199 | Oakley Brass Framed Print | 104.99 | yes | |||||
| 20 | |||||||||
| 21 | February 2025 price list | ||||||||
| 22 | product_id | name | feb_price | in_catalog | |||||
| 23 | 187 | Ashford Oak Canvas Print | 149.00 | yes | |||||
| 24 | 186 | Birch Brass Floor Mirror | 20.99 | yes | |||||
| 25 | 181 | Cedar Marble Bud Vase | 179.00 | yes | |||||
| 26 | 194 | Chester Brass Wall Mirror | 149.00 | yes | |||||
| 27 | 193 | Delancey Brass Vase | 19.99 | yes | |||||
| 28 | 190 | Elm Brass Floor Mirror | 43.99 | yes | |||||
| 29 | 188 | Fern Oak Candle Holder Set | 179.00 | yes | |||||
| 30 | 183 | Glen Glass Canvas Print | 189.00 | no | |||||
| 31 | 198 | Harbor Oak Floor Mirror | 41.99 | yes | |||||
| 32 | 191 | Hazel Ceramic Canvas Print | 42.99 | no | |||||
| 33 | 189 | Northfield Brass Bud Vase | 76.99 | yes | |||||
| 34 | 199 | Oakley Brass Framed Print | 98.99 | yes | |||||
| 35 | 196 | Pine Glass Candle Holder Set | 25.99 | yes | |||||
| 36 | 185 | Ridge Brass Bud Vase | 12.00 | yes | |||||
| 37 | 192 | Thatcher Marble Candle Holder Set | 14.99 | yes | |||||
| 38 | 184 | Thatcher Oak Candle | 17.99 | yes | |||||
| 39 | |||||||||
| 40 |
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 | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Catalog today (active Decor) | ||||||||
| 2 | product_id | name | list_price | on_feb_list | feb_price | change_pct | New since February | ||
| 3 | 181 | Cedar Marble Bud Vase | 179.00 | yes | 179.00 | Dropped since February | |||
| 4 | 182 | Nantucket Brass Wall Mirror | 17.99 | no | Prices raised | ||||
| 5 | 184 | Thatcher Oak Candle | 17.99 | yes | 17.99 | ||||
| 6 | 185 | Ridge Brass Bud Vase | 12.99 | yes | 12.00 | ||||
| 7 | 186 | Birch Brass Floor Mirror | 20.99 | yes | 20.99 | ||||
| 8 | 187 | Ashford Oak Canvas Print | 149.00 | yes | 149.00 | ||||
| 9 | 188 | Fern Oak Candle Holder Set | 179.00 | yes | 179.00 | ||||
| 10 | 189 | Northfield Brass Bud Vase | 76.99 | yes | 76.99 | ||||
| 11 | 190 | Elm Brass Floor Mirror | 43.99 | yes | 43.99 | ||||
| 12 | 192 | Thatcher Marble Candle Holder Set | 15.99 | yes | 14.99 | ||||
| 13 | 193 | Delancey Brass Vase | 19.99 | yes | 19.99 | ||||
| 14 | 194 | Chester Brass Wall Mirror | 159.00 | yes | 149.00 | ||||
| 15 | 195 | Fairhaven Soy Wax Framed Print | 103.99 | no | |||||
| 16 | 196 | Pine Glass Candle Holder Set | 25.99 | yes | 25.99 | ||||
| 17 | 197 | Ridge Soy Wax Vase | 109.00 | no | |||||
| 18 | 198 | Harbor Oak Floor Mirror | 44.99 | yes | 41.99 | ||||
| 19 | 199 | Oakley Brass Framed Print | 104.99 | yes | 98.99 | ||||
| 20 | |||||||||
| 21 | February 2025 price list | ||||||||
| 22 | product_id | name | feb_price | in_catalog | |||||
| 23 | 187 | Ashford Oak Canvas Print | 149.00 | yes | |||||
| 24 | 186 | Birch Brass Floor Mirror | 20.99 | yes | |||||
| 25 | 181 | Cedar Marble Bud Vase | 179.00 | yes | |||||
| 26 | 194 | Chester Brass Wall Mirror | 149.00 | yes | |||||
| 27 | 193 | Delancey Brass Vase | 19.99 | yes | |||||
| 28 | 190 | Elm Brass Floor Mirror | 43.99 | yes | |||||
| 29 | 188 | Fern Oak Candle Holder Set | 179.00 | yes | |||||
| 30 | 183 | Glen Glass Canvas Print | 189.00 | no | |||||
| 31 | 198 | Harbor Oak Floor Mirror | 41.99 | yes | |||||
| 32 | 191 | Hazel Ceramic Canvas Print | 42.99 | no | |||||
| 33 | 189 | Northfield Brass Bud Vase | 76.99 | yes | |||||
| 34 | 199 | Oakley Brass Framed Print | 98.99 | yes | |||||
| 35 | 196 | Pine Glass Candle Holder Set | 25.99 | yes | |||||
| 36 | 185 | Ridge Brass Bud Vase | 12.00 | yes | |||||
| 37 | 192 | Thatcher Marble Candle Holder Set | 14.99 | yes | |||||
| 38 | 184 | Thatcher Oak Candle | 17.99 | yes | |||||
| 39 | |||||||||
| 40 |
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 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Catalog today (active Decor) | |||||||||
| 2 | product_id | name | list_price | on_feb_list | feb_price | change_pct | New since February | |||
| 3 | 181 | Cedar Marble Bud Vase | 179.00 | yes | 179.00 | 0.0% | Dropped since February | |||
| 4 | 182 | Nantucket Brass Wall Mirror | 17.99 | no | Prices raised | |||||
| 5 | 184 | Thatcher Oak Candle | 17.99 | yes | 17.99 | 0.0% | ||||
| 6 | 185 | Ridge Brass Bud Vase | 12.99 | yes | 12.00 | 8.3% | ||||
| 7 | 186 | Birch Brass Floor Mirror | 20.99 | yes | 20.99 | 0.0% | ||||
| 8 | 187 | Ashford Oak Canvas Print | 149.00 | yes | 149.00 | 0.0% | ||||
| 9 | 188 | Fern Oak Candle Holder Set | 179.00 | yes | 179.00 | 0.0% | ||||
| 10 | 189 | Northfield Brass Bud Vase | 76.99 | yes | 76.99 | 0.0% | ||||
| 11 | 190 | Elm Brass Floor Mirror | 43.99 | yes | 43.99 | 0.0% | ||||
| 12 | 192 | Thatcher Marble Candle Holder Set | 15.99 | yes | 14.99 | 6.7% | ||||
| 13 | 193 | Delancey Brass Vase | 19.99 | yes | 19.99 | 0.0% | ||||
| 14 | 194 | Chester Brass Wall Mirror | 159.00 | yes | 149.00 | 6.7% | ||||
| 15 | 195 | Fairhaven Soy Wax Framed Print | 103.99 | no | ||||||
| 16 | 196 | Pine Glass Candle Holder Set | 25.99 | yes | 25.99 | 0.0% | ||||
| 17 | 197 | Ridge Soy Wax Vase | 109.00 | no | ||||||
| 18 | 198 | Harbor Oak Floor Mirror | 44.99 | yes | 41.99 | 7.1% | ||||
| 19 | 199 | Oakley Brass Framed Print | 104.99 | yes | 98.99 | 6.1% | ||||
| 20 | ||||||||||
| 21 | February 2025 price list | |||||||||
| 22 | product_id | name | feb_price | in_catalog | ||||||
| 23 | 187 | Ashford Oak Canvas Print | 149.00 | yes | ||||||
| 24 | 186 | Birch Brass Floor Mirror | 20.99 | yes | ||||||
| 25 | 181 | Cedar Marble Bud Vase | 179.00 | yes | ||||||
| 26 | 194 | Chester Brass Wall Mirror | 149.00 | yes | ||||||
| 27 | 193 | Delancey Brass Vase | 19.99 | yes | ||||||
| 28 | 190 | Elm Brass Floor Mirror | 43.99 | yes | ||||||
| 29 | 188 | Fern Oak Candle Holder Set | 179.00 | yes | ||||||
| 30 | 183 | Glen Glass Canvas Print | 189.00 | no | ||||||
| 31 | 198 | Harbor Oak Floor Mirror | 41.99 | yes | ||||||
| 32 | 191 | Hazel Ceramic Canvas Print | 42.99 | no | ||||||
| 33 | 189 | Northfield Brass Bud Vase | 76.99 | yes | ||||||
| 34 | 199 | Oakley Brass Framed Print | 98.99 | yes | ||||||
| 35 | 196 | Pine Glass Candle Holder Set | 25.99 | yes | ||||||
| 36 | 185 | Ridge Brass Bud Vase | 12.00 | yes | ||||||
| 37 | 192 | Thatcher Marble Candle Holder Set | 14.99 | yes | ||||||
| 38 | 184 | Thatcher Oak Candle | 17.99 | yes | ||||||
| 39 | ||||||||||
| 40 |
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
Two lists that should match, and don’t
Thomas has two versions of the same thing: the Decor products the catalog sells today, and the Decor price list from February 2025, rebuilt from what customers actually paid that month. Lists like these never match row for row. Products launch, products are discontinued, prices move. Reconciling them is the most common “consolidation” job of all, and it uses everything in this chapter: matching by key instead of position, and a master table built with lookups.
The sheet holds today’s catalog in A3:C19 (17 active products, sorted by id) and February’s
list in A23:C38 (16 products, sorted by name). Different lengths and different orders: the only
safe way to compare them is by product_id.
Step 1: what’s missing on each side
COUNTIF(range, value) counts how often a value occurs. Used on the other list, 0 means “not
there”:
D3 =IF(COUNTIF($A$23:$A$38,A3)=0,"no","yes")
D23 =IF(COUNTIF($A$3:$A$19,A23)=0,"no","yes")
Fill each down its own block. The catalog side finds three “no”: products 182, 195 and 197, all launched after February. The February side finds two: 183 (Glen Glass Canvas Print) and 191 (Hazel Ceramic Canvas Print), both discontinued since. Both directions matter: a one-way check would never see the dropped products.
Step 2: bring February’s price over
Now the catalog becomes the master table. For each product, fetch February’s price:
E3 =XLOOKUP(A3,$A$23:$A$38,$C$23:$C$38,"")
The February list is sorted by name, so position is useless, but XLOOKUP doesn’t care. The
fourth argument handles the three new products: an empty text instead of #N/A. With
INDEX/MATCH you would write =IFERROR(INDEX($C$23:$C$38,MATCH(A3,$A$23:$A$38,0)),"").
=IFERROR(VLOOKUP(A3,$A$23:$C$38,3,FALSE),"") works too, because the id is the block’s first
column; forget the FALSE and the unsorted list returns wrong prices.
Step 3: the change
F3 =IF(E3="","",C3/E3-1)
The IF skips products with nothing to compare. For the rest, today’s price over February’s,
minus 1, formatted as a percentage. Product 194, the Chester Brass Wall Mirror, went from 149.00
to 159.00: 6.7%. Product 185, the Ridge Brass Bud Vase, went from 12.00 to 12.99: 8.3%, the
biggest rise in percentage terms.
Step 4: the summary
I2 =COUNTIF(D3:D19,"no") 3 new since February
I3 =COUNTIF(D23:D38,"no") 2 dropped since February
I4 =COUNTIF(F3:F19,">0") 5 prices raised
A sanity check that ties it together: the 17 catalog products minus the 3 new ones leaves 14 matched products; February’s 16 minus the 2 dropped leaves the same 14. If those two numbers ever differ, an id is duplicated or typed differently in one list.
Thinking like an analyst
The two lists differ for three separate reasons, and Thomas needs them apart: new products (no old price to compare), discontinued products (nothing to price), and real price changes. Mixing them, for example by comparing totals of the two price columns, would give one meaningless number. Count each kind on its own.
Also note where February’s prices came from: the order lines, not a catalog snapshot. A product that was in the catalog in February but sold nothing that month would show up as “new”. When a reconciliation looks surprising, check how each list was produced before you trust the gap.
Common mistakes
- Comparing in one direction only, and missing the dropped products.
- Unlocked lookup ranges:
A23:A38filled down becomesA24:A39, and the last rows stop finding products at the top of the list. "<>0"in step 4: it counts the empty texts of new products as price changes.- Comparing by position: row 3 of each list holds a different product.
Lantern lit!
Practised: compare listscountifxlookupmaster tableconsolidate
- Solved
- No hints
- First run
