Math Lab
Home/Class VIII/Ch 12/Spreadsheets for data

Spreadsheets for data

When Sudhakar wants the total marks of every student in his class , across six subjects , he could add the columns by hand, but it would take hours. A spreadsheet can do all that arithmetic in less than a second. You type one formula, drag it down, and the answers appear. Modern data-handling almost always uses spreadsheets, so it is worth learning the basics now.

Concept

A spreadsheet is a digital grid of cells. Each cell is named by a letter (the column) and a number (the row). For instance, A1A1 is the top-left cell, B3B3 is the cell in column BB, row 33.

You can type three kinds of things into a cell:

  1. Text , like the heading "Maths".
  2. A number , like 4747.
  3. A formula , starts with an = sign, and the cell shows the computed result.

Cell ranges. Several cells in a row, column, or rectangle can be described by their first and last names, separated by a colon. Examples:

  • B3:G3 , all cells from B3B3 across to G3G3 (one row).
  • D2:D6 , all cells in column DD, rows 22 to 66 (one column).
  • B2:E5 , a rectangle of cells.

Key formulae.

FormulaWhat it does
=SUM(B3:G3)adds all values in row 33, columns BB to GG
=AVERAGE(B3:G3)computes the mean of the same cells
=MAX(B2:B10)returns the largest value
=MIN(B2:B10)returns the smallest value
=COUNT(B2:B10)counts how many cells contain numbers

If any of the source values changes, the formula updates automatically. This is the spreadsheet's superpower: the data stays linked to the calculations.

Filling formulae down. If you write =SUM(B3:G3) in cell H3H3, you can drag the small handle at the corner of the cell downward, and the spreadsheet will produce =SUM(B4:G4) in H4H4, =SUM(B5:G5) in H5H5, and so on. This is how a single formula computes totals for an entire class in seconds.

Common pitfalls.

  • Forgetting the = sign , the cell just shows the text "SUM(B3:G3)" instead of computing.
  • Using a wrong range , e.g., B3:G2 (which spans nothing).
  • Including text cells inside an AVERAGE range , text is ignored, but check your range still has only the cells you want.

You can use any spreadsheet software , Google Sheets, Microsoft Excel, LibreOffice Calc , they all share the same formulae for SUM, AVERAGE, MAX, MIN, and COUNT.

Worked examples

Example 1. A class's marks in Maths are in cells E2:E8E2:E8. What formula gives the class's mean Maths mark?

  • =AVERAGE(E2:E8).

Example 2. Cells B3:G3B3:G3 contain Nagesh's marks in six subjects. What formula gives his total?

  • =SUM(B3:G3). To get the total in H3H3 for the whole class, type that in H3H3 and drag down to H8H8.

Example 3. What cell contains the marks for Farooq in Mathematics, given Mathematics is column EE and Farooq is in row 55?

  • Cell E5E5.

Example 4. Subjects (column headings) sit in row 11. Six students sit in rows 22 to 77, with their scores in columns BB to GG. Write formulae to display:

  • (i) the average Science mark.

  • (ii) the highest English mark.

  • (iii) the total marks of the third student.

  • (i) =AVERAGE(G2:G7) (if Science is column GG).

  • (ii) =MAX(D2:D7) (if English is column DD).

  • (iii) =SUM(B4:G4).

Try it yourself

  1. The marks in Hindi are in cells C2:C25C2:C25. Write a formula for the class average in Hindi.
  2. Write a formula for the highest mark in the same column.
  3. Marks of a student named Ratna are in B2:G2B2:G2. Write the formula for Ratna's total.
  4. What does the formula =SUM(B2:B10)+SUM(C2:C10) compute?
  5. If =AVERAGE(B2:B6) gives 3030, what is the sum of B2B2 to B6B6?
  6. What cell name refers to column HH, row 44?
  7. True or false: changing the value in B5B5 will automatically update any formula that uses cell B5B5.
  8. If a column has the values 25,39,29,47,33,27,1625, 39, 29, 47, 33, 27, 16, type the formula for their mean , and then compute the mean yourself to verify.

Activity

Class data on a spreadsheet. With your teacher's help, open a spreadsheet program on a computer. Enter the names of 55 classmates in column AA, and their scores in three subjects across columns B,C,DB, C, D. In column EE, type =SUM(B2:D2) for the first student's total and drag down. In row 8, type =AVERAGE(B2:B6) for the class mean in subject 1, and drag right to get all three subject averages. Now change one mark and watch the totals and averages update on their own , that's the spreadsheet at work.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Spreadsheets for data
5 questions · pick the best answer
Q1

A cell name is made of

Q2

Formula for the mean of C2C2 through C20C20

Q3

`=SUM(B3:G3)` computes

Q4

If `=AVERAGE(D2:D6)` returns 3030, the sum D2+D3+D4+D5+D6D2 + D3 + D4 + D5 + D6 equals

Q5

When you change a value used in a formula, the formula