Formula basics · About 3 minutes
What is a formula?
A formula is an instruction you type into a cell. It always starts with =.
Instead of typing numbers, you point at cells. =B2 means "add the value in B2 to the value in B3". If B2 changes, the answer updates by itself.
Every cell has an address: its column letter, then its row number. The price of Rice is in column B, row 2, so its address is B2.
Exercise 1 of 3 · Worked example
In C2, add the price of Rice (B2) and Soap (B3). Type =B2 +B3 and press Enter.
| A | B | C | |
|---|---|---|---|
| 1 | Item | Price ($) | |
| 2 | Rice | 3.49 | (answer cell) |
| 3 | Soap | 1.99 | |
| 4 | Pasta | 2.29 | |
| 5 | Broom | 8.99 | |
| 6 | Tea | 4.49 |
Questions people ask
Why does my formula show as text instead of the answer?
A formula must start with =. If the cell shows the formula itself, look for a missing =, a space before it, or a cell formatted as Text. Fix that, then type the formula again.
What is the difference between a formula and a function?
A formula is anything you type that starts with =, like =B2. A function is a named tool you use inside a formula, like SUM in =SUM(.
Do formulas work the same in Excel and Google Sheets?
For everyday formulas, yes. Both start with =, use the same signs and share most function names.
How do I see the formula behind a cell?
Click the cell and look at the formula bar above the grid. The cell shows the answer and the bar shows the formula that made it.
Does a formula update when the numbers change?
Yes, when it points at cells. =B2 works out again whenever B2 or B3 changes. A formula with typed numbers, like =40, never changes.