← Level 2 – Formula kid

2 / 12 ⏱ 20 minutes

Sum and average

Ready-made functions instead of long additions.

Functions

Imagine you want to add up five cells: =B2+B3+B4+B5+B6. That works, but with twenty cells it would be boring. That’s why there are functions. They’re ready-made calculations with a name.

A function has a name and brackets. Inside the brackets, you write which cells it should calculate with. Like B2:B6, which means the cells from B2 to B6.

WhatFormula
Sum=SUM(B2:B6)
Average=AVERAGE(B2:B6)
💡

In Google Sheets and in English Excel, the functions have the same English names. If a function doesn’t work and shows the error #NAME?, check it for a typo.

On paper first

Your grades are 2, 1, 3, 2, 1.

That way, you’ll know whether the spreadsheet is calculating correctly.

The grade average

  1. On the Grades sheet, click on B8 (next to the word Average).

  2. Type =AVERAGE( and select B2 to B6 with the mouse. Then type ) and press Enter.

  3. You’ll see 1.8.

  4. Change your Spanish grade (B4) from 3 to 1. The average changes to 1.4. Then change it back to 3.

⚠️

The range must contain only the grades. Not the heading, and not the cell with the average. If you typed =AVERAGE(B2:B8) into B8, the formula would be calculating with itself and would show an error.

Adding up pocket money

On the Money sheet, you’ll add up how much you got this week.

  1. In A10, type Total in.

  2. In B10, type =SUM(B2:B8). You’ll see 100.

  3. In A11, type Total spent, and in B11, =SUM(C2:C8). You’ll see 75.

When something doesn’t add up

Your turn 💪

  1. B8 on Grades shows the average, 1.8.
  2. When you change a grade, the average changes.
  3. On Money, B10 and B11 show sums.
✅

Done when: the spreadsheet works out the grade average and the pocket money sum by itself.

What to take away from this lesson