Byte by Byte › Book 5: Games, Spreadsheets and Networks › Chapter 7: Spreadsheets and Microsoft Excel
Chapter 7: Spreadsheets and Microsoft Excel
You will learn: what a spreadsheet is, the parts of the Excel window, cell references and ranges, how to enter and edit text, numbers and dates, how to organise data in records and fields, how to format a sheet, and how to use AutoFill.
🌟 The Adventure
Tally the meerkat was the most careful scorekeeper in Memunic World. She wore a green visor, kept a pencil behind each ear in case one broke, and checked every sum twice.
But she had never had to score two hundred races.
Her office in the stadium was a blizzard of paper. Each race had its own sheet. Each sheet had times, points and the village of every runner. To find out which village was winning, she had to add up hundreds of numbers by hand, then add up the totals, then add up those.
"And then this happened," she said, holding up a sheet with a coffee ring on it. "Race
- Was that a 3 or an 8? If it's an 8, Moonbrook is in the lead. If it's a 3, it's Snowpeak.
And if I change it, I have to add everything up again."
Nimo floated in through the window in his glowing bubble. He looked at the mountain of paper. "Tally," he said gently, "numbers like these should not live on paper. They should live in a grid that does the adding for you."
"A grid," said Memoon, "called a spreadsheet."
💡 Learn With Memoon
What is a spreadsheet? A spreadsheet is a program that organises data in a grid of rows and columns and can calculate with it automatically. The most widely used one is Microsoft Excel. Others include Google Sheets and LibreOffice Calc. They work in very similar ways.
The big idea is automatic recalculation. If a total depends on twenty numbers and you change one of them, the spreadsheet updates the total instantly. Tally's coffee-ring problem disappears: fix one number, and every total that uses it fixes itself.
Spreadsheets are used by shopkeepers for stock and prices, by teachers for marks, by scientists for experiment results, by families for budgets, and by sports teams for statistics.
Opening Excel. Click Start, type Excel and press Enter. Click Blank workbook. An Excel file is called a workbook and has the extension .xlsx. A workbook holds one or more worksheets (sheets), shown as tabs at the bottom.
The Excel window.
| Part | Where it is | What it does |
|---|---|---|
| Ribbon | Top | Tools in tabs: Home, Insert, Page Layout, Formulas, Data, View |
| Name Box | Left, under the ribbon | Shows the address of the selected cell, such as B3 |
| Formula Bar | Beside the Name Box, marked fx | Shows and edits what is really inside the selected cell |
| Column headings | Letters across the top | A, B, C... after Z come AA, AB and so on |
| Row headings | Numbers down the left | 1, 2, 3... |
| Cell | Each box in the grid | Holds one piece of data |
| Active cell | The cell with a thick green border | Where your typing goes |
| Sheet tabs | Bottom left | Switch between sheets; + adds one |
| Status bar | Very bottom | Shows quick facts such as the sum of selected numbers |
Cell references. Every cell has an address made of its column letter and row number, always letter first. The cell in column B, row 3 is B3. This address is its cell reference. It works just like coordinates on a grid in maths, or the squares on a chessboard.
Ranges. A range is a rectangle of cells, written as top-left cell : bottom-right cell.
| Range | Means | Number of cells |
|---|---|---|
| B2:B11 | Column B from row 2 to row 11 | 10 |
| A1:D1 | Row 1 from column A to column D | 4 |
| A1:C5 | A block 3 columns wide and 5 rows tall | 3 × 5 = 15 |
To select a range, drag across it, or click the first cell and Shift+click the last. Click a column letter to select the whole column, or a row number for the whole row. Ctrl+A selects the whole data area.
Entering and editing data.
- Click a cell and type. Press Enter to confirm and move down, or Tab to confirm and move right. Esc cancels what you were typing.
- Typing into a cell that already has something replaces it. To edit part of it instead, double-click the cell or press F2, or edit in the Formula Bar.
- Delete clears the selected cells. Ctrl+Z undoes, as everywhere.
Kinds of data. Excel treats data differently depending on what it is:
| Kind | Examples | Default alignment |
|---|---|---|
| Text (labels) | Riverbend, Race 1, Athlete | Left |
| Numbers | 14.2, 10, 250 | Right |
| Dates and times | 15/10/2026 | Right (dates are stored as numbers) |
| Formulas | =B2+B3 (Chapter 8) | Shows the result |
Alignment is a useful warning sign. If a number sits on the left, Excel may be treating it as text, and it will not be included in calculations. This often happens when someone types a space after the number, or the letter O instead of the digit 0. A small green triangle in the cell's corner is Excel's way of pointing it out.
Records and fields. Data in a spreadsheet is easiest to use when it is a neat table:
- The first row is a header row: one label per column.
- Each row below is one record: everything about one thing, such as one race result.
- Each column is one field: one kind of information, such as Village or Time.
- No blank rows or columns inside the table, and one kind of data per column.
These are the same words used for databases, which store huge amounts of records in the same way.
Formatting a sheet. Formatting in Excel works like Word: select, then use the Home tab.
- Bold the header row and give it a Fill Color.
- Add Borders (Home → Borders → All Borders).
- Number Format (the drop-down in the Number group) controls how numbers look without changing them: Number with a set number of decimal places, Currency (choose ₹ for rupees), Percentage or Date. The buttons Increase Decimal and Decrease Decimal change how many decimal places show.
- Column width: double-click the line between two column letters to AutoFit the column to its contents. If a number shows as ####, the column is too narrow.
- Wrap Text lets long text use several lines in one cell.
- Freeze Panes (View → Freeze Panes → Freeze Top Row) keeps the header row visible when you scroll down a long table.
AutoFill. The small square at the bottom-right of the active cell is the fill handle. Drag it to copy a cell, or to continue a series:
| Type this, then drag the fill handle | Excel continues |
|---|---|
| Race 1 | Race 2, Race 3, Race 4... |
| Monday | Tuesday, Wednesday... |
| January | February, March... |
| 1 and 2 in two cells (select both, then drag) | 3, 4, 5... |
| 5 and 10 in two cells (select both, then drag) | 15, 20, 25... |
If you drag a single 1, Excel just copies it. Give it two numbers so it can see the pattern. Pattern recognition again!
Quick answers in the status bar. Select some numbers and look at the bottom right of the window: Excel shows their Average, Count and Sum without any formula. It is perfect for a quick check.
💡 Memoon’s tip: Type the data first and format it afterwards. Getting the numbers right matters more than getting the colours right.

✍️ Try It Yourself
Activity 1: Build the results table. Open Excel and click Blank workbook.
- In row 1, type these headers, pressing Tab after each: Race, Event, Village, Athlete, Time (s), Points. Press Enter after the last.
- In A2 type Race 1. Drag the fill handle down to A11.
- Fill in the rest of the table:
| Race | Event | Village | Athlete | Time (s) | Points |
|---|---|---|---|---|---|
| Race 1 | Sprint | Riverbend | Ribbit | 14.2 | 10 |
| Race 2 | Sprint | Moonbrook | Luna | 13.8 | 12 |
| Race 3 | Sprint | Snowpeak | Frost | 15.1 | 8 |
| Race 4 | Sprint | Pebble Hollow | Spike | 16.0 | 6 |
| Race 5 | Swim | Riverbend | Ribbit | 22.5 | 12 |
| Race 6 | Swim | Moonbrook | Hop | 25.0 | 8 |
| Race 7 | Swim | Snowpeak | Frost | 24.1 | 10 |
| Race 8 | Swim | Pebble Hollow | Spike | 27.3 | 6 |
| Race 9 | Hurdles | Riverbend | Croak | 19.4 | 10 |
| Race 10 | Hurdles | Moonbrook | Luna | 18.9 | 12 |
- Save the workbook in Documents as Memunic Games Results. Keep it: you will use it in Chapters 8 and 9.
Activity 2: Make it readable.
- Select A1:F1. Make it bold and give it a fill colour.
- Select A1:F11 and add All Borders.
- AutoFit every column by selecting columns A to F and double-clicking any line between two column letters.
- Select E2:E11 and set the Number Format to Number with 1 decimal place. What happens to 16.0 and 25.0?
- Freeze the top row. Make the window short and scroll down to check the headers stay put.
- Double-click the sheet tab and rename it Races. Press Ctrl+S.
Activity 3: Detective work.
- Click E5. What does the Name Box show? What does the Formula Bar show?
- Select F2:F11 and read the status bar. Write down the Sum, Average and Count.
- In cell H2, type 10. In H3, type 1O, using the capital letter O instead of a zero. Which side of each cell does the entry sit on? What does that tell you about H3?
- How many cells are in the range A1:F11?
Unplugged: Grid battle. Draw two 6 × 6 grids with columns A to F and rows 1 to
- Secretly colour in three "ships" of different lengths on one grid. Take turns
calling cell references (C4!) to find your partner's ships. Then call a range (B2:B4!) as a special move that checks three cells at once.
🎉 Memoon Solves It
Nimo and Memoon sat with Tally until late into the evening. They made a workbook with one sheet for each sport. Every race became one row: one record. Every kind of information got its own column: one field. Tally gave the header row her favourite shade of green and froze it at the top.
Then they came to Race 47. Tally phoned the Moonbrook judge, who checked the photo. "It was a 3," said the judge.
Tally typed 3, pressed Enter, and selected the Points column. The status bar at the bottom of the screen instantly showed the new sum.
She stared at it. "It added them up," she whispered. "All of them. In no time at all."
"The status bar is just the beginning," said Nimo. "Tomorrow we teach the spreadsheet to calculate anything you like, and it will keep doing it for every race to come."
Tally took the pencils from behind her ears and laid them carefully on the desk. Then, after a moment, she put one back. Just in case.
❓ Check Your Knowledge
- What is a spreadsheet? Name two spreadsheet programs.
- What is the difference between a workbook and a worksheet?
- What is the cell reference of the cell in column D, row 7?
- How many cells are in the range B2:E6? Show your working.
- What do the Name Box and the Formula Bar show?
- Which key confirms an entry and moves right? Which moves down?
- A number is sitting on the left of its cell. What might be wrong?
- In a table, what is a record? What is a field?
- A cell shows ####. What does it mean, and how do you fix it?
- What will Excel fill in if you type 5 and 10 in two cells, select both and drag the fill handle down three more cells?
- Challenge: Design (on paper) a spreadsheet table to track a week of your screen time: what are your fields? How many records will there be? Which number format will you use for each column?
📚 Word Bank
- Spreadsheet: a program that organises data in a grid and calculates with it automatically.
- Workbook: an Excel file (.xlsx), holding one or more worksheets.
- Worksheet (sheet): one grid of cells in a workbook.
- Cell: one box in the grid, where a row and a column meet.
- Cell reference: a cell's address, column letter then row number, such as B3.
- Range: a rectangle of cells, written like A1:C5.
- Active cell: the selected cell, where typing goes.
- Formula Bar: the bar showing what is really inside the selected cell.
- Record: one row of data about one thing.
- Field: one column holding one kind of information.
- Header row: the top row of a table, holding the labels.
- Number format: how a number is displayed (decimals, currency, percentage, date).
- AutoFit: making a column exactly wide enough for its contents.
- Freeze Panes: keeping rows or columns in view while scrolling.
- Fill handle / AutoFill: the small square used to copy cells or continue a series.
- Automatic recalculation: a spreadsheet updating results instantly when data changes.
Keep learning with Byte by Byte
Explore Book 5: Games, Spreadsheets and Networks. Find the ebook, purchase details and teaching slides on MemuniCity.
Comments
Post a Comment