Day 1 — Formulas and cell references
Every formula starts with = and points at cells instead of numbers. Get this right and everything else follows.
A formula starts with =
Type = into a cell and Excel stops treating what follows as text and starts calculating it. That single character is the whole difference.
Edit any line above and press Run. Multiple lines just means multiple formulas — in a real sheet each one would sit in its own cell.
The operators
Order of operations
Excel does not read left to right. It follows maths precedence: brackets first, then ^, then * and /, then + and -.
=100-20/2 gives 90, not 40. Excel divides before it subtracts. Nothing warns you — the answer is just quietly wrong. When in doubt, add brackets.Pointing at cells instead of typing numbers
Every formula on this page runs against the Sales sheet below. The row numbers and column letters are real — F2 really is 165000.
A cell reference is a column letter and a row number. F2 means column F, row 2.
The point of a reference is that the formula follows the data. Change the amount in F2 and every formula that mentions F2 updates itself. That is the entire reason spreadsheets exist.
Doing arithmetic across cells
=F2/E2 gives 55000 — the amount divided by the quantity, so that is the price of one laptop. =F10/E10 gives the same 55000, which tells you the pricing is consistent.
Relative and absolute references
When you copy a formula down a column, Excel shifts the references with it. =F2*2 copied one row down becomes =F3*2. That is a relative reference, and it is usually what you want.
Sometimes it is exactly what you do not want — when every row must point at the same cell, such as a tax rate sitting in one place. Lock it with dollar signs:
This playground calculates one formula at a time rather than copying it down a column, so $ makes no difference to the answer here. It matters the moment you drag a formula in a real sheet — which is why it is worth understanding now.
Text joined with &
Anything in double quotes is literal text. Anything not in quotes is treated as a reference or a number.
Try these yourself
- Work out the total of orders 1001 and 1002 by adding F2 and F3.
- Find the price of one monitor using row 3 (amount divided by quantity).
- Write a formula that adds 18% GST to F4.
- Predict what
=10-4*2gives, then run it and check. - Build the sentence
North sold 3 Laptopusing C2, E2 and D2 joined with &.
