The request

From Rachel Ramirez, Merchandise Planner
Your goal
Step 1 of 3. In D2:D21, use XLOOKUP to find each product_id from column A in the change list H2:H7 and return its mar_1_price from I2:I7. Products that are not in the change list keep their February price, so use the February price in column C as the if_not_found value.
- Fill
D2:D21with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
XLOOKUPnot done yet
Step 2 of 3. In E2:E21, compute the change from the February price to the new price as a fraction: the new price divided by the February price, minus 1. The column is formatted as a percentage.
- Fill
E2:E21with the right valuesnot done yet - With formulas, not typed numbersnot done yet
Step 3 of 3. In F2:F21, use IFS to label each product from its change in column E: "cut" when the change is below 0, "same" when it is 0, "big raise" when it is at least the threshold in I9, and "raise" for everything else.
- Fill
F2:F21with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
IFSnot done yet
Step 1 · your sheet
| A | B | C | D | E | F | G | H | I | J | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | product_id | name | feb_price | new_price | change | label | product_id | mar_1_price | ||
| 2 | 141 | Thatcher Acacia Dutch Oven | 13.99 | 151 | 60.99 | |||||
| 3 | 142 | Upland Acacia Serving Platter | 36.99 | 158 | 179.00 | |||||
| 4 | 143 | Pine Cast Iron Carafe | 269.00 | 150 | 19.99 | |||||
| 5 | 144 | Hazel Porcelain Cutting Board | 129.00 | 143 | 289.00 | |||||
| 6 | 145 | Cove Cast Iron Dutch Oven | 10.99 | 146 | 16.99 | |||||
| 7 | 146 | Thatcher Cast Iron Bowl Set | 15.99 | 142 | 38.99 | |||||
| 8 | 147 | Cedar Cast Iron Tumbler Set | 79.99 | |||||||
| 9 | 148 | Spruce Enamel Utensil Set | 239.00 | Big raise from | 6% | |||||
| 10 | 149 | Hazel Stainless Dutch Oven | 109.00 | |||||||
| 11 | 150 | Linden Enamel Serving Platter | 18.99 | |||||||
| 12 | 151 | Glen Stoneware Carafe | 57.99 | |||||||
| 13 | 152 | Monroe Stoneware Utensil Set | 13.99 | |||||||
| 14 | 153 | Alder Acacia Dutch Oven | 72.99 | |||||||
| 15 | 154 | Vale Enamel Bowl Set | 11.99 | |||||||
| 16 | 155 | Tidewater Stainless Wine Glasses | 169.00 | |||||||
| 17 | 156 | Willow Acacia Knife Block | 53.99 | |||||||
| 18 | 157 | Oakley Enamel Dutch Oven | 109.00 | |||||||
| 19 | 158 | Hazel Porcelain Serving Platter | 169.00 | |||||||
| 20 | 159 | Driftwood Porcelain Carafe | 179.00 | |||||||
| 21 | 160 | Fairhaven Stoneware Cutting Board | 70.99 | |||||||
| 22 | ||||||||||
| 23 |
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 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | product_id | name | feb_price | new_price | change | label | product_id | mar_1_price | ||
| 2 | 141 | Thatcher Acacia Dutch Oven | 13.99 | 13.99 | 151 | 60.99 | ||||
| 3 | 142 | Upland Acacia Serving Platter | 36.99 | 38.99 | 158 | 179.00 | ||||
| 4 | 143 | Pine Cast Iron Carafe | 269.00 | 289.00 | 150 | 19.99 | ||||
| 5 | 144 | Hazel Porcelain Cutting Board | 129.00 | 129.00 | 143 | 289.00 | ||||
| 6 | 145 | Cove Cast Iron Dutch Oven | 10.99 | 10.99 | 146 | 16.99 | ||||
| 7 | 146 | Thatcher Cast Iron Bowl Set | 15.99 | 16.99 | 142 | 38.99 | ||||
| 8 | 147 | Cedar Cast Iron Tumbler Set | 79.99 | 79.99 | ||||||
| 9 | 148 | Spruce Enamel Utensil Set | 239.00 | 239.00 | Big raise from | 6% | ||||
| 10 | 149 | Hazel Stainless Dutch Oven | 109.00 | 109.00 | ||||||
| 11 | 150 | Linden Enamel Serving Platter | 18.99 | 19.99 | ||||||
| 12 | 151 | Glen Stoneware Carafe | 57.99 | 60.99 | ||||||
| 13 | 152 | Monroe Stoneware Utensil Set | 13.99 | 13.99 | ||||||
| 14 | 153 | Alder Acacia Dutch Oven | 72.99 | 72.99 | ||||||
| 15 | 154 | Vale Enamel Bowl Set | 11.99 | 11.99 | ||||||
| 16 | 155 | Tidewater Stainless Wine Glasses | 169.00 | 169.00 | ||||||
| 17 | 156 | Willow Acacia Knife Block | 53.99 | 53.99 | ||||||
| 18 | 157 | Oakley Enamel Dutch Oven | 109.00 | 109.00 | ||||||
| 19 | 158 | Hazel Porcelain Serving Platter | 169.00 | 179.00 | ||||||
| 20 | 159 | Driftwood Porcelain Carafe | 179.00 | 179.00 | ||||||
| 21 | 160 | Fairhaven Stoneware Cutting Board | 70.99 | 70.99 | ||||||
| 22 | ||||||||||
| 23 |
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 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | product_id | name | feb_price | new_price | change | label | product_id | mar_1_price | ||
| 2 | 141 | Thatcher Acacia Dutch Oven | 13.99 | 13.99 | 0.0% | 151 | 60.99 | |||
| 3 | 142 | Upland Acacia Serving Platter | 36.99 | 38.99 | 5.4% | 158 | 179.00 | |||
| 4 | 143 | Pine Cast Iron Carafe | 269.00 | 289.00 | 7.4% | 150 | 19.99 | |||
| 5 | 144 | Hazel Porcelain Cutting Board | 129.00 | 129.00 | 0.0% | 143 | 289.00 | |||
| 6 | 145 | Cove Cast Iron Dutch Oven | 10.99 | 10.99 | 0.0% | 146 | 16.99 | |||
| 7 | 146 | Thatcher Cast Iron Bowl Set | 15.99 | 16.99 | 6.3% | 142 | 38.99 | |||
| 8 | 147 | Cedar Cast Iron Tumbler Set | 79.99 | 79.99 | 0.0% | |||||
| 9 | 148 | Spruce Enamel Utensil Set | 239.00 | 239.00 | 0.0% | Big raise from | 6% | |||
| 10 | 149 | Hazel Stainless Dutch Oven | 109.00 | 109.00 | 0.0% | |||||
| 11 | 150 | Linden Enamel Serving Platter | 18.99 | 19.99 | 5.3% | |||||
| 12 | 151 | Glen Stoneware Carafe | 57.99 | 60.99 | 5.2% | |||||
| 13 | 152 | Monroe Stoneware Utensil Set | 13.99 | 13.99 | 0.0% | |||||
| 14 | 153 | Alder Acacia Dutch Oven | 72.99 | 72.99 | 0.0% | |||||
| 15 | 154 | Vale Enamel Bowl Set | 11.99 | 11.99 | 0.0% | |||||
| 16 | 155 | Tidewater Stainless Wine Glasses | 169.00 | 169.00 | 0.0% | |||||
| 17 | 156 | Willow Acacia Knife Block | 53.99 | 53.99 | 0.0% | |||||
| 18 | 157 | Oakley Enamel Dutch Oven | 109.00 | 109.00 | 0.0% | |||||
| 19 | 158 | Hazel Porcelain Serving Platter | 169.00 | 179.00 | 5.9% | |||||
| 20 | 159 | Driftwood Porcelain Carafe | 179.00 | 179.00 | 0.0% | |||||
| 21 | 160 | Fairhaven Stoneware Cutting Board | 70.99 | 70.99 | 0.0% | |||||
| 22 | ||||||||||
| 23 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
What Rachel gets, and why
The lesson
A short list applied to a long one
Price changes rarely arrive as a full new catalog. Someone sends the products that change, and
the analyst applies them to the full list. This boss level does that for the twenty Harbor &
Pine kitchen products, using everything from the chapter: a lookup with a fallback, a formula
filled down, and an IFS rule with its bands in the right order.
The sheet holds the kitchen list in A1:C21, with each product’s February price (the last price
it sold at before March 1). The change list Rachel received is in H1:I7: six product ids and
their price from March 1, sorted by name, not by id. The threshold for a big raise is in I9.
Columns D, E and F are yours.
Step 1: new prices with a fallback
D2 =XLOOKUP(A2,$H$2:$H$7,$I$2:$I$7,C2)
Product 142 is in the change list, so D3 returns its March price, 38.99. Product 141 isn’t, so
D2 falls back to C2, its own February price of 13.99. The fallback is a cell, not text: “not
in the change list” means “price unchanged”, and the unchanged price is right there on the row.
The change list is locked with $ because every row searches the same six rows; C2 stays
relative so each row falls back to its own price.
Step 2: the change in percent
E2 =D2/C2-1
Dividing the new price by the old one gives 1.0541 for product 142; subtracting 1 leaves 0.0541,
which the percentage format shows as 5.4%. Unchanged products give exactly 0. Don’t multiply by
100: the format already does that for display, and the threshold in I9 is stored as 0.06.
Step 3: labels with IFS
F2 =IFS(E2<0,"cut",E2=0,"same",E2>=$I$9,"big raise",TRUE,"raise")
As with the shipping bands in level 1, the order of the pairs is the rule. “big raise” must come
before the catch-all TRUE, or every raise would stop at “raise”. Fourteen products come out
“same”, four “raise” and two “big raise”: the Pine Cast Iron Carafe (143) at 7.4% and the Thatcher
Cast Iron Bowl Set (146) at 6.3%. Those two need new shelf cards.
Thinking like an analyst
There are no cuts in this price list, yet the formula tests for them. A rule is written for every list that will pass through the sheet, not just this one. Run two sanity checks before you send it:
- The labels add up: 14 + 4 + 2 is 20, one per product.
- The number of changed prices matches the change list: six rows in
H2:H7, six products not labelled “same”. If those two counts disagreed, an id in the change list would be missing from the kitchen list, or typed as text.
Common mistakes
- No fallback in step 1: fourteen
#N/Acells, which spread into columns E and F. - A text fallback such as
"unchanged": step 2 then divides text and shows#VALUE!. =(D2-C2)/C2*100on a percent-formatted column: 5.4% shows as 540.7%.- Testing
E2>0for “raise” beforeE2>=$I$9: the big raises never get their label.
Lantern lit!
Practised: xlookupif not foundpercent changeifsabsolute references
- Solved
- No hints
- First run
