Skip to main content

Featured

Space Explorers Book 7: Answers and Explanations

Memunic Space Explorers › Book 7: Memoon and the Search for Another Home › Answers and Explanations Answers and Explanations Habitable means life could live there; inhabited means life does live there. A world can be habitable and empty, as an unoccupied flat has a roof and water but nobody in it. The Moon has almost no air, so water would boil or freeze, and its gravity is only about one-sixth of Earth’s, too weak to keep air. Accept also: no greenhouse blanket, so it swings between very hot and very cold. Venus. It matches Earth in size and roughly in mass, but its thick carbon dioxide air traps heat, making it hot and crushing. “Twin” is only true for size and weight. A dip of 1 per cent means (planet width divided by star width) squared is 0.01, so the ratio is 0.1: the planet is about a tenth as wide as the star. Repeats at the same gap show the planet is going round the star in 12 days, and rule out a one-time event such as a passing object. A planet shines only by reflected l...

Byte by Byte Book 5: Chapter 7 – Spreadsheets and Microsoft Excel

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

  1. 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.

PartWhere it isWhat it does
RibbonTopTools in tabs: Home, Insert, Page Layout, Formulas, Data, View
Name BoxLeft, under the ribbonShows the address of the selected cell, such as B3
Formula BarBeside the Name Box, marked fxShows and edits what is really inside the selected cell
Column headingsLetters across the topA, B, C... after Z come AA, AB and so on
Row headingsNumbers down the left1, 2, 3...
CellEach box in the gridHolds one piece of data
Active cellThe cell with a thick green borderWhere your typing goes
Sheet tabsBottom leftSwitch between sheets; + adds one
Status barVery bottomShows 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.

RangeMeansNumber of cells
B2:B11Column B from row 2 to row 1110
A1:D1Row 1 from column A to column D4
A1:C5A block 3 columns wide and 5 rows tall3 × 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:

KindExamplesDefault alignment
Text (labels)Riverbend, Race 1, AthleteLeft
Numbers14.2, 10, 250Right
Dates and times15/10/2026Right (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 handleExcel continues
Race 1Race 2, Race 3, Race 4...
MondayTuesday, Wednesday...
JanuaryFebruary, 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.

Illustration from Byte by Byte Book 5: Chapter 7 – Spreadsheets and Microsoft Excel

✍️ Try It Yourself

Activity 1: Build the results table. Open Excel and click Blank workbook.

  1. In row 1, type these headers, pressing Tab after each: Race, Event, Village, Athlete, Time (s), Points. Press Enter after the last.
  2. In A2 type Race 1. Drag the fill handle down to A11.
  3. Fill in the rest of the table:
RaceEventVillageAthleteTime (s)Points
Race 1SprintRiverbendRibbit14.210
Race 2SprintMoonbrookLuna13.812
Race 3SprintSnowpeakFrost15.18
Race 4SprintPebble HollowSpike16.06
Race 5SwimRiverbendRibbit22.512
Race 6SwimMoonbrookHop25.08
Race 7SwimSnowpeakFrost24.110
Race 8SwimPebble HollowSpike27.36
Race 9HurdlesRiverbendCroak19.410
Race 10HurdlesMoonbrookLuna18.912
  1. 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.

  1. Select A1:F1. Make it bold and give it a fill colour.
  2. Select A1:F11 and add All Borders.
  3. AutoFit every column by selecting columns A to F and double-clicking any line between two column letters.
  4. Select E2:E11 and set the Number Format to Number with 1 decimal place. What happens to 16.0 and 25.0?
  5. Freeze the top row. Make the window short and scroll down to check the headers stay put.
  6. Double-click the sheet tab and rename it Races. Press Ctrl+S.

Activity 3: Detective work.

  1. Click E5. What does the Name Box show? What does the Formula Bar show?
  2. Select F2:F11 and read the status bar. Write down the Sum, Average and Count.
  1. 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?
  2. 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

  1. 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

  1. What is a spreadsheet? Name two spreadsheet programs.
  2. What is the difference between a workbook and a worksheet?
  3. What is the cell reference of the cell in column D, row 7?
  4. How many cells are in the range B2:E6? Show your working.
  1. What do the Name Box and the Formula Bar show?
  2. Which key confirms an entry and moves right? Which moves down?
  3. A number is sitting on the left of its cell. What might be wrong?
  4. In a table, what is a record? What is a field?
  5. A cell shows ####. What does it mean, and how do you fix it?
  6. 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?
  7. 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.

Watch this chapter on YouTube

Comments

Popular posts from this blog

CA-7 Job Status and Failure Reason Codes

Here are the various status codes that You may see for jobs in the Queue or Logs in CA-7. R-C0002 R-C0003 R-C0099 R-C0255 R-JCLER A-U0002 A-U0004 A-U0015 A-U0043 A-U4095 A-SOC7 A-U4000 Reason Code/Job Status Code explanation: The indication of the job's current disposition. Values and their meanings are: A-Snnnn-- The job has failed with a system abend. A-Unnnn --The job has failed with a user abend. C-Cnnnn --The job has completed successfully and is going through completion processing. E-ARFATT-- An error occurred during the attempt to attach ARF definitions. This can result if the ARFSET specified is not defined. A diagnostic message may have been written to the CA-7 log, the OS console, or to the trailer queue for the job (in which case it can be displayed using LQ,JOB=x,LIST=ALL). E-ARFERR ---The job encountered an error in the ARF processing. Do a LARFQ command for the job to get more specific information. E-SEGERR --The job has been requeued...

Whistling Winds and Waterfalls: 4 Days of Magic in Shillong

Nestled in the clouds, where the scent of pine trees mingles with the rhythm of waterfalls and the tunes of local guitar-strumming youth—Shillong is more than a place. It’s a vibe. If you’ve got 3 nights and 4 days, you’ve got just enough time to fall in love. Here’s how to make the most of it—food, fun, fog and fantastic views included. Day 1: Shillong, We’re Coming for You! You land in Guwahati, barely out of the airport when the hills start calling. You hop into your cab, Spotify on, windows down, and the three-hour ride to Shillong begins. Just when you think it can’t get better, you stop at Umiam Lake —a lake so calm, it looks like someone ironed the water. By evening, you’re sipping hot chai in Laitumkhrah, maybe nibbling on spicy momos or pork jadoh from a roadside stall. You’re checked into your charming hotel ( Tripura Castle if you fancy old-world royalty, Ri Kynjai if you’re into lakeside poetry). The breeze whispers secrets of waterfalls and pine forests. Sleep well, drea...

Installing and Configuring Hadoop on Ubuntu as a Pseudo Distributed Single Node Cluster

Briefly what is psuedo-distributed single node Hadoop cluster: It is a Hadoop distributed cluster having Single Node. All the five daemons (NN,DN,JT,TT,SNN) are running as individual JVM (java process) instances. We will get all distributed features of Hadoop. This mode is used to develop, test, and staging (before production) Map Reduce programs quickly. It writes all the system, daemon and user logs to different files on the cluster To install Hadoop in this mode, we have to modify the hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml. hadoop-env.sh contains all the Environment variables which are required for running Hadoop. All the default values are fine, Only we have to modify the JAVA_HOME=“The location of Java Home Directory” Core-site.xml contains all the cluster specific information like io, temp directory, sorting, file system uri etc. Hdfs-site.xml contains all the parameters which are specific to HDFS like name node directory, data node directory...