Skip to content

← Grade 7

Spreadsheets and Data

Unit 5 · Data and analysis

Hide the stories, facts, photos, activities and interactives, for revising before an exam
In this unit 11 sections
  1. Formulas that do the work
  2. A class survey
  3. Sort and filter
  4. Group and summarize
  5. Messy data
  6. How exact should data be?
  7. Finding a trend
  8. A budget
  9. Telling what you found
  10. In short
  11. Exercise

Every evening, the owner of a tea shop near Bhaktapur Durbar Square adds up the day: how many cups of milk tea, how many samosas, how much money came in. A school counts how many students come by bus, so it knows how many buses to hire. A family works out whether this month’s money will last until the next salary. All of them are asking questions, and the answers are hiding in rows of numbers.

In Grade 6 you met spreadsheets: cells and their addresses, formulas such as =SUM(C2:C11) and =AVERAGE(D2:D11), sorting, and charts that tell the truth. In this unit you go much further. You will write one formula and copy it down a whole column, pick out just the rows you want, count and average each group with one formula each, clean up messy answers, find a trend and use it to predict, plan a family’s budget, and write up what a survey found, including what it can’t tell you.

Formulas that do the work

In the tea shop, each row of the day’s sheet is one item: its price, how many were sold, and the money it brought in, the amount. The amount is the price times the number sold. So in D2, for milk tea, the formula is

=B2*C2

A spreadsheet uses * for times and / for divide, because a keyboard has no × or ÷ keys. As in math class, it does times and divide before plus and minus: =2+3*4 gives 14, not 20. Use brackets to change the order: =(2+3)*4 gives 20.

Copying a formula down

There are seven items. You could type seven formulas, =B2*C2, =B3*C3, =B4*C4 and so on. But a spreadsheet can do it for you: write the formula once, then copy it down the column. On a computer you drag the small square at the corner of the cell, the fill handle, down the column (or double-click it); on a phone you copy the cell and paste it into the cells below.

Look at what each copy says:

Cell Formula What it means
D2 =B2*C2 the price in this row times the number sold in this row
D3 =B3*C3 the same, one row down
D4 =B4*C4 the same, two rows down

The copies are not exact copies. Each one points to its own row. That is because a cell address in a formula is really a direction: =B2*C2 in D2 means “the cell two to my left, times the cell one to my left, in my row”. Copied one row down, the same direction leads to B3 and C3. An address that moves like this when it is copied is called a relative reference.

Fixing an address with $

Sometimes a formula must keep pointing to the same cell wherever it is copied. Say the tea shop wants each item’s share of the day’s money. Milk tea brought Rs 2,580 of Rs 6,630, so its share is 2,580 ÷ 6,630 × 100, about 39%. In E2 that is =D2/D9*100. Copy it down, and E3 says =D3/D10*100: the total moved down too, into an empty cell, and the answer is wrong.

A $ sign in front of a column letter or row number fixes it, so it doesn’t move when copied. $D$9 always means D9. An address fixed like this is called an absolute reference. The right formula is

=D2/$D$9*100

and copied down it becomes =D3/$D$9*100, =D4/$D$9*100…: each row’s own amount, divided by the one total.

Try it

A tea shop’s day

Write the formula for milk tea in D2, copy it down, and add up the day. Tap D5 and look at the formula bar. Then work out each item’s share in column E: try it first without $ signs, and see what the copies give.

D2
ABCDE
1
2
3
4
5
6
7
8
9
10
Formula in D2:
  • In D2, work out the milk tea’s amount: =B2*C2
  • With D2 selected, press Copy down to fill D3 to D8.
  • In D9, add up the day’s takings with SUM.
  • In E2, work out milk tea’s share of the day in percent, then copy it down. Every copy must divide by D9.

Tap a cell to see its formula. Copy down copies it into the cells below, as far as the data goes.

Sorted by column A. Each whole row moved together, so every record still belongs to the same person.

A formula: the cell shows the answer, and the answer changes by itself when the numbers it uses change.

Something in that formula is wrong. Check the function’s spelling, the brackets and the cell addresses.

You changed the data, so every formula that uses it changed too.

A bar chart: each bar’s length shows a number, so it is easy to compare the groups.

A pie chart: the whole circle is everyone, and each slice is one group’s share of it.

The axis starts at 0, so each bar’s length matches its number. This chart is honest.

The axis starts at 0, not 0: the bars are cut short, so small differences look huge. The numbers didn’t change.

Copied into 0 cells below. Tap one and look at the formula bar: its addresses moved down with it.

Nothing to copy down to: Copy down fills the cells below as far as the column beside them has data.

All done! One formula, copied down, worked out every row; SUM added them up, Rs 6,630; and $D$9 kept every share dividing by that one total.

Hint

D2 holds =B2*C2. It is copied into D6. What does D6 hold?

Pick an answer to see why.

Which formula, copied down a column, keeps dividing by the total in B20?

Pick an answer to see why.

A class survey

In Grade 6 your class asked how each student comes to school, how far and how long, then sorted the answers and worked out totals and averages for the whole class. This time a Class 7 asked the same three questions, to compare the groups and look for connections:

  • How do you usually come to school? (Walk, Bicycle, Motorbike, School bus, Public bus)
  • About how far is it, in kilometers?
  • About how many minutes does the trip take?

They wanted to find out: Which way of coming to school is fastest? Do the students who live farther away take longer? How long would a walk of 3 km take? These are questions the data can answer, which is the first step of any data investigation.

Instead of paper, they used an online form: a page of questions that anyone with the link can fill in on a phone. Each person’s answers arrive as one row of a spreadsheet, so 30 answers make a table of 30 records, ready to work on.

A class survey on how students come to school asks for each student’s name, phone number and home address. What should change?

Pick an answer to see why.

Sort and filter

With 30 rows, the first tools are the ones that reorder and pick out rows.

Sorting, as you saw in Grade 6, puts every row in order by one column, whole rows moving together. Sorted by Minutes, descending, the longest trips come to the top. You can also sort by two columns: first by Comes by, then by Minutes within each group, so that all the walkers come together, fastest first.

Filtering shows only the rows you want and hides the rest. Filter the Comes by column to show only Walk, and the other 18 rows disappear from view. They are not deleted. Look at the row numbers: they jump (2, 4, 7…) where rows are hidden. Show all again, and every row comes back.

Try it

Sort and filter the survey

To sort, tap any cell in the column you want, then Ascending or Descending. To filter, tap a cell holding the value you want (a Walk in column B), then Only this value.

D2 14
ABCD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Sort by D:
Filter by D:
  • Sort by Minutes (column D), longest trip first.
  • Filter column B to show only the students who walk.

Tap a cell to see what is in it. Type to change it; start with = to write a formula.

Sorted by column A. Each whole row moved together, so every record still belongs to the same person.

A formula: the cell shows the answer, and the answer changes by itself when the numbers it uses change.

Something in that formula is wrong. Check the function’s spelling, the brackets and the cell addresses.

You changed the data, so every formula that uses it changed too.

A bar chart: each bar’s length shows a number, so it is easy to compare the groups.

A pie chart: the whole circle is everyone, and each slice is one group’s share of it.

The axis starts at 0, so each bar’s length matches its number. This chart is honest.

The axis starts at 0, not 0: the bars are cut short, so small differences look huge. The numbers didn’t change.

Showing only the rows that match the selected cell: 0 of them. The rest are hidden, not deleted: look at the row numbers.

All the rows are back. A filter only hides rows; it never changes the data.

Done! Sorted, the longest trips are at the top; filtered, only the 12 walkers show, still longest first.

What you should see

A sheet of 30 students is filtered to show only the 4 cyclists. What has happened to the other 26 rows?

Pick an answer to see why.

Group and summarize

The most useful questions are often about groups. How many students walk? On average, how long does a bus rider’s trip take? To answer them for every group at once, you group the rows by one column and summarize each group: count it, add it up, or average it.

Three functions do this. Each one looks down one column, picks out the rows that match a rule, its criterion, and works only on those:

Formula What it does For the survey
=COUNTIF(B2:B31, "Walk") counts the cells in B2:B31 that say Walk 12 students walk
=SUMIF(B2:B31, "Walk", C2:C31) adds up the C cells of the rows whose B says Walk the walkers walk 17.4 km in all
=AVERAGEIF(B2:B31, "Walk", D2:D31) averages the D cells of the rows whose B says Walk a walker’s trip takes 20.75 minutes on average

A word in a formula goes inside quotation marks, "Walk", so the spreadsheet knows it is a word and not a cell address. The criterion can also be a condition, like the conditions in Unit 3’s programs: =COUNTIF(D2:D31, ">=30") counts the trips of 30 minutes or more (10 of them), and "<>Walk" means anything except Walk.

Better still, the criterion can be a cell. Put the names of the groups in a column (Walk in A34, School bus in A35…), and write

=COUNTIF($B$2:$B$31, A34)

The $ signs fix the survey’s range, while A34 is relative. Copy the formula down, and each copy counts its own group: A35’s, A36’s… One formula, copied, makes a whole summary table.

Try it

Group and summarize

The summary table is at the bottom (scroll down in the sheet): one row for each way of coming to school. Column C is done for you. Fill in columns B and D.

B34
ABCD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Formula in B34:
  • In B34, count the walkers: =COUNTIF($B$2:$B$31,A34)
  • Copy B34 down, to count every group.
  • In B40, add up the groups with SUM. Is everyone counted?
  • In D34, find the walkers’ average minutes with AVERAGEIF, then copy it down.

Tap a cell to see its formula. Copy down copies it into the cells below, as far as the data goes.

Sorted by column A. Each whole row moved together, so every record still belongs to the same person.

A formula: the cell shows the answer, and the answer changes by itself when the numbers it uses change.

Something in that formula is wrong. Check the function’s spelling, the brackets and the cell addresses.

You changed the data, so every formula that uses it changed too.

A bar chart: each bar’s length shows a number, so it is easy to compare the groups.

A pie chart: the whole circle is everyone, and each slice is one group’s share of it.

The axis starts at 0, so each bar’s length matches its number. This chart is honest.

The axis starts at 0, not 0: the bars are cut short, so small differences look huge. The numbers didn’t change.

Copied into 0 cells below. Tap one and look at the formula bar: its addresses moved down with it.

Nothing to copy down to: Copy down fills the cells below as far as the column beside them has data.

All done! Five formulas you wrote once and copied turned 30 rows into a summary of five groups.

Hint
What you should see

Try it

Sort, filter or group?

Which tool answers each question fastest?

Who has the longest trip to school?

Which tool answers this question about the class survey?

Tap a group above.

Card
1 of 8
Right the first time
0

Which formula counts the students in B2:B31 who come by school bus?

Pick an answer to see why.

=AVERAGEIF(B2:B31, "Bicycle", D2:D31) gives 15.25. What does that tell you?

Pick an answer to see why.

Messy data

Real data is messy. When people type their own answers, the same answer turns up in different words, numbers come with units attached, some boxes are left empty, and a few answers are plainly impossible. If you don’t notice, the spreadsheet happily gives wrong answers, and nothing warns you.

Here are the problems you will meet most often:

  • The same answer, different words: “Walk”, “walking”, “walk ” (with a space at the end), “On foot”. To a computer these are four different words, so COUNTIF counts only one of them.
  • A number stored as words: “3 km” or “Rs. 250”. A spreadsheet reads them as text, and SUM and AVERAGE quietly skip them.
  • A wrong unit: 800 in a column of kilometers, from someone who meant 800 meters.
  • A missing answer: an empty cell.
  • A repeat: the same person’s answers twice, because they pressed Send twice.
  • An impossible value: a 1 km walk that takes 150 minutes, an age of 112 in Class 7.

Finding and fixing these is called cleaning the data. For each problem there is usually more than one way to fix it, and the way you choose changes the answers you get.

Try it

Clean the survey

These are another class’s answers, straight from an online form. The six problems are marked. For each, pick a fix and watch the answers below the table change.

NameComes bykmMinutes
2AayushWalk1.218
3BimalaSchool bus730
4DawaWalk0.58
5DipeshBicycle3 km16
6ElishaMotorbike4
7GauriWalking228
8HemantPublic bus640
9HemantPublic bus640
10IshanWalk80012
11Kiranwalk␣1.825
12PasangWalk1150
13TrishnaOn foot2.533

Problem 1: Different words. “Walking”, “walk ” (with a space at the end) and “On foot” all mean Walk.

Problem 2: Number as words. Dipesh typed “3 km”. A spreadsheet reads that as words, not a number.

Problem 3: Wrong unit. Ishan wrote 800 in the km column, and walks it in 12 minutes.

Problem 4: A blank. Elisha didn’t say how many minutes her trip takes.

Problem 5: A repeat. Hemant sent the form twice, so he is in the table twice.

Problem 6: Impossible. Pasang walks 1 km, but wrote 150 minutes: two and a half hours!

Records
12
Walkers
4
Average km
75.6
Average minutes
36.4

These answers come from the table as it is. Choose a fix for each problem and watch them change.

Good. They are the same answer, so they should be written the same way. Now COUNTIF finds every walker.

Poor. To a computer “Walking”, “walk ” (with its space) and “On foot” aren’t “Walk”, so three walkers go uncounted.

Poor. These are real, useful answers, only written differently. Deleting them throws away three students.

Good. The unit belongs in the header (km), and the cell holds the number, so AVERAGE can use it.

Poor. AVERAGE quietly skips cells with words in them, so Dipesh’s distance is left out and nothing warns you.

Good. 800 meters in 12 minutes on foot fits; 800 km doesn’t. 800 m is 0.8 km. If you aren’t sure, ask him.

Acceptable. No wrong number gets into the average, but you lose his distance, which you could have worked out.

Poor. One wrong number drags the average distance up to over 70 km: nonsense for a class that walks and takes buses.

Best, when you can: now you have her real answer, 15 minutes.

Acceptable if you can’t ask. AVERAGE skips the empty cell; say that the average is of those who answered.

Poor. Nobody’s trip takes 0 minutes. A 0 is counted as a real answer and pulls the average down.

Risky. It looks like a real answer, but it was made up. Anyone reading the table later can’t tell.

Good. One student, one record. Now there are 11 records for 11 students.

Poor. Hemant is counted twice: 12 records for 11 students, and his trip counts double in every average.

Best: he meant 15. A value far from the rest is worth checking with the person who gave it.

Acceptable, with care: 15 is a likely guess, but it is still a guess. Write down that you changed it, and why.

Acceptable. A wrong number no longer spoils the average, though you have one answer fewer.

Poor. One impossible number pulls the average trip up by more than 10 minutes.

All clean!

Choosing a fix

There is rarely one right answer, but some fixes are better than others:

Problem Good fixes Poor fixes
Same answer, different words change them all to one spelling leaving them, or deleting the rows
Number stored as words keep just the number; the unit goes in the header leaving it, so AVERAGE skips it
Wrong unit convert it (800 m = 0.8 km), if you are sure what was meant leaving it
Missing ask again; or leave it empty and say how many answered putting 0, or inventing a value
Repeat delete the extra copy keeping both, so one person counts twice
Impossible ask the person; or leave it out and say so leaving it in, or quietly guessing

Two rules hold for every fix. Keep the original: clean a copy of the data, so a mistake can be undone. And write down what you changed and why (“Row 10: 150 minutes changed to 15, after asking Pasang”), so anyone can check your work.

The best fix of all is to stop the mess before it starts, when you design the form: give answer choices instead of a box to type in (no “On foot”), make number questions accept only numbers (no “3 km”), say the unit in the question (“in kilometers”), and make important questions required.

Try it

What’s wrong?

What is wrong with each piece of data?

Comes by: “Bus”, “bus”, “school bus”, “School Bus”

What is wrong with this data?

Tap a group above.

Card
1 of 9
Right the first time
0

In a survey, five students didn’t say how many hours they sleep. What is the best thing to do with their empty cells, if you can’t ask them?

Pick an answer to see why.

Why should you clean a copy of the data, and keep the original?

Pick an answer to see why.

How exact should data be?

Ask “How long is your trip to school?” and you could record the answer in many ways: 22 minutes; 20 minutes (to the nearest 10); Medium; or not even per student, just “8 of us take under 15 minutes”. How exact a value is recorded is its precision: 22 minutes is more precise than 20, and 20 than “Medium”. Whether you record each person separately or only totals for the whole group is the data’s granularity: one row per student is fine-grained; one row per class is coarse.

More precise, finer-grained data can answer more questions. But it costs more: more care to collect, more space to store, and more risk to people’s privacy, because fine-grained data says exactly who did what.

Try it

How exact is exact enough?

The same eight trips, recorded four ways. Switch between them and see which questions each record can still answer.

NameMinutes
Chhiring8
Ishwor12
Laxman14
Kabita22
Gita28
Tara33
Jamuna38
Nabin42
Recorded as:
Average trip 24.6 minutes
Shortest trip Chhiring, 8 minutes
30 minutes or more 3 students

Exact minutes answer every question, but someone had to time each trip, and you trust that they did.

Rounded, the average is close, but Gita’s 28 minutes became 30, so she is now counted in “30 minutes or more”.

Groups are quick to ask and easy to count, and still answer “30 or more”, because 30 is where a group starts. But no average, and no winner.

Totals keep only the counts: they take the least space and hide who said what, but no question about one student can be answered.

So choose the precision before you collect, from the questions you want to answer:

  • To find an average or a trend, you need the numbers themselves, not groups.
  • Rounding can move a value across a line you care about: 28 minutes rounded to 30 lands in “30 minutes or more”.
  • Groups are quick to answer and easy to count, and enough for a question like “How many take 30 minutes or more?”, as long as 30 is where a group starts.
  • Totals keep people’s answers private, but can’t answer anything about one person.

Precision also decides storage. A phone that records where it is once a minute makes 1,440 records a day; once a second, 86,400, sixty times as much data to store and send, and a far more exact record of where its owner goes.

Recording a number more exactly than it was measured doesn’t make it more accurate. A student who guessed “about 20 minutes” didn’t time the trip; writing 20.0 doesn’t change that. Accuracy is how close a value is to the truth; precision is only how many details it gives.

A survey records ages as “10–12”, “13–15” or “16–18”. Which question can’t it answer?

Pick an answer to see why.

A school wants to know the average time its students spend reaching school. Which way of recording is best?

Pick an answer to see why.

Finding a trend

Does a longer distance mean a longer trip? For the walkers, it should. To see a connection between two columns of numbers, draw a scatter chart: one dot for each student, placed across by the distance and up by the minutes.

If the dots climb from left to right in a rough band, the two go together: the farther, the longer. That pattern is a trend. A straight line drawn through the middle of the dots, as close to all of them as it can get, shows it. Spreadsheets call it a trend line, and they work it out for you.

Try it

Walking to school

The twelve walkers from the class survey. Move the slider to read a prediction off the line. Then change a student’s minutes in the table, and watch the line move.

B2 1.2
ABC
1
2
3
4
5
6
7
8
9
10
11
12
13
Walking to school0204060800246Distance (km)Minutes
The line predicts
about 34 minutes
Each extra km adds
about 12.9 minutes

Each dot is one student. Move the slider to read a prediction off the line.

Sorted by column A. Each whole row moved together, so every record still belongs to the same person.

A formula: the cell shows the answer, and the answer changes by itself when the numbers it uses change.

Something in that formula is wrong. Check the function’s spelling, the brackets and the cell addresses.

You changed the data, so every formula and the chart that use it changed too.

A bar chart: each bar’s length shows a number, so it is easy to compare the groups.

A pie chart: the whole circle is everyone, and each slice is one group’s share of it.

The axis starts at 0, so each bar’s length matches its number. This chart is honest.

The axis starts at 0, not 0: the bars are cut short, so small differences look huge. The numbers didn’t change.

Outside the data (the dashed part of the line), the prediction is only a guess: nobody that near or that far was asked.

Inside the data, the line gives a fair guess. Real students will be a little above or below it.

All done! You sorted the data and let the spreadsheet do the adding, the average and the counting.

What you should see

A trend line lets you predict: a new student walks 2 km to school; reading up from 2 km to the line and across gives about 28 minutes. That is a fair guess, but only a guess. Real students sit above and below the line: Gita takes 28 minutes for her 2 km, but Rita takes only 26 for 2.2 km.

Predictions have limits:

  • Stay inside the data. The walkers live between 0.3 and 3 km away. The line says a 10 km walk takes over two hours, but nobody in the data walks that far: on such a long walk people tire and rest, or take a bus. Predicting outside the data is called extrapolation, and it is often wrong.
  • Same kind of people. The line is for walkers. A bus rider 7 km away takes about 30 minutes, not the 92 the walkers’ line would predict.
  • Going together isn’t the same as causing. Here a longer distance really does cause a longer walk. But in many surveys two things rise together because of a third (in a hot week, both ice-cream sales and drownings go up; ice cream doesn’t make people drown). A trend shows that two things go together; it doesn’t prove that one causes the other.

A trend line from 20 shops in Bhaktapur shows that a shop selling more tea also sells more biscuits. What can you safely say?

Pick an answer to see why.

A budget

A budget is a plan for money: what comes in, what goes out, and what is left. A spreadsheet is the natural place for one, because when one number changes, everything that depends on it changes too. That lets you ask “what if?” questions, and see the answer at once.

A family’s month might look like this: money in from a salary and a vegetable stall; money out for rent, food, school fees, cooking gas, electricity, phone data and bus fares. Three formulas do the work: the total in, the total out, and what is left:

Left to save = Total in − Total out

Try it

A family’s month

Bills are cooking gas, electricity and the phone. Fill in the three totals, then try the what-if: Dashain is coming. The pie shows where the money goes.

B4
AB
1
2
3
4
5
6
7
8
9
10
11
12
13
Where the money goesRent9000 · 23%Food16000 · 42%School fees5500 · 14%Bills5300 · 14%Bus fares2500 · 7%Dashain0 · 0%
  • In B4, add up the money coming in.
  • In B12, add up the spending with SUM.
  • In B13, work out what is left: =B4-B12
  • What if Dashain costs Rs 12,000 this month? Type it in B11.

Change a number in the table and watch the chart change with it.

Sorted by column A. Each whole row moved together, so every record still belongs to the same person.

A formula: the cell shows the answer, and the answer changes by itself when the numbers it uses change.

Something in that formula is wrong. Check the function’s spelling, the brackets and the cell addresses.

You changed the data, so every formula and the chart that use it changed too.

A bar chart: each bar’s length shows a number, so it is easy to compare the groups.

A pie chart: the whole circle is everyone, and each slice is one group’s share of it.

The axis starts at 0, so each bar’s length matches its number. This chart is honest.

The axis starts at 0, not 0: the bars are cut short, so small differences look huge. The numbers didn’t change.

All done! With Dashain, the family spends Rs 3,300 more than it earns this month. What they save in an ordinary month, Rs 8,700, would cover it.

Hint
What you should see

A small shop’s budget works the same way, with sales as the money in and costs as the money out. What is left is the shop’s profit; if costs are bigger than sales, it is a loss.

Telling what you found

A data investigation isn’t finished when the formulas are done. Someone has to read what you found and decide whether to trust it. So the last step is a short summary of the whole investigation, honest about what it can’t show.

1. Aska question datacan answer2. Collecta fair survey,exact enough3. Cleanfix messy data,note each fix4. Analyzesort, filter,group, trends5. Reportfindings, andbias and limitsnew questions 1. Aska question data can answer2. Collecta fair survey, exact enough3. Cleanfix messy data, note each fix4. Analyzesort, filter, group, trends5. Reportfindings, bias and limitsnew questions
Figure 5.1 The steps of a data investigation. The summary walks through all of them, and what you find usually leads to new questions.

A good summary answers five questions:

  1. The question. What did you want to find out?
  2. The data. Who did you ask, how, and when? How many answered?
  3. What you did. How did you clean the data, and what did you work out?
  4. What it showed. The findings, each with its evidence: the numbers or the chart that show it.
  5. How sure, and the limits. What could make the findings wrong, and what can’t the data tell you?

The limits are where most summaries go wrong. Look out for bias: anything that tilts the data one way, so it no longer stands for what you wanted to know about.

  • Who was asked. One class isn’t the whole school. Students in Class 7 may live in different places from those in Class 1.
  • Who answered. If the form was shared online, students without a phone at home couldn’t answer, and they may be the ones who walk farthest.
  • How it was asked. A leading question, or choices that don’t fit everyone, push the answers.
  • How it was measured. “About how many minutes?” gives guesses, not timed trips.
  • How small. A pattern in 3 public bus riders could be chance; with 3 more it might vanish.

In one Class 7 survey, 12 of the 30 students walk, more than come any other way. Which sentence reports it honestly?

Pick an answer to see why.

An old street map of part of London, with small black bars stacked along the streets, crowded most thickly around one spot on Broad Street
Figure 5.2 John Snow’s map of the 1854 cholera outbreak, published in 1855. Each small black bar is one death. They crowd around the pump in Broad Street, near the middle of the map. Photo: John Snow, Public domain

Try it

Your class’s answers

The same sheet as in Grade 6, kept in this browser: one row per student. (It has no summary table; on a computer, use a real spreadsheet program for the full project.)

A2
ABCD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Sort by A:

Tap a cell to see what is in it. Type to change it; start with = to write a formula.

Sorted by column A. Each whole row moved together, so every record still belongs to the same person.

A formula: the cell shows the answer, and the answer changes by itself when the numbers it uses change.

Something in that formula is wrong. Check the function’s spelling, the brackets and the cell addresses.

You changed the data, so every formula that uses it changed too.

A bar chart: each bar’s length shows a number, so it is easy to compare the groups.

A pie chart: the whole circle is everyone, and each slice is one group’s share of it.

The axis starts at 0, so each bar’s length matches its number. This chart is honest.

The axis starts at 0, not 0: the bars are cut short, so small differences look huge. The numbers didn’t change.

All done! You sorted the data and let the spreadsheet do the adding, the average and the counting.

In short

Exercise

A2 holds 5 and B2 holds 3. What does =A2+B2*2 give?

Pick an answer to see why.

C2 holds =A2*$B$1. It is copied into C5. What does C5 hold?

Pick an answer to see why.

Which formula adds up the minutes (D2:D31) of only the students who come by motorbike (column B)?

Pick an answer to see why.

In a survey, the answers to “Comes by” include “Bus”, “bus” and “Bus ” (with a space). Which fix is best?

Pick an answer to see why.

A trend line from students who live 1 to 5 km from school is used to predict the trip of a student 25 km away. What is the problem?

Pick an answer to see why.

A survey about phone use is shared only in one social media group. Which is a likely bias?

Pick an answer to see why.

a.

Explain the difference between a relative and an absolute reference, with an example of when you need each.

Answer
b.

A stationery shop’s sheet has prices in B2:B10 and numbers sold in C2:C10. i. What formula goes in D2 for the first item’s amount? ii. How do you get the amounts of the other items without typing eight more formulas? iii. Write the formula for the total in D11.

Answer
c.

What is the difference between sorting and filtering? Give a question about a class survey that each one answers.

Answer
d.

A survey of 40 students has the house each belongs to (Everest, Kanchenjunga, Lhotse, Makalu) in B2:B41 and their marks in a quiz in C2:C41. Write formulas to find i. how many students are in Everest house, ii. the total marks of Lhotse house, iii. the average mark of Makalu house, and iv. how many students scored 15 or more.

Answer
e.

The four house names are typed in F2:F5. Write one formula for G2 that counts the students in the house named in F2, and that can be copied down to G5 to count the other three houses. Explain why it needs $ signs.

Answer
f.

Here are some answers from an online form. Name the problem in each row and say how you would fix it.

Name Comes by km Minutes
Sita walking 1.5 20
Ram Bicycle 2 km 12
Nima Bus 6
Sabina Walk 1 200
Ram Bicycle 2 km 12
Answer
g.

A health post records each patient’s age in one of three ways: exact age in years; age groups (0–14, 15–59, 60 and over); or just the number of patients each day. Give one question each way can answer that the next one can’t, and one reason to choose a less exact way.

Answer
h.

For 10 days, a shop wrote down the highest temperature and the number of cold drinks sold. The scatter chart shows a clear trend: hotter days, more cold drinks. i. Describe the trend in words. ii. How could the shop use it? iii. Give one limit of a prediction from it.

Answer
i.

Rina’s family gets Rs 30,000 a month. They spend Rs 8,000 on rent, Rs 12,000 on food, Rs 3,000 on school fees, Rs 2,000 on electricity and gas, and Rs 1,500 on phone and internet. i. Show how you would set this budget up in a spreadsheet, with formulas. ii. How much is left? iii. What if the rent rises to Rs 9,500?

Answer
j.

A student surveyed 15 friends in her own class through a messaging app, asking “Don’t you agree that our school day is too long?” She reports: “Most students in Nepal think the school day is too long.” List four problems with her investigation, and rewrite her finding honestly.

Answer