← Working with data

Working with data: recap

For after the lessons: one card per lesson, to check what you remember. Answer each question in your head or on paper first, then check it. Nothing here is marked.

Cells and formulas

1. A formula keeps up

Try firstB2 holds 4, C2 holds 9 and D2 holds =C2-B2. You change B2 to 6. What does D2 show?

Check your answer

3. The formula works out 9 - 6 again.

A spreadsheet is a grid of cells, and each has a name: the column letter, then the row number, such as C2.

A cell that starts with = is a formula. It uses other cells' names, and works its answer out again whenever one of them changes. A number you type in as the answer is only a number: it does not follow.

Open the lesson →

2. Copy a formula

Try firstD2 holds =C2-B2. You paste it into D8. What does D8 hold?

Check your answer

=C8-B8. D8 is six rows below D2, so each row number goes up by six.

When you copy a formula, its cell names move with it.

=C2-B2 in D2 means 'the cell one to the left, take away the cell two to the left'. Pasted into D3 it means the same thing in row 3, so it becomes =C3-B3.

So you write one formula and fill it down the column. Each row uses its own cells.

Open the lesson →

3. A cell that stays put

Try firstC2 holds =B2*$B$7. You paste it into C6. What does C6 hold?

Check your answer

=B6*$B$7. B2 moves down four rows to B6, and $B$7 stays put.

When a formula is copied, every cell name in it moves.

A name with $ in front of its letter and number does not. $B$7 stays on B7 wherever the formula goes.

So put a shared number (like g) in its own cell, fix it with $, and fill the formula down. Change that one cell and every answer follows.

Open the lesson →

Summing up

4. Add up a column

Try firstB2 to B6 hold 2, 4, 6, 8 and 10. What does =SUM(B2:B6) show?

Check your answer

30.

SUM is a ready-made formula that adds up the numbers in a range.

A range names a block of cells by its two ends, with a colon: B2:B8 means every cell from B2 down to B8. A comma only lists the cells you name.

When any cell in the range changes, the total works itself out again.

Open the lesson →

5. Typical, smallest and biggest

Try firstFour heights are 6, 8, 10 and 12. What does =AVERAGE(B2:B5) show? And =MAX(B2:B5)-MIN(B2:B5)?

Check your answer

9 for the average (36 ÷ 4) and 6 for the spread (12 − 6).

AVERAGE, MIN and MAX are functions that work on a range.

AVERAGE adds up the numbers and divides by how many there are, to give a typical value. MIN is the smallest and MAX the biggest, so MAX − MIN shows how spread out the numbers are.

An empty cell is skipped. A 0 you type is a real number, so it pulls the average down: leave a missing measurement empty.

Open the lesson →

6. Count and decide

Try firstB2 holds 7. What does =IF(B2>=10,"Tall","Short") show? And what would it show if B2 were 10?

Check your answer

Short for 7, and Tall for 10, because >= includes 10.

IF lets a cell decide: =IF(test, answer if true, answer if not). A test compares cells, with signs like >=. Words in an answer go in quote marks.

COUNTIF counts how many cells in a range match a rule, such as ">=10" or "Tall".

Change a number and the decision and the count both follow.

Open the lesson →

Show the data

7. Put the rows in order

Try firstYou sort the animals by Mass from low to high. Which animal is in row 2? And if you then filter to Birds, how many rows can you see?

Check your answer

The Mouse (0.02 kg) is in row 2 after the sort. Filtering to Birds shows 2 rows, the Eagle and the Penguin.

Sorting puts the rows of a table in order by one column. Whole rows move, so each row keeps its own numbers.

Filtering hides the rows that do not match a rule. Nothing is deleted, and Show all brings every row back.

Select the whole table first, headings included.

Open the lesson →

8. Choose a chart

Try firstA student measured how far a ball rolled after being released from five different heights. Which chart shows whether a higher release goes with a longer roll?

Check your answer

A scatter chart: release height along the bottom and distance rolled up the side. Each dot is one roll.

A chart should answer a question.

Column compares amounts in groups. Line shows change over time. Scatter shows whether two measurements go together. Pie shows how one whole is shared.

Give it a title and axis titles with units, so a reader needs nothing else.

Open the lesson →

Challenge: report on an investigation

9. Report on an investigation

Try firstName one thing in your report that would change automatically if one measurement were corrected, and one thing you would have to change yourself.

Check your answer

The averages, tallest, shortest and counts (and the chart) change by themselves. The conclusion sentence is written by hand, so you would re-read it.

A report turns measurements into an answer.

Summarise with formulas, so corrections follow. Chart the comparison, with a title and axis titles with units. Conclude with a sentence that says what the data shows, for these plants, and no more.

Open the lesson →