Skip to lesson content

Lesson 7 of 13

Tales by Dots and Lines · Lesson 7 of 13

Exploring Data in a Spreadsheet

“Organise a table, write formulas, and check what automated calculations mean.”

Learning Objectives

• Identify cells and ranges using column letters and row numbers. • Use SUM and AVERAGE formulas for rows and columns. • Explain how relative cell references change when formulas are copied. • Check data entry, ranges, and results before interpreting them.

A table with many students and several subjects contains useful information, but repeated addition can become slow. A spreadsheet keeps data in a grid and calculates from that grid. If an entry changes, a formula can recalculate its result automatically.

The software follows the instructions you give it. It cannot decide whether you selected the correct students, included the right columns, or typed a sensible value. Learning to read a formula is therefore as important as learning to enter one. We will start with a small activity-score table that you can reproduce easily.

Spreadsheets

Columns are labelled with letters, and rows are labelled with numbers. A cell address combines the column and row: B3 means column B, row 3. A rectangular collection of cells is called a range. The range B2:D2 includes B2, C2, and D2; B2:B5 includes four cells down one column.

Enter the headers in row 1 and the data in rows 2–5. The row labels shown at the left below are worksheet row numbers, not an extra data column. Column A holds names, B through D hold three activity scores, E will hold each total, and F will hold each mean.

RowA: NameB: PuzzleC: ReadingD: ScienceE: TotalF: Mean
1NamePuzzleReadingScienceTotalMean
2Asha121518
3Farooq161412
4Leela101820
5Mohan141315
Definition
Formula

An instruction in a spreadsheet that calculates a result. A formula commonly begins with = and may use cell addresses, ranges, and functions.

Finding a cell and a range

Problem
Where is Farooq’s Science score, and which range contains all three of Leela’s scores?

  1. 1.Farooq is in row 3 and Science is in column D. His Science score is therefore in D3.
  2. 2.The value in D3 is 12.
  3. 3.Leela is in row 4, and the three scores run from column B through D.
  4. 4.The range is B4:D4, containing 10, 18, and 20.

Using SUM and AVERAGE

SUM adds the numbers in a range. AVERAGE calculates their mean. For Asha’s row, =SUM(B2:D2) totals three scores, while =AVERAGE(B2:D2) divides that total by the number of numeric entries in the range.

These formulas are not just button presses. Say them aloud: “Add the cells from B2 through D2,” or “Find the mean of the numeric entries from B2 through D2.” This habit makes accidental range choices easier to notice.

CellFormula to enterExpected result
E2=SUM(B2:D2)45
F2=AVERAGE(B2:D2)15
E3=SUM(B3:D3)42
F3=AVERAGE(B3:D3)14
Checking a row formula

Problem
Calculate Asha’s total and mean, then compare them with the spreadsheet results.

  1. 1.Asha’s scores are 12, 15, and 18. Their total is 45.
  2. 2.There are 3 numeric scores, so their mean is 45 ÷ 3 = 15.
  3. 3.Enter =SUM(B2:D2) in E2 and =AVERAGE(B2:D2) in F2.
  4. 4.The displayed results should be 45 and 15. If they differ, inspect the entries and the range.

Copying Formulas Down and Across

A normal cell reference is relative. When a formula is copied one row down, its row references move one row down too. Copying =SUM(B2:D2) from E2 to E3 therefore produces =SUM(B3:D3). This is helpful because each student needs a total from their own row.

Copying across changes columns. Suppose B7 contains =AVERAGE(B2:B5). Copying it one column right to C7 changes the formula to =AVERAGE(C2:C5). Always inspect the resulting formula to confirm that the movement matches your intention.

Completing the table

Problem
Copy the row formulas to rows 3–5. What results should appear?

  1. 1.Farooq’s total is 16 + 14 + 12 = 42 and his mean is 14.
  2. 2.Leela’s total is 10 + 18 + 20 = 48 and her mean is 16.
  3. 3.Mohan’s total is 14 + 13 + 15 = 42 and his mean is 14.
  4. 4.The total column should show 45, 42, 48, 42; the mean column should show 15, 14, 16, 14.

Comparing Columns

A row calculation answers a question about one student across activities. A column calculation answers a question about one activity across students. Both are useful, but they describe different groups of observations.

For example, a high Reading-column mean describes these four Reading scores together. It does not say that every learner did better in Reading than in Puzzle. To make that claim, compare the relevant scores within each learner’s row.

Means for three activities

Problem
Find the mean of each activity column in the displayed table.

  1. 1.For Puzzle, use =AVERAGE(B2:B5): (12 + 16 + 10 + 14) ÷ 4 = 13.
  2. 2.For Reading, use =AVERAGE(C2:C5): (15 + 14 + 18 + 13) ÷ 4 = 15.
  3. 3.For Science, use =AVERAGE(D2:D5): (18 + 12 + 20 + 15) ÷ 4 = 16.25.
  4. 4.Science has the highest column mean in this small table. It is still necessary to inspect individual rows before describing every student.

Checking the Range and the Data

Do not include a total alongside the individual scores when calculating their mean. In Asha’s row, B2:E2 includes 12, 15, 18, and 45. Averaging those four numbers answers the wrong question because the total is counted as if it were an extra activity score.

A blank cell and a recorded zero are different. A blank may mean that an observation is missing; zero is an actual numeric value. Common spreadsheet AVERAGE functions ignore empty cells but include numeric zeros. Check that behaviour in your sheet and record missing data honestly rather than silently replacing it with zero.

Build a Small Data Sheet

Create the displayed table in a spreadsheet and use it as a checking exercise.

  1. Enter the labels and data, then calculate one row manually.
  2. Add SUM and AVERAGE formulas and copy them to the other rows.
  3. Calculate the three column means.
  4. Change Asha’s Puzzle score from 12 to 15 and predict the affected results before checking the sheet.

Asha’s new total is 48 and her new row mean is 16. The Puzzle-column mean rises from 13 to 13.75. The other two column means stay the same. This is a useful check that the formulas refer to the intended cells.

Quiz

Quick check

What does C4 identify?

Quick check

Which formula finds the mean of B2, C2, and D2?

Quick check

Copy =SUM(B2:D2) one row down. What is the new formula?

Quick check

What is the Science-column mean in the original table?

Quick check

Why is =AVERAGE(B2:E2) unsuitable for Asha’s three activity scores?

A cell address gives the column letter first and row number second.

Practice Problems

Practice Problems
  1. Give the cell address of Mohan’s Reading score and its value.
  2. Write a formula for the total of all four Puzzle scores.
  3. Write the formulas for Leela’s total and mean.
  4. Copy =AVERAGE(B2:B5) two columns to the right. Predict the formula.
  5. A sheet contains numeric values 6, 0, and 12. Find their mean and explain why the zero stays.
  6. Farooq’s Puzzle score changes from 16 to 19. Find his new total, his new mean, and the new Puzzle-column mean.

Step 1: Mohan is in row 5 and Reading is column C. Step 2: The address is C5 and the value is 13.

Key Takeaways

Key Takeaways

• A cell address combines a column letter and a row number. • SUM finds a total; AVERAGE finds a mean of the numeric entries. • Copied relative formulas change their cell references. • Row and column calculations answer different questions. • Check ranges, missing values, and at least one manual calculation.