Topic 20 – Spreadsheets (Cambridge IGCSE ICT)
Learning Objectives (aligned to AO1‑AO3)
- AO1 – Knowledge & Understanding: Identify spreadsheet components, explain cell‑referencing conventions, and describe the purpose of each formatting option.
- AO2 – Application: Build a multi‑sheet model, import external data, apply formulas, functions and sorting/filtering techniques, and format numeric output correctly.
- AO3 – Analysis & Design: Design a solution that meets given specifications, justify the choice of functions, and document the workflow clearly.
Syllabus Mapping (quick reference)
| Syllabus code | Content covered in these notes |
|---|
| 20.1 | Creating a data model, cell‑referencing (A1 & R1C1), absolute/mixed references, linking between worksheets, formulas, operator precedence, core & advanced functions (including lookup, date/time, statistical). |
| 20.2 | Importing data (CSV/TXT, web), linking workbooks, sorting (simple & custom), filtering (basic & advanced), searching (Find/Replace, wild‑cards). |
| 20.3 | Presenting data – numeric formatting, custom & conditional formats, chart creation, page‑layout & printing settings, documentation of work. |
1. Building a Data Model (20.1)
1.1 Worksheet basics
- Insert / delete rows or columns: Ctrl + + / Ctrl + - or use Insert ► Rows/Columns.
- Add a new sheet: Click the “+” tab or press Shift + F11.
- Rename & colour‑code tabs for easy navigation (e.g., “RawData”, “Calc”, “Report”).
1.2 Naming ranges
- Select the required cells.
- Type a name (no spaces) in the Name Box (e.g.,
Sales2024) and press Enter.
Named ranges improve readability and are frequently required in exam questions.
1.3 Cell‑referencing conventions
- A1 style (default): column letter + row number (e.g.,
A1). - R1C1 style: row number first, then column number (e.g.,
R1C1). Activate via File ► Options ► Formulas ► R1C1 reference style – useful for understanding absolute references. - Absolute reference:
\$A\$1 locks column & row when copied. - Mixed reference:
\$A1 (column locked) or A\$1 (row locked).
1.4 Linking between worksheets
To refer to a cell on another sheet, use the syntax SheetName!Cell. Example:
=SUM(Jan!B2:B13) // totals column B on the sheet named “Jan”
When the source sheet is renamed, the reference updates automatically.
1.5 Quick practice – converting a reference
Original formula in Sheet1!C2: =A2*B2. Copy it one row down. What changes? Convert the formula to =A\$2*B\$2 so that the row numbers stay fixed when copied.
2. Formulas & Functions (20.1)
2.1 Operator precedence (order of operations)
- Parentheses ()
- Exponents ^
- Multiplication * and division /
- Addition + and subtraction ‑
Example: = (B2‑C2) * \$D\$1 / 100 → subtraction → multiplication → division.
2.2 Core functions checklist
| Function | Syntax | Example | Result (A1:A5 = 10, 20, 30, 40, 50) |
|---|
| SUM | SUM(number1, [number2], …) | SUM(A1:A5) | 150 |
| AVERAGE | AVERAGE(range) | AVERAGE(A1:A5) | 30 |
| MIN | MIN(range) | MIN(A1:A5) | 10 |
| MAX | MAX(range) | MAX(A1:A5) | 50 |
| COUNT | COUNT(value1, [value2], …) | COUNT(A1:A5) | 5 |
| IF | IF(logicaltest, valueiftrue, valueif_false) | IF(A2>25, "High", "Low") | "High" |
| VLOOKUP | VLOOKUP(lookupvalue, tablearray, colindex, [rangelookup]) | VLOOKUP(101, \$B\$2:\$D\$20, 3, FALSE) | Exact match from column 3 |
| HLOOKUP | HLOOKUP(lookupvalue, tablearray, rowindex, [rangelookup]) | HLOOKUP("Jan", \$A\$1:\$M\$3, 2, TRUE) | Closest match in row 2 |
| XLOOKUP | XLOOKUP(lookupvalue, lookuparray, returnarray, [ifnot_found]) | XLOOKUP("Jan", A2:A13, B2:B13, "N/A") | Value for “Jan” or “N/A” |
| ROUND | ROUND(number, num_digits) | ROUND(3.14159, 2) | 3.14 |
| INT | INT(number) | INT(7.9) | 7 |
| TODAY | TODAY() | TODAY() | Current date (e.g., 04‑Jan‑2026) |
| DATE | DATE(year, month, day) | DATE(2024,12,31) | 31‑Dec‑2024 |
| YEAR | YEAR(serial_number) | YEAR(TODAY()) | 2026 |
| MEDIAN | MEDIAN(number1, [number2], …) | MEDIAN(A1:A5) | 30 |
| STDEV.P | STDEV.P(number1, [number2], …) | STDEV.P(A1:A5) | 14.14 (population std‑dev) |
2.3 Nested functions (AO3 design)
Functions can be placed inside one another to achieve complex logic. Example:
=IF(ROUND(AVERAGE(Sales),1) > 1000, "Good", "Review")
This combines AVERAGE, ROUND and IF in a single formula.
3. Importing External Data (20.2)
3.1 CSV / TXT files
- Data ► Get Data ► From Text/CSV.
- Select the file (e.g.,
sales.csv) and click Import. - In the Text Import Wizard choose the correct delimiter (comma, tab, semicolon) and column data format.
- Click Load to place the data on a new sheet.
3.2 Importing from the web
- Data ► Get Data ► From Web.
- Enter the URL of the table (e.g., a public CSV link) and follow the prompts.
- Choose the table you need and click Load.
3.3 Linking to another workbook
- Open both workbooks.
- In the destination cell type
='[Source.xlsx]Sheet1'!A1 or use Copy → Paste Link. - The linked cell updates automatically when the source file is saved.
3.4 Why it matters for AO2
Exam questions often state “import the file data.csv and calculate total revenue”. Demonstrating the correct import steps earns marks for data handling.
4. Sorting, Filtering & Searching (20.2)
4.1 Simple sort
- Select any cell in the data range.
- Data ► Sort A‑Z or Sort Z‑A.
- Confirm that “My data has headers” is ticked if appropriate.
4.2 Custom sort (multiple keys)
- Data ► Sort ► Custom Sort….
- Add Level 1 (e.g., “Region”), then Level 2 (e.g., “Sales” descending).
- Click OK.
4.3 Basic filter
- Select the header row.
- Data ► Filter (or click the filter icon).
- Use the drop‑down arrows to choose criteria (e.g., “Number Filters → Greater Than → 1000”).
4.4 Advanced filter (criteria range)
- Create a small criteria range on the sheet (e.g., cells G1:G2 with header “Sales” and condition “>1000”).
- Data ► Advanced.
- Set List range to your data, Criteria range to the cells you just created, and choose “Copy to another location” if you want the filtered list elsewhere.
- Click OK.
4.5 Searching (Find & Replace, wild‑cards)
- Find: Ctrl + F, enter text/number, use
* (any characters) or ? (single character). - Replace: Ctrl + H – useful for correcting repeated errors before finalising the model.
5. Presenting Data (20.3)
5.1 Numeric formatting
5.1.1 Decimal places
- Select cells → right‑click → Format Cells.
- Category: Number.
- Set the required Decimal places (e.g., 2) and click OK.
Only the display changes; the underlying value retains full precision.
5.1.2 Currency & Accounting
- Format Cells → Currency or Accounting.
- Choose the symbol (
$, £, € etc.), number of decimal places and the negative‑number style (red or parentheses).
Currency places the symbol directly next to the number; Accounting aligns the symbol to the left of the column and adds a uniform space for negatives.
5.1.3 Percentage
- Select the cells containing decimal fractions.
- Format Cells → Percentage.
- Set the desired decimal places (e.g., 1) and click OK.
The stored value is unchanged; Excel only multiplies by 100 for display.
5.1.4 Custom number formats
Use the syntax positive;negative;zero;text. Examples:
| Format code | Result (value = 1234.56) |
|---|
0.00 | 1234.56 |
\$#,##0.00 | \$1,234.56 |
0.00% | 123,456.00 % |
0.00;[Red]-0.00 | Positive = 1234.56 Negative = -1234.56 |
"Qty:" 0 | Qty: 1235 |
5.1.5 Conditional formatting (AO2)
- Select the target range.
- Home ► Conditional Formatting.
- Choose a rule type (e.g., “Greater Than”, “Top 10%”, or “Use a formula”).
- Define the formatting (fill colour, font colour, data bar, etc.).
- Click OK.
Typical exam use: highlight sales below a target, or flag dates that are past due.
5.2 Chart creation (required for 20.3)
- Select the data range (including headings).
- Insert ► Recommended Charts or choose a specific type (Column, Line, Pie, Bar, Scatter).
- Adjust the Chart Title, axis labels, and legend as required.
- Use Design ► Add Chart Element for data labels or trendlines.
Charts must be placed on the “Report” sheet and sized to fit the printed page.
5.3 Page‑layout & printing settings (20.3)
- Orientation: Page Layout ► Orientation ► Portrait/Landscape.
- Margins: Normal, Wide, Narrow, or Custom Margins.
- Print Area: Select cells ► Page Layout ► Print Area ► Set Print Area.
- Print Titles: Under Page Layout ► Print Titles, repeat rows/columns on each printed page.
- Gridlines & Headings: Page Layout ► Sheet Options ► check “Print” for gridlines and/or headings if required.
- Center on page: Page Layout ► Margins ► Center on page (both horizontally and vertically).
- Header/Footer: Insert ► Text ► Header/Footer – add page numbers, file name, or date.
6. Documenting the Solution (20.3)
- Use cell comments (right‑click ► Insert Comment) to explain complex formulas.
- Provide a brief evidence document (Word or PDF) that lists:
- What the model does (purpose).
- Key worksheets and their contents.
- Formulas/functions used and why they were chosen.
- Formatting choices (e.g., “Currency – £, 2 d.p. for all monetary values”).
- Steps taken to import data and any links created.
- Rename worksheets clearly (e.g., “RawData”, “Calc”, “Report”).
- Keep a consistent colour‑scheme for headings and totals – this aids readability and marks for presentation.
7. Integrated Practical Exercise (covers AO1‑AO3)
- Data entry (enter exactly as shown):
| Cell | Value |
|---|
| A1 | 1234.567 |
| A2 | 0.256 |
| A3 | 9876.543 |
| A4 | -45.678 |
- Define a named range
Sales that refers to A1:A4. - Apply the following formats:
- A1 & A3 – Currency (US $), 2 d.p.
- A2 – Percentage, 1 d.p.
- A4 – Custom format
0.00;[Red]-0.00 (negatives in red).
- In
B1 calculate the total of Sales using an absolute reference: =SUM(Sales). - In
B2 calculate the average, rounded to one decimal place: =ROUND(AVERAGE(Sales),1). - Apply Conditional Formatting to
A1:A4 so any value > 5000 is highlighted in light green. - Create a simple Column Chart of the values in
A1:A4 and place it on a new sheet named “Report”. - Set the print area to
A1:B4, choose Landscape orientation, Narrow margins, and enable Print Titles to repeat row 1 on each page. - Write a short evidence paragraph (≈ 100 words) describing each step you performed and the reason for the chosen formatting.
8. Assessment Questions (exam‑style)
- What is the displayed value of
0.075 when formatted as a percentage with three decimal places? - How would you format a cell to show the value
1234 as £1,234.00? - Explain the difference between the Number and Accounting categories for currency formatting.
- Write a formula that returns “Pass” if the value in
C5 is ≥ 50, otherwise returns “Fail”. - Describe the steps to import a CSV file named
data.csv and link the column “Revenue” to cell D2 in your workbook. - Using the data in cells
A1:A5 (10, 20, 30, 40, 50), write a formula that returns the median value. - Give an example of a custom number format that displays positive numbers normally, negative numbers in red with a minus sign, and zero as the word “‑‑‑”.
- Outline how you would set up an advanced filter to extract rows where the “Score” column is ≥ 80 and the “Region” column equals “North”.
- Explain why changing the number of decimal places in a cell does not affect the result of a calculation that uses that cell.
- Provide a brief (≈ 50 words) description of how you would document your spreadsheet solution for an examiner.