1. Lighthouse

Level 3 · Prices with tax, one rate for every row

The request

From Laura Bennett, Head of Finance

“For the new shelf labels in our Texas pop-up, kitchen prices have to include sales tax. The rate is in B1. If the rate changes, I want to change one cell, not twenty.”

Your goal

In D4:D23, compute each kitchen product's price including sales tax: unit_price times (1 + the tax rate in B1). Write the formula once in D4 with B1 locked as $B$1, then fill it down.

  • Fill D4:D23 with the right valuesnot done yet
  • With formulas, not typed numbersnot done yet

Your sheet

Excel
The sheet for this level
ABCDE
1Sales tax rate8.25%
2
3product_idnameunit_priceprice_with_tax
4141Thatcher Acacia Dutch Oven13.99
5142Upland Acacia Serving Platter38.99
6143Pine Cast Iron Carafe289.00
7144Hazel Porcelain Cutting Board129.00
8145Cove Cast Iron Dutch Oven10.99
9146Thatcher Cast Iron Bowl Set16.99
10147Cedar Cast Iron Tumbler Set79.99
11148Spruce Enamel Utensil Set239.00
12149Hazel Stainless Dutch Oven109.00
13150Linden Enamel Serving Platter19.99
14151Glen Stoneware Carafe60.99
15152Monroe Stoneware Utensil Set13.99
16153Alder Acacia Dutch Oven72.99
17154Vale Enamel Bowl Set11.99
18155Tidewater Stainless Wine Glasses169.00
19156Willow Acacia Knife Block53.99
20157Oakley Enamel Dutch Oven109.00
21158Hazel Porcelain Serving Platter179.00
22159Driftwood Porcelain Carafe179.00
23160Fairhaven Stoneware Cutting Board70.99
24
25

Loading the editor…

    ResultPress Check to compare D4:D23

    Mote checks your result

    Press Check. Each right cell becomes a firefly in your lantern.

    The lesson

    In level 1, filling a formula down moved every reference with it: C2 became C3, then C4. That is a relative reference. It means “the cell in this position relative to me”, and it is exactly right for values that live on each row, like a price or a quantity.

    Some values are not on each row. A tax rate, an exchange rate or a target lives in one input cell that every row should read. For those you need an absolute reference.

    The fill-down trap

    Say the rate is in B1 and the first price in C4. This formula is correct in D4:

    =C4*(1+B1)

    Now fill it down. Excel moves both references by one row each time:

    D5   =C5*(1+B2)
    D6   =C6*(1+B3)

    B2 is empty, and an empty cell counts as 0, so D5 quietly shows the price without tax. B3 holds the header text name, so from D6 down the cells show #VALUE!. Here the error gives the mistake away; in a sheet where the cells under the rate hold numbers, every row would just be quietly wrong while the first row looks perfect. That is why this mistake reaches reports so often.

    Locking a reference with $

    A dollar sign in front of the column letter or the row number stops that part from moving:

    Reference Filled down Filled right
    B1 B2, B3… C1, D1…
    $B$1 stays $B$1 stays $B$1
    B$1 stays B$1 C$1, D$1…
    $B1 $B2, $B3… stays $B1

    For a single input cell, lock both parts: $B$1. The fix is:

    =C4*(1+$B$1)

    Filled down, D5 becomes =C5*(1+$B$1): the price moves, the rate stays.

    You do not have to type the dollar signs. Put the cursor on the reference while editing and press F4: Excel cycles through $B$1, B$1, $B1 and back to B1.

    Why one input cell

    Laura’s request has a second half: “if the rate changes, I want to change one cell”. With the rate in B1, a new rate is one edit and all twenty prices update. If you had typed 1.0825 into every formula, a rate change would mean editing twenty formulas, and missing one. Keeping assumptions in labelled input cells is the habit that makes a sheet trustworthy.

    Percent formats

    B1 holds 0.0825 and shows 8.25%. The percent format only changes how the number looks; the value is still 0.0825. That is why the formula adds it to 1 directly. If the rate were stored as 8.25, you would need (1+$B$1/100), as with the discount in level 1.

    Common mistakes

    • Locking the wrong reference. =$C$4*(1+B1) keeps the first price on every row and lets the rate drift. Lock what is fixed, leave what changes per row.
    • Locking only the column. $B1 still moves down a row each time.
    • Typing the rate into the formula. =C4*1.0825 works until the rate changes.

    Pick what may run on this site. You can change this any time from "Cookie settings" at the bottom of every page.