Learning Objectives
- Distinguish relative (
A1), absolute ($A$1), and mixed ($A1,A$1) references - Use
F4to cycle reference locks while editing formulas - Choose the right reference type for VAT, tax, commission, and matrix tables
- Audit formulas with Show Formulas (
Ctrl+`)
Sample file: sales_data_large.csv
Why References Matter
When you copy a formula down a column, Excel shifts cell addresses unless you lock them. Wrong locks are the #1 cause of incorrect totals in student workbooks.
1) Relative References (A1)
Relative references change when copied.
| A (Units) | B (Price) | C (Revenue) |
|---|---|---|
| 10 | 250 | =A2*B2 โ 2500 |
| 8 | 180 | copy down โ =A3*B3 |
When to use: line totals, row-by-row calculations.
2) Absolute References ($A$1)
Both column and row stay fixed.
Setup: put VAT rate 0.13 in H1. Label G1 as VAT Rate.
=D2*$H$1
Copy down: D3*$H$1, D4*$H$1 โ the rate never drifts.
When to use: tax rate, bonus constant, exchange rate, single parameter reused in many rows.
3) Mixed References ($A1 or A$1)
Lock only one axis.
Commission matrix example
- Product bases in
A5:A8 - Rates in
B4:E4(5%, 8%, 10%, 12%) - Formula in
B5:
=$A5*B$4
$A5keeps the product base when you copy acrossB$4keeps the rate row when you copy down
Fill B5:E8 to build the full matrix.
4) Choosing the Right Type
| Goal | Use |
|---|---|
| Same pattern each row | Relative |
| One constant for all rows | Absolute $H$1 |
| 2D table (row item ร column rate) | Mixed |
| Entire column when inserting rows | Prefer Tables (Ctrl+T) with structured refs |
5) Workflow Tips
- Type the formula for the first row only; verify the result.
- Click the reference in the formula bar and press
F4until the$signs match your intent. - Drag the fill handle; spot-check two more rows.
- Toggle Formulas โ Show Formulas to audit locks quickly.
- Watch for
#REF!after deleting cells that formulas still point to.
Common Mistakes
- Leaving tax rate as relative โ each row points to an empty cell
- Locking too much (
$D$2*$H$1copied down always uses row 2 revenue) - Merged cells inside formula ranges
Practice Task
Using Sales data (or a 6-row product table):
- Relative formula for Revenue = Units ร Price
- Absolute VAT using
$H$1 - Mixed-reference commission matrix (4 products ร 4 rates)
- One-sentence note under the matrix explaining each lock
Step-by-Step Lab Exercise: Invoice with VAT
-
Enter this data in
A1:C5, and put VAT Rate inG1and 0.13 inH1:Product Units Price (Rs.) Notebook 10 250 Pen 50 20 Calculator 4 1,200 Stapler 6 350 D1= Revenue; inD2:=B2*C2(relative). Fill down toD5.E1= VAT; inE2:=D2*$H$1(absolute rate). Fill down.F1= Total; inF2:=D2+E2. Fill down.- In row 6, total each column with
=SUM(D2:D5)and so on.
Expected results:
| Product | Revenue | VAT | Total |
|---|---|---|---|
| Notebook | 2,500 | 325 | 2,825 |
| Pen | 1,000 | 130 | 1,130 |
| Calculator | 4,800 | 624 | 5,424 |
| Stapler | 2,100 | 273 | 2,373 |
| Total | 10,400 | 1,352 | 11,752 |
Test the lock: change H1 to 0.15. Every VAT cell should update (total VAT becomes 1,560). If only the first row changes, the reference was not absolute.
Mixed-reference check: with bases 10,000 and 20,000 in A10:A11 and rates 5% and 8% in B9:C9, the formula =$A10*B$9 filled across and down should give 500, 800 and 1,000, 1,600.
Key Takeaways
- Relative references move when copied; absolute references (
$A$1) stay fixed. - Mixed references lock only the row or only the column, ideal for two-way tables.
- Press
F4to cycle through reference types while editing. - Test a formula by changing an input and checking every dependent cell.
Exam-Style Questions
Viva (short answer)
- Distinguish between relative, absolute, and mixed cell references.
- What does the
$sign do in a cell reference? - What is the function of the
F4key when editing a formula? - When would you use a mixed reference? Give an example.
- What does the
#REF!error mean?
Lab test tasks
- Create a sales sheet that calculates revenue, VAT at 13% using an absolute reference, and total for six products.
- Build a 4 ร 4 commission table using a single mixed-reference formula filled across and down.
- Turn on Formulas โ Show Formulas and explain which references are relative, absolute, and mixed.
๐ Continue to: Essential Functions

