
Step 1 of 8
Learning path · Level 2 · Tutorial 2
Calculate costs in a small office-supplies budget using Excel or Calc. Write arithmetic and percentage formulas, keep a shared rate fixed with an absolute reference, and use a compact rate grid to practice mixed references without rewriting each calculation.
Calculate the First Line Cost
3 min
Control Arithmetic with Parentheses
Choose arithmetic operators and parentheses for simple budget calculations, including one-time and per-unit fees. 3 min
Fill Line Costs with Relative References
Copy the first line-cost formula down the budget and inspect how relative references follow each row. 3 min
Apply a Percentage Allowance
Enter a percentage allowance rate and calculate both its added amount and the total cost for the notebook line. 3 min
Keep the Shared Rate Fixed
Use an absolute reference to keep one allowance rate fixed while copied formulas use each row's own line cost. 4 min
Build a Rate Grid with Mixed References
Build a compact allowance-rate grid and use mixed references so formulas copy correctly across columns and down rows. 5 min
Inspect and Repair Copied Formulas
Inspect formulas at the beginning and far end of filled ranges, repair reference or grouping mistakes, and verify a selected result with arithmetic. 3 min
Test and Finish Your Budget
Test the completed budget and rate grid with controlled input changes, validate selected results, and save the finished workbook. 4 min

Step 1 of 8
Create a new workbook and rename its worksheet Budget. Save it now as Office Supplies Budget.xlsx in Excel or Office Supplies Budget.ods in LibreOffice Calc.
Enter the budget layout below in A1:E4. Apply US dollar currency formatting to C2:E4, including the empty formula cells in columns D and E. Leave D2:E4 empty until you enter formulas. Formatting these future result cells now ensures calculated costs display as dollar amounts.
Enter these values in the Budget worksheet. Cells in columns D and E remain empty for now.
| Row | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Item | Quantity | Unit price | Line cost | Cost with allowance |
| 2 | Notebooks | 4 | $3.50 | Leave blank | Leave blank |
| 3 | Pens | 6 | $1.50 | Leave blank | Leave blank |
| 4 | Paper packs | 3 | $6.00 | Leave blank | Leave blank |

The first formula goes in D2, under Line cost. The future monetary result cells are already formatted as US dollar currency.
A formula begins with =. Instead of typing a calculated amount, use references to the cells that contain the inputs.
For the notebook line, B2 contains the quantity and C2 contains the unit price. The asterisk * means multiplication. Enter the formula in D2, then press Enter.
The formula bar shows the formula itself; D2 shows its calculated result. These are two views of the same cell.
Enter this formula in cell D2.
=B2*C2$14.00
After you press Enter, D2 displays the calculated amount using the current values in B2 and C2. Its US dollar currency format displays the result as shown.

In D2, the formula bar shows =B2*C2; the currency-formatted cell displays $14.00.
Complete the formula for cell D2. It must calculate the notebook line cost from the quantity and unit-price input cells. Then enter it in your worksheet and confirm that D2 displays a calculated currency result rather than a manually typed answer.
=
Step 2 of 8
Choose arithmetic operators and parentheses for simple budget calculations, including one-time and per-unit fees.
Arithmetic operators tell the spreadsheet what calculation to perform. Multiplication and division happen before addition and subtraction. When operators have the same precedence, calculation moves from left to right.
Use parentheses when you want part of a formula calculated first. These examples are standalone practice; do not change the values in the main budget range.
Use these operators to express common budget calculations.
| Operator | Budget purpose |
|---|---|
| + | Add an amount, such as a fee |
| - | Subtract an amount, such as a discount |
| * | Multiply quantity by unit price |
| / | Divide a total by a quantity |

In =B2*C2+2, multiplication is completed before the fee is added.
Example
The placement of a fee changes its meaning. With B2 equal to 4 and C2 equal to $3.50, compare these two standalone formulas:
=B2*C2+2 calculates the line cost first, then adds one $2.00 fee. Result: $16.00.=B2*(C2+2) adds $2.00 to the unit price first, then multiplies by the quantity. Result: $22.00.The parentheses make C2+2 happen first. Because that increased price is multiplied by 4, the $2.00 fee applies to every unit.
Tip
For a discount, use - in the same positions. =B2*C2-2 subtracts one $2.00 discount from the whole line. =B2*(C2-2) subtracts $2.00 from each unit price before multiplying.
A formula can look similar and still describe a different budget decision. Read where the fee or discount is placed before trusting the result.
Practice a one-time discount. Quantity is in B2 and unit price is in C2. Complete the formula so it calculates the line cost and then applies a single $2.00 discount. This is a standalone practice formula; leave the main budget inputs unchanged.
Fill the blank with the required arithmetic operator.
=B2*C22Match each formula or operator to its budget purpose. Use B2 = 4 and C2 = $3.50 for the two formula comparisons.
Tap an item and then its matching pair.

Step 3 of 8
Copy the first line-cost formula down the budget and inspect how relative references follow each row.
When you copy a formula, an unmarked reference is a relative reference: it changes according to the formula’s new position.
In D2, =B2*C2 uses the quantity and unit price on row 2. Copying that formula one row down to D3 shifts both references down one row, so the new formula uses row 3 inputs. The formula text changes, but its pattern—quantity times unit price—stays the same.
Do not type the same calculated number into every row. Copy the formula pattern so each line cost remains connected to its own inputs.

The destination formula has different row numbers because its relative references moved with it.
Now fill the existing formula from D2 through D4 in your own Budget worksheet.
D2.D4, then release.D3 and then D4. Check the formula bar: each formula should refer to the quantity and unit price on its own row.The displayed results in D2:D4 should be $14.00, $9.00, and $18.00. The values differ because the referenced inputs differ.
Dragging the fill handle copies the formula pattern down the selected rows.
Tip
If you see the same formula text in every row, stop and inspect the formula bar. A correct copied formula changes its row references; it does not keep referring to row 2.
Complete the formula that belongs in D3 after the formula in D2 is filled down one row.
=*In your Budget worksheet, predict the formula that belongs in D4 after filling down from D2. Then perform the fill operation locally if you have not already done so.
Inspect the formula bar in D2, D3, and D4. In your response, state the formula in D4, confirm that you used the fill handle, and list the displayed line costs from D2:D4 in order.
Write at least 55 characters (0/55).

Step 4 of 8
Enter a percentage allowance rate and calculate both its added amount and the total cost for the notebook line.
The line costs in D2:D4 are already complete. Now add one shared practice input for the notebook calculation.
In the Budget worksheet:
G1 and enter Allowance rate.H1, type 10%, and press Enter.Entering 10% directly stores the numeric value 0.10: ten hundredths of one. The percentage format displays that stored value as 10%.
Do not type 10 for this rate. A stored value of 10 represents ten whole units, not ten hundredths.

The percentage display is 10%, while the rate used in arithmetic is 0.10.
The notebook base cost in D2 is $14.00. First, the allowance amount is the base cost multiplied by the rate:
=D2*H1
That amount is $1.40. To calculate the full cost including the allowance, use 1+H1 as the multiplier. Here, 1 represents 100% of the base cost and H1 adds another 10%.
Select E2, enter =D2*(1+H1), and press Enter. The parentheses make the multiplier 1+H1 happen before multiplication.
These calculations answer two different questions.
| Calculation | Formula | Displayed result |
|---|---|---|
| Allowance amount only | =D2*H1 | $1.40 |
| Cost with allowance in E2 | =D2*(1+H1) | $15.40 |
Tip
Leave the formula only in E2 for now. In the next step, you will make the shared rate reference safe to copy to other rows.
In the existing Budget worksheet, H1 is formatted as 10% and D2 contains the notebook line cost. Complete this allowance check. Enter only the number and decimal point for the two currency amount blanks.
H1 stored numeric value:
E2 formula: =D2*(+H1)
Allowance amount, displayed as currency: $
E2 displayed result: $
Step 5 of 8
Use an absolute reference to keep one allowance rate fixed while copied formulas use each row's own line cost.
The allowance rate in H1 is one shared input. Your earlier formula in E2 used H1 without dollar signs. When you copy that formula down, the line-cost reference should move from D2 to D3 and D4, but the shared rate must continue to point to H1.
An absolute reference fixes both parts of an address: $H$1 fixes column H and row 1. The dollar signs are reference markers, not currency symbols. By contrast, D2 is a relative reference, so it can follow each budget row.
Compare the source formula with its copied version.

In E2, D2 is relative and $H$1 is absolute. In E3, the relative reference becomes D3, while $H$1 remains unchanged.
On the Budget worksheet, select E2 and replace the earlier percentage formula with the copy-safe version below. Then drag the fill handle from E2 down through E4.
Before filling, confirm that H1 still displays 10%. After filling, select each cell in column E and inspect the formula bar: the D row should match the budget row, while $H$1 should remain exactly the same.
Enter this formula in E2.
=D2*(1+$H$1)$15.40
With the existing values and US currency formatting, E2 displays:
After you fill E2 down to E4, compare the formulas and displayed results. The formula text should not be identical in every row: only the relative line-cost reference changes.
| Cell | Formula | Displayed result |
|---|---|---|
| E2 | =D2*(1+$H$1) | $15.40 |
| E3 | =D3*(1+$H$1) | $9.90 |
| E4 | =D4*(1+$H$1) | $19.80 |
Complete the copied formulas for the baseline budget. Use the formula pattern to predict the formula in E4.
E2: =D2*(1+)
E3: =D3*(1+)
E4: =*(1+)
Step 6 of 8
Build a compact allowance-rate grid and use mixed references so formulas copy correctly across columns and down rows.
You already have line costs in D2:D4. Now create a compact rate grid in G4:J7 to compare each base cost at three independent allowance rates.
Enter Base cost in G4. Enter 5%, 10%, and 15% in H4:J4. Keep H4:J4 formatted as percentages.
Before entering or checking grid results, select G5:J7 and apply US dollar currency formatting. This includes the linked base-cost cells and the currently blank calculation cells, so all results will display as amounts such as $14.00 and $14.70 after formulas are entered. The grid headings are independent of the shared allowance in H1.
| Area | Contents | Format |
|---|---|---|
| G4 | Base cost | Text |
| H4:J4 | 5%, 10%, 15% | Percentage |
| G5:G7 | Links to line costs | US dollar currency |
| H5:J7 | Allowance calculations | US dollar currency |

Format G5:J7 as US dollar currency; keep the rate headings in H4:J4 as percentages.
Enter these links in the base-cost column. Each formula connects the grid to an existing line cost; do not retype the amounts.
G5: =D2
G6: =D3
G7: =D4$14.00 $9.00 $18.00
With US dollar currency formatting applied to G5:G7, these linked values display as shown.
A mixed reference fixes only one part of an address. In the grid seed cell H5, enter =$G5*(1+H$4).
$G5 fixes column G, so every formula keeps taking its base cost from column G. Its row has no dollar sign, so it can change from 5 to 6 to 7 when copied down.
H$4 fixes row 4, so every formula keeps taking its rate from the header row. Its column has no dollar sign, so it can change from H to I to J when copied across. The dollar signs are reference markers, not currency symbols.
The seed in H5 changes differently in each copy direction.
| Copy operation | Base-cost reference | Rate reference |
|---|---|---|
| Across from H5 to J5 | $G5 stays $G5 | H$4 becomes J$4 |
| Down from H5 to H7 | $G5 becomes $G7 | H$4 stays H$4 |
| Across and down | Column stays G; row follows the result row | Row stays 4; column follows the result column |
Enter this seed formula in H5. It calculates the first base cost using the first grid rate.
=$G5*(1+H$4)$14.70
This result assumes G5 is $14.00 and H4 is 5%. It displays as currency because G5:J7 was formatted as US dollar currency.
Use the fill handle in two stages:
H5 across to J5.H5:J5, then drag its fill handle down through row 7.This fills the calculation area H5:J7. Do not rewrite formulas or alter the budget inputs. Before inspecting the far corner in the formula bar, use the reference pattern to predict what it should contain. Because G5:J7 is formatted as US dollar currency, every calculated grid result should display with $ and two decimal places.
Tip
If you copied a fully absolute reference such as $G$5, every cell would use the first base cost. If you used H4 with no dollar signs, the rate heading would move down with the formula. The seed needs one fixed column and one fixed row.
Without looking at the formula bar in J7, complete the seed-reference markers, predict the copied formula in J7, and verify its displayed value.
H5 seed: =G5*(1+H4)
J7 after filling: =
Displayed value in J7: $
Step 7 of 8
Inspect formulas at the beginning and far end of filled ranges, repair reference or grouping mistakes, and verify a selected result with arithmetic.
Copied formulas should not all look identical. Instead, their references should follow the destination cell.
Use the formula bar to inspect the first formula in a filled range and then a far-end formula. In the allowance column, compare E2 with E4. In the rate grid, compare the seed at H5 with the far corner at J7.
Ask two questions:
A displayed dollar amount can look reasonable even when it comes from the wrong cell. Check the references, not only the result.
The formulas at the far end use different row and column references, but they keep the intended fixed parts.

Formula pattern check: E2 shows =D2*(1+$H$1) and $15.40; E4 shows =D4*(1+$H$1) and $19.80. H5 shows =$G5*(1+H$4) and $14.70; J7 shows =$G7*(1+J$4) and $20.70.
A copied-formula problem usually has one of two causes:
To repair a repeated mistake, return to the seed formula, correct it in the formula bar, and refill the intended range. Do not manually replace every displayed result: that would break the formula pattern.
Use the formula bar and a quick calculation together. The formula tells you which inputs were used; arithmetic tells you whether the displayed amount is plausible for those intended inputs.
| Cell to inspect | Intended behavior | Warning sign |
|---|---|---|
| E4 | Line cost follows row 4; allowance stays at H1 | A fixed D2 is still used |
| J5 | Base cost stays in column G; rate follows column J | The formula still uses H4 |
| E2 | The entire multiplier is calculated first | The rate is added after multiplication |
Tip
For example, =D2*1+$H$1 can display $14.10 when D2 is $14.00 and H1 is 10%. That is a plausible-looking number, but the intended cost with allowance is based on multiplying by the complete rate multiplier.
Repair the rate-grid formula for cell J7. Complete the mixed references so the formula uses the base cost from row 7 and the rate heading above column J.
=*(1+)Perform a short formula audit. Assume these faulty formulas appear in the completed Budget worksheet:
E4 contains =$D$2*(1+$H$1).J5 contains =$G5*(1+$H$4).E2 contains =D2*1+$H$1.For each one, state whether it is a reference error or a grouping error, then write its corrected formula. Next, write the correct formula for J7 and manually calculate its result when its base cost is $18.00 and its column rate is 15%.
Use formulas beginning with = and include the final amount in US currency format.
Write at least 180 characters (0/180).

Step 8 of 8
Test the completed budget and rate grid with controlled input changes, validate selected results, and save the finished workbook.
Open your completed Budget worksheet. Do not rewrite any formulas.
First, change B3 from 6 to 8. This tests whether the relative formulas already in the budget respond to a changed input. Check the formula bar for D3, then inspect the linked pen row in the rate grid.
The quantity change should affect the pen line cost and its grid row because those cells depend on D3.

Changing B3 updates D3, which also updates the linked pen base cost and that row of the rate grid.
Compare these cells after changing B3 to 8. The displayed currency values assume US dollar formatting.
| Cell | Formula to inspect | Expected displayed result |
|---|---|---|
| D3 | `=B3*C3` | $12.00 |
| G6 | `=D3` | $12.00 |
| H6 | `=$G6*(1+H$4)` | $12.60 |
| I6 | `=$G6*(1+I$4)` | $13.20 |
| J6 | `=$G6*(1+J$4)` | $13.80 |
Now test the shared allowance separately. Change H1 from 10% to 20%, leaving the rate-grid headings in H4:J4 at 5%, 10%, and 15%.
Column E uses the shared allowance in H1, so its displayed costs should update. The rate grid uses its own heading cells instead, so the grid values should remain unchanged by this edit. Inspect formulas in the formula bar as well as displayed results.
These checks are made after both edits: B3 is 8 and H1 is 20%. Compare a column-E formula with a rate-grid formula.
| Cell | Formula to inspect | Expected displayed result | Reason |
|---|---|---|---|
| E3 | `=D3*(1+$H$1)` | $14.40 | Uses H1 |
| E2 | `=D2*(1+$H$1)` | $16.80 | Uses H1 |
| E4 | `=D4*(1+$H$1)` | $21.60 | Uses H1 |
| I6 | `=$G6*(1+I$4)` | $13.20 | Uses I4, not H1 |
Complete the missing reference for the formula in E3. It must use the shared allowance cell and remain correct if copied down column E.
=D3*(1+)Summary
Before saving, confirm that B3 is 8, H1 is 20%, and the rate-grid headings are still 5%, 10%, and 15%.
Use the formula bar to inspect cells rather than judging only by the displayed numbers. Save the worksheet named Budget as Office Supplies Budget.xlsx in Excel or Office Supplies Budget.ods in LibreOffice Calc.
On your own completed worksheet, report your final checks in 3–5 sentences:
D3 after changing B3 to 8, and state one displayed result from the pen grid row (H6, I6, or J6). Show the manual multiplication for both values.E3 after changing H1 to 20%, and show its manual calculation.H1 changed. Name the reference type used for the shared allowance in column E and the reference types used by the grid formula.Write at least 180 characters (0/180).
Congratulations! You completed: Write Budget Formulas with Cell References
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks