Home / Notes / Class 10 / Computer Science / Spreadsheets
Spreadsheet software such as MS Excel, its cells, rows and columns, data entry, formulas and common functions, cell references, formatting, sorting, filtering and charts, with worked calculation examples.
A spreadsheet is an application program that arranges data in rows and columns and can perform calculations on it automatically. Examples are Microsoft Excel, LibreOffice Calc and Google Sheets. Spreadsheets are used for marks sheets, budgets, accounts, bills and graphs.
Basic parts of a spreadsheet:
Other screen parts include:
Types of data that can be typed in a cell:
A formula always begins with the = sign. For example, =A1+B1 adds the contents of A1 and B1. The cell shows the result, while the formula bar shows the formula. When a cell value changes, the result updates automatically, which is the main strength of a spreadsheet.
Arithmetic operators used in formulas:
A function is a ready-made formula. Common functions are:
Cell references tell a formula where to find its data:
Copying a formula by dragging the fill handle (the small square at the corner of the cell) is a quick way to repeat a calculation down a column. It saves time and avoids mistakes.
Formatting makes a sheet clear and neat:
Data tools:
Charts show data as a picture. Choose the chart to fit the data:
Study tip: Practise on a real sheet, such as a marks list with total, average, percentage and grade columns. In the exam, write the cell addresses carefully and always start formulas with =. For reference questions, show how the formula changes after copying, step by step.
Say the meaning first, then open the card to check.
A single page of rows and columns in a spreadsheet file.
The column letter and row number that name a cell, such as C5.
A block of cells such as B2:B10.
An expression starting with = that calculates a result.
A built-in formula such as SUM or AVERAGE.
A cell reference that changes when copied.
A cell reference with $ that does not change when copied.
A tool that displays only rows that match a condition.
The small square used to copy a formula or series by dragging.
| Name | Formula | What it means |
|---|---|---|
| Add a range | =SUM(B2:B6) | Total of all numbers in B2 to B6 |
| Mean | =AVERAGE(B2:B6) | Sum divided by the count of numbers |
| Conditional result | =IF(B2>=40,"Pass","Fail") | Shows Pass if B2 is 40 or more, otherwise Fail |
| Percentage | =B2/C2*100 | Part divided by whole, times 100 |
These are the kind of questions asked for 2, 3 and 5 marks. Try each one before opening the answer.
A spreadsheet is a program that stores data in rows and columns and performs calculations using formulas. Examples are Microsoft Excel and LibreOffice Calc.
A workbook is the complete spreadsheet file and may contain many sheets. A worksheet is a single sheet inside the workbook, made up of rows and columns.
A relative reference such as A1 changes automatically when the formula is copied to another cell. For example, =A1*2 copied one row down becomes =A2*2. An absolute reference such as $A$1 stays the same when copied, so it is used when every formula must use one fixed cell, for example a tax rate stored in $A$1.
The largest mark is found with =MAX(B2:B11). The smallest mark is found with =MIN(B2:B11).
The IF function checks a condition. If the condition is true it returns the second argument, and if it is false it returns the third. Its form is =IF(condition, value_if_true, value_if_false). For example, =IF(C2>=33,"Pass","Fail") shows Pass when the marks in C2 are 33 or more and Fail otherwise.
A column chart compares values of different items, such as marks of students. A line chart shows how a value changes over time, such as monthly sales. A pie chart shows how a whole is divided into parts, such as a spending budget.
Answer: SUM = 160 and AVERAGE = 40
Answer: 50
Answer: =A4*B4
Answer: 80 per cent