Write it once, drag it down
In D2 on the Money sheet, you have =B2-C2. You want the same thing for Tuesday, Wednesday, and the other days. You don’t have to write seven formulas.
Grab the little square in the corner of D2 and drag it down. The spreadsheet copies the formula and moves the addresses. =B2-C2 turns into =B3-C3 in the next row, then =B4-C4, and so on.
Pocket money for the whole week
-
Click on D2. It has
=B2-C2and the result is 30. -
Grab the square in the corner of D2 and drag it down to D8.
-
Click on D5. The formula bar shows
=B5-C5. The addresses moved.
In column D, you’ll see:
| Day | In | Spent | Left |
|---|---|---|---|
| Mon | 50 | 20 | 30 |
| Tue | 0 | 15 | −15 |
| Wed | 20 | 0 | 20 |
| Thu | 0 | 10 | −10 |
| Fri | 30 | 25 | 5 |
| Sat | 0 | 0 | 0 |
| Sun | 0 | 5 | −5 |
A minus means you spent more that day than you got.
If every cell shows the same number, you wrote a number instead of an address in the formula. Like =50-C2. Numbers don’t move when you copy. Always use addresses.
How much do I have now?
Column D shows how you did on each day separately. But how much do you have in total?
Make a column next to it that remembers the earlier days too:
-
In E1, type
Total so far. -
In E2, type
=D2. (On the first day, it’s the same.) -
In E3, type
=E2+D3. That means: what I had yesterday plus today. -
Drag E3 down to E8. In E8 you’ll see 25. That’s how much you had left at the end of the week.
Your turn 💪
- Column D has seven formulas.
- D5 has
=B5-C5. - Column E shows how much you have in total.
- When you change Wednesday’s spending, D4 and everything in E from Wednesday on changes.
Done when: you have formulas for the whole week and you only wrote two.
What to take away from this lesson
- Drag a formula down with the little square.
- Addresses move when you copy.
- Use addresses in formulas, not numbers.
=E2+D3= yesterday plus today.
© 2026 Ing. Martin Polak / AlgoRhino · Content usage terms