The book: files and exercises · Lesson 6 of 24

Lesson 6 exercises: SUM, AVERAGE, MAX, MIN and COUNT

Four exercises on the basic functions SUM, AVERAGE, MAX and COUNT, with the household expenses from lesson06.xlsx. Type the formula in the free cell F4: the sheet works it out and tells you whether you picked the right range.

Lesson 6. SUM, AVERAGE, MAX, MIN and COUNT: the five everyday functions

Use the file lesson06.xlsx.

Files: lesson06.xlsx · solutions: lesson06-solutions.xlsx.

In the exercises with a sheet, type the formula in the fx bar and click Check: the sheet works it out the way Excel does, with commas between the arguments (semicolons work too), and also tries it with other data, to see whether it still works when the data changes. In the other exercises, you work in Excel with the lesson's file and type the result here.

At the end of the page you'll find the lesson's Bonus challenge: one more exercise, whose answer isn't in the book. You check it only here.

Exercise 1

In a free cell, work out the total of the January bills (electricity, heating, cell phone, internet).
In cell F4
fx
Show the answer

=SUM(B5:B8) = $234.98.

Exercise 2

Work out the average spent on groceries over the three months (row 9).
In cell F4
fx
Show the answer

=AVERAGE(B9:D9) = $433.00.

Exercise 3

What is the highest expense in February if you leave out the rent? Use MAX with the right range.
In cell F4
fx
Show the answer

=MAX(C5:C11) = $412.00 (groceries).

Exercise 4

How many cells holding a number are there in the whole block B4:D11?
In cell F4
fx
Show the answer

=COUNT(B4:D11) = 23.

Bonus challenge

The answer isn't in the book: you check it only here.

Expenses sheet: in a free cell, use AVERAGE to work out the average of the whole block B5:D11, that is, every item except the rent, over the three months. Two cells are special: the February cell phone is empty and February entertainment is 0. What result do you get, and how many numbers go into the average?
In cell F4
fx
How many numbers go into the average?
Show the answer

=AVERAGE(B5:D11) = $122.77: the average of 20 numbers. The block has 21 cells, but C7 (the February cell phone) is empty and AVERAGE skips it. The 0 for February entertainment is a number, so it counts. You can check the count with =COUNT(B5:D11), which also gives 20. If you divide the total by 21 instead, the result comes out too low, because the empty cell is treated as if it were a bill.