Formulas in Numbers: A Beginner's Guide with Examples
The examples use this table.
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
What is a cell and a cell address?
A table is made of cells. Every cell has an address made of a column letter and a row number, such as B3 for column B, row 3. You use that address in a formula to refer to the contents of the cell.
=B3Result: 6
Calculating with cell addresses
You combine cell addresses with +, -, * and /. If a number in a cell changes, the result changes with it. Here it is the price times the quantity of Apple.
=B2*C2Result: 40
What is a range?
A range is a block of cells, written with a colon. B2:B5 means B2 through B5. Most functions work on a range.
=SUM(B2:B5)Result: 30
What is a function?
A function is a built-in command with a name and parentheses. What is between the parentheses is called the arguments. SUM adds up and AVERAGE returns the average.
=AVERAGE(B2:B5)Result: 7.5
Referring to another table
A sheet can contain several tables. Put the table name in front of the cell address, with two colons between them.
=Table 2::B2Frequently asked questions
Why does a formula in Numbers start with =?
The = sign tells Numbers that what follows is a calculation and not plain text or a number.
What is the difference between a cell and a range?
A cell is a single box, such as B3. A range is a block of cells, such as B2:B5.
Does the result change if I edit a number?
Yes. A formula recalculates as soon as a cell it refers to changes.
Functions in this article
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising