SUM, AVERAGE, MIN, MAX, COUNT, IF, LOOKUP, VLOOKUP, HLOOKUP.| Reference type | Notation | Behaviour when copied |
|---|---|---|
| Relative | A1 | Both column & row change relative to the new position. |
| Absolute | $A$1 | Column & row stay fixed. |
| Mixed – column fixed | $A1 | Column stays the same, row adjusts. |
| Mixed – row fixed | A$1 | Row stays the same, column adjusts. |
$A1 – copy down rows, keep the same column (e.g., a column of discount percentages stored vertically).A$1 – copy across columns, keep the same row (e.g., a single‑row markup percentage).When a range of cells (e.g., a 2 × 3 table) is copied, each formula inside the block adjusts its references in both dimensions. Use mixed references if a particular row or column must stay constant while the other dimension changes.
Spreadsheets evaluate a formula in the following sequence:
( ) first.^ operator.=IF((B2*C2)>100, (B2*C2)*0.9, (B2*C2)*1.05)
Explanation:
B2*C2 first.| Function | Syntax | Typical use |
|---|---|---|
| SUM | SUM(number1, [number2], …) | Add a series of numbers – e.g. =SUM(B2:B10) |
| AVERAGE | AVERAGE(range) | Mean value – e.g. =AVERAGE(C2:C10) |
| MIN / MAX | MIN(range) / MAX(range) | Smallest / largest value in a range. |
| COUNT | COUNT(range) | Counts numeric entries – e.g. =COUNT(B2:B10) |
| IF | IF(logical_test, value_if_true, value_if_false) | Conditional calculation – e.g. =IF(D2>100,"High","Low") |
| LOOKUP | LOOKUP(lookup_value, lookup_vector, result_vector) | Simple one‑dimensional search – e.g. =LOOKUP(A2, A$5:A$15, B$5:B$15) |
| VLOOKUP | VLOOKUP(lookup_value, table_array, col_index, [range_lookup]) | Vertical table search – e.g. =VLOOKUP(A2, $D$2:$F$20, 3, FALSE) |
| HLOOKUP | HLOOKUP(lookup_value, table_array, row_index, [range_lookup]) | Horizontal table search – e.g. =HLOOKUP(B1, $A$1:$D$5, 4, TRUE) |
Named items behave like absolute references and make formulas easier to read.
VAT_RATE).VAT_RATE) and click Done.Once defined, you can use the name directly in any formula, e.g. =D2*VAT_RATE. The name is automatically treated as an absolute reference.
Original formula in C2: =A2*$B$1
D2 → becomes =B2*$B$1 (column changes, row stays, $B$1 stays fixed).E2 → becomes =C2*$B$1.| Cell | Content / Formula | Explanation |
|---|---|---|
| A1 | Product | Header |
| B1 | Quantity | Header |
| C1 | Unit Price | Header |
| D1 | Total Price | Header |
| E1 | VAT Rate | Enter 0.20 (20 %) |
| F1 | VAT Amount | Header |
| G1 | Grand Total | Header |
| H1 | Units Sold | Header – will be used with COUNT |
| A2 | Notebook | |
| B2 | 15 | |
| C2 | 2.50 | |
| D2 | =B2*C2 | Relative – copies down as B3*C3 … |
| F2 | =D2*$E$1 | Absolute VAT rate – stays $E$1 when copied. |
| G2 | =D2+F2 | Relative – adapts to each row. |
| H2 | =COUNT(B2:B10) | Counts numeric quantities in the column. |
| A3 | Pen | |
| B3 | 30 | |
| C3 | 1.20 | |
| D3 | =B3*C3 | |
| F3 | =D3*$E$1 | |
| G3 | =D3+F3 | |
| A4 | Folder | |
| B4 | 8 | |
| C4 | 3.75 | |
| D4 | =B4*C4 | |
| F4 | =D4*$E$1 | |
| G4 | =D4+F4 |
Steps:
VAT_RATE for cell E1 and replace $E$1 with VAT_RATE in F2 (and copy down).COUNT formula in H2 to show how many numeric entries exist in the Quantity column.Goal: Apply a 10 % discount (stored in $B$1) to monthly prices in C2:E2 (Jan‑Mar) and obtain discounted prices in C3:E3.
0.10 in B1 and (optionally) name it DISCOUNT.C3 type =C2*(1-$B$1) or =C2*(1‑DISCOUNT).D3 and E3. Because the column part of C2 is relative, it becomes D2 and E2. The row‑fixed part $B$1 (or the name DISCOUNT) stays constant.$B$2) prevents the formula from adapting to each row/column.#NAME?. Verify the name in the Name Manager (Excel) or Named ranges pane (Sheets).| Reference | Notation | Typical use |
|---|---|---|
| Relative | A1 | Data that changes with each copy (quantities, prices, lookup values). |
| Absolute | $A$1 | Constants such as tax rates, exchange rates, or named cells. |
| Mixed – column fixed | $A1 | Copying down rows while keeping the same column (e.g., a column of discount percentages). |
| Mixed – row fixed | A$1 | Copying across columns while keeping the same row (e.g., a single‑row markup). |
Complete the tasks in a new spreadsheet. Use absolute or mixed references where required, and name the VAT‑rate cell VAT_RATE for extra credit.
0.20 in cell E1.D2 enter =B2*C2 and copy down to the last product row.VAT_RATE that refers to E1.F2 enter =D2*VAT_RATE (or =D2*$E$1) and copy down.G2 enter =D2+F2 and copy down.B1. In H2 calculate the discounted total price using a mixed reference so the discount stays fixed when copying across columns:
=D2*(1-$B$1)Copy the formula across to
I2 and J2 (simulate other months).=COUNT(B2:B10) in a convenient cell to count how many numeric quantities are entered.B1 even after copying.
Create an account or Login to take a Quiz
Log in to suggest improvements to this note.
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources, past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.