Unit 2 · Topic 08 · Data Analysis and Representation (Google Sheets)
Anaya added the six days on a calculator and got ₹1,690.
Kabir added the same six days and got ₹1,820.
Only one of them could be right. It turned out neither was.
The Diwali stall had run for six days. Ms. Rao wanted three answers by lunch: the total money collected, the worst day and the best day.
The money sat in column B: Monday 240, Tuesday 310, Wednesday 180, Thursday 420, Friday 275, Saturday 355.
Anaya grabbed the calculator and tapped fast, six numbers in about four seconds. "One thousand six hundred and ninety."
Kabir went slowly, whispering each number. "One thousand eight hundred and twenty."
They looked at each other. Pixel's fan wheezed, which is as close as Pixel gets to laughing.
"Two answers," said Ms. Rao. "One sheet. Let the sheet do it."
She clicked cell B9 and typed =SUM(B2:B7), then pressed Enter. Out came ₹1780.
"The equals sign tells Sheets you are asking a question, not typing a word," she said. "SUM is the name of the job. The brackets hold what to work on. B2:B7 means B2 through B7 — the colon is the word 'through'."
Anaya tried it herself in B10: =MIN(B2:B7). Out came 180.
"That's Wednesday," said Kabir, checking across the row. "Our worst day."
In B11 she typed =MAX(B2:B7). Out came 420.
"Thursday!" said Anaya. "The day of the extra jalebis."
Then she tested something. She changed Wednesday from 180 to 500. All three cells changed by themselves — the total, the smallest and the largest. She pressed Ctrl + Z and everything came back.
"So it isn't a picture of the answer," said Kabir slowly. "It's a machine that keeps answering."
A function is a job Google Sheets already knows how to do. You do not do the maths; you ask for it.
Every function follows the same shape. It begins with an equals sign. Then comes the function name — SUM, MIN or MAX. Then round brackets hold the cells to work on. Inside, a range like B2:B7 uses a colon, which means "through": B2 through B7, so six cells in all.
SUM adds every number in the range. MIN finds the smallest. MAX finds the largest. Each one gives back a number, not a name — B11 shows 420, not "Thursday". If a value in the range changes, every answer updates on its own. Forget the equals sign, and the cell just shows your typing as plain text.
List your last six test marks in cells B2 to B7.
In B9 type =SUM(B2:B7), in B10 type =MIN(B2:B7) and in B11 type =MAX(B2:B7).
Now change one mark and watch which of the three answers move — and which one does not.
Loading questions…