The golden rule
Welcome to the Formula kid level! This is where you start calculating with your spreadsheet.
The most important rule: a formula always starts with an equals sign =.
- When you type
2+3, the spreadsheet treats it as text. - When you type
=2+3, the spreadsheet works out 5.
And the best part is that you can use cell addresses in a formula. =G1+H1 adds up whatever is in G1 and H1. And when you change the number in G1, the result updates by itself.
Try it
-
On the
Ghi chússheet, type3in G1 and5in H1. -
In I1, type
G1+H1without the equals sign. You’ll see the textG1+H1. The spreadsheet didn’t calculate. -
Clear I1 and type
=G1+H1. You’ll see 8. -
Click on I1. The cell shows 8, but the formula bar at the top shows
=G1+H1. The cell shows the result, the formula bar shows the formula. -
Change G1 to
10. I1 changes to 15 by itself.
You don’t have to type the addresses. Type =, click on G1 with the mouse, type +, click on H1, and press Enter. The spreadsheet fills in the addresses for you.
Doing the math
| You want to | Type | If G1=10, H1=5 |
|---|---|---|
| add | =G1+H1 | 15 |
| subtract | =G1-H1 | 5 |
| multiply | =G1*H1 | 50 |
| divide | =G1/H1 | 2 |
The asterisk * means times, the slash / means divided by. Brackets work like in math class: =(G1+H1)*2 is 30.
Watch out for
- A space before the equals sign.
=G1+H1is text. The equals sign has to come first. - The wrong cells. If you type
=A1+B1but your numbers are in G and H, the result will be wrong. - Text instead of a number. If G1 has
10 points, you’ll see the error#VALUE!.
Pocket money for Monday
On the Money sheet, you have 50 in B2 (in) and 20 in C2 (spent).
-
In D2, type
=B2-C2. You’ll see 30. -
Change C2 to
60. D2 shows −10. The minus means you spent more than you got. -
Change C2 back to
20.
Đến lượt bạn 💪
- You have a formula that adds two cells.
- When you change a number, the result changes.
- The formula bar shows
=. - D2 on
Moneyhas=B2-C2.
Done when: you can write a formula and you know it updates by itself.
What to take away from this lesson
- A formula starts with
=. - Use cell addresses in formulas.
*means times,/means divided by.- The cell shows the result, the formula bar shows the formula.
© 2026 Ing. Martin Polak / AlgoRhino · Điều khoản sử dụng nội dung