Published by Patrick Mutisya · 14 days ago
By the end of this lesson you will be able to create accurate formulae in a spreadsheet by using cell references, understand the difference between relative and absolute references, and apply these concepts to common calculations.
A cell reference identifies the location of a cell in a worksheet. The column is denoted by a letter and the row by a number, e.g., A1.
When a formula is copied to another cell, the references can change automatically (relative) or stay fixed (absolute).
Default references are relative. They adjust when the formula is moved or copied.
=B2+C2 in cell D2.D3. The formula becomes =B3+C3.Use the dollar sign ($) to lock a column, a row, or both.
| Reference Type | Notation | Behaviour when copied |
|---|---|---|
| Absolute column and row | \$A\$1 | Never changes |
| Absolute column only | $A1 | Column stays, row changes |
| Absolute row only | A$1 | Row stays, column changes |
Example:
E2 type =B2*\$F\$1 where F1 holds a tax rate.E3. The reference to F$1 remains fixed, while B2 becomes B3.Spreadsheets support the following operators:
+-*/^Example calculation for compound interest:
\$A = P(1 + r)^n\$
In a spreadsheet: =B2*(1+B3)^B4 where B2 = principal, B3 = interest rate, B4 = number of periods.
Functions often require a range of cells, written as StartCell:EndCell.
| Function | Syntax | Purpose |
|---|---|---|
| SUM | =SUM(A1:A10) | Adds all numbers in the range |
| A \cdot ERAGE | =A \cdot ERAGE(B1:B5) | Calculates the mean |
| MIN | =MIN(C1:C8) | Finds the smallest value |
| MAX | =MAX(C1:C8) | Finds the largest value |
Combining functions with absolute references:
\$F\$1.G2 with =SUM(B2:E2).H2 with =G2*\$F\$1.When you drag the fill handle, the spreadsheet automatically adjusts relative references. Use absolute references to keep constants fixed.
Steps:
Spreadsheets evaluate expressions using the standard order:
Example:
\$\text{Result}= (A1 + B1) * C1 - D1 / E1\$
In a cell: =(A1+B1)*C1-D1/E1
= at the start of a formula.0 or an error.A1-A5 instead of A1:A5).Complete the following worksheet (use a spreadsheet application of your choice):
A2:A6.B2 calculate 15 % tax on the value in A2 using an absolute reference to the tax rate in \$C\$1 (enter 0.15 in C1).B2 down to B6.D2 compute the total (value + tax) using a relative reference to the tax amount.D7 use =SUM(D2:D6) to find the grand total.Understanding how to use cell references—both relative and absolute—is essential for building reliable spreadsheet models. Mastery of these concepts enables efficient calculations, accurate copying of formulas, and effective use of built‑in functions.