Skip to content
Cambridge AS & A Level9626

Creating a spreadsheet

Information Technology 9626 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Creating a spreadsheet notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Creating a spreadsheet notes as text: skim, search, and jump between subtopics.

~13 min read

1. Page set-up and the audience

A spreadsheet is built for an audience and a task specification or house style. Page set-up controls how it prints: page orientation, page size, fit to page, margins, and a header and footer.

The same data may need to suit people of different ages and different specialisms, for example scientists, administrators or artists. Decide who will use the sheet and for what purpose before you build it.

Examiner insight

“Many candidates also ignored the instructions to place the report on a single portrait page with their candidate details in the footer.” “Very few candidates provided reasons why specific characteristics of spreadsheets would be suitable for financial modelling.”

Worked example 14 marks

A school secretary prints a staff list for a notice board. The list has 12 columns and 40 rows. It must fit on one sheet of paper, with the school name at the top and the page number at the bottom. Describe four page settings the secretary should use.

  1. 1

    Set the page orientation to landscape, because the list is wide [1]

  2. 2

    Set the page size to A4 [1]

  3. 3

    Use fit to page so the whole list prints on one sheet [1]

  4. 4

    Put the school name in the header and the page number in the footer [1]

2. Editing the structure and freezing panes

Rows and columns can be inserted, deleted, hidden and resized. Cells can be merged, for example to centre a title across a table.

Freezing panes keeps chosen rows or columns on screen while the rest of the sheet scrolls. Unfreezing releases them. Hiding a row or column removes it from view without deleting it.

Examiner insight

“The majority of candidates merged cells A1 to C1, although many did not right align the contents of this merged cell.”

Worked example 14 marks

A teacher's mark sheet has its title in A1 above a table in columns A to F. The headings are in row 2 and row 5 is blank. The sheet has 200 rows. Describe how the teacher can:

(a) centre the title across the table

(b) remove the blank row

(c) keep the headings on screen while scrolling

(d) stop column D being seen without deleting it.

  1. 1

    Merge cells A1 to F1 and centre the title [1]

  2. 2

    Delete row 5 [1]

  3. 3

    Freeze panes below row 2, so the headings stay on screen [1]

  4. 4

    Hide column D [1]

3. Formatting cells and emphasis

Cell formats set how a value is shown: date and time, text, numeric, currency, percentage and fractions. Text can be given alignment and orientation.

Emphasis uses size, style, colour, shading, borders, merged cells and comments. A mark scheme credited heading cells described as bold and centrally aligned.

Conditional formatting applies a format only when a rule is met. Create a rule for each criterion, and say how the colouring happens.

Examiner insight

“After that, few candidates were able to describe clearly that rules need to be created for each criterion.” “Not all candidates right aligned the contents of column A, nor centre aligned column B.”

Worked example 14 marks

Cells C2 to C31 hold prices in pounds. Describe how to display them as currency and make any price over 50 appear in red.

  1. 1

    Select the cells C2 to C31 [1]

  2. 2

    Set the cell format to currency [1]

  3. 3

    Create a conditional formatting rule for cells with a value greater than 50 [1]

  4. 4

    Set the format of the rule to red text [1]

4. Validation, messages and protection

Validation controls data at the input stage. A cell can accept only a choice from a drop-down menu, a whole number, a decimal, a date, a time or text of a set length, for example between two extremes. Validation reduces data entry errors.

An input message helps the user enter the data. An error message appears when the data is not valid, and should give the range that is allowed.

Protection stops changes to cells, rows, columns, worksheets and workbooks.

Examiner insight

“Some candidates correctly applied a validation rule to this cell, fewer added appropriate text to this cell, which should have given a message to help the user enter the data and an error message if they had not entered valid data.” “Many candidates successfully added validation to cell B4, restricting the range of acceptable dates, fewer candidates created an appropriate error message that included the range of dates that were acceptable.”

Worked example 12 marks

A teacher is creating a spreadsheet. Describe two ways in which the spreadsheet can validate data at the input stage.

  1. 1

    Use a drop-down menu which only allows selection from the list [1]

  2. 2

    Accept only a whole number, for example between two extremes [1]

5. Formulas and cell references

Formulas use addition, subtraction, multiplication, division and indices. A relative reference changes when a formula is copied. An absolute reference will not change when the formula is copied. A mixed reference fixes only the column or only the row.

``` =A3*B1 relative =A3*B1 absolute =A3*B$1 mixed (row fixed) ```

Named cells and named ranges can be used across worksheets and workbooks. Typing a name saves time and a name is easier to remember than a range.

Examiner insight

“Those that did not usually did not notice the need for absolute cell referencing of the lookup range.” “However, many candidates gave the answer ‘Easier to use’ without expanding on this.”

Worked example 13 marks

The spreadsheet will include both absolute cell referencing and relative cell referencing.

(b) Define the term absolute cell referencing.

(c) Identify and explain one benefit of using relative cell referencing when creating a spreadsheet.

  1. 1

    A cell reference that will not change when the formula is dragged down or copied to another cell [1]

  2. 2

    Benefit: reduced time to create the spreadsheet (or fewer errors) [1]

  3. 3

    Because the formula only has to be typed once and the cell references change automatically when copied [1]

6. Calculation, counting and date functions

Functions that perform calculations include SUM, AVERAGE, MIN, MAX, MAXA, INT, ROUND and SUBTOTAL. Functions that count the cells that meet a criterion include COUNT, COUNTIF, COUNTIFS, COUNTA and COUNTBLANK.

Date and time functions insert, extract and calculate with dates and times: DATE, TIME, WEEKDAY, DAY, MONTH and YEAR.

When naming a function, name it and state what it does. Choose a function with the condition built in, such as AVERAGEIF, over extra helper columns.

Examiner insight

“Several candidates used a large number of extra rows and columns to assist them; while this is accepted at IGCSE Level; at AS Level candidates must also consider the efficiency of their solutions, using nested functions and formulae where appropriate.” “The most efficient solution involved the use of AVERAGEIF, and although a number of candidates did successfully use SUMIF and COUNTIF to attain the results, a significant number of candidates unsuccessfully attempted to use an AVERAGE function with no conditional elements, or listed all the cells that matched the condition within an AVERAGE function.”

Worked example 14 marks

Cells B2 to B21 hold students' marks and cells C2 to C21 hold their class, A or B. Write a formula that counts the students in class A who scored over 50, and a formula that gives the mean mark of class A.

  1. 1

    ``` =COUNTIFS(C2:C21,"A",B2:B21,">50") ``` [2]

  2. 2

    ``` =AVERAGEIF(C2:C21,"A",B2:B21) ``` [2]

7. Lookup and decision functions

Functions that look up data include LOOKUP, VLOOKUP, HLOOKUP, XLOOKUP, INDEX and MATCH. A lookup finds a value in a table and returns the corresponding value. Use an exact match (0 or FALSE as the last argument of VLOOKUP).

Functions that make decisions include IF, IFS, nested IF, AND and OR. An IF tests a condition, then gives one result if it is true and another if it is false. A nested IF puts one IF inside another.

To explain a formula, work through it step by step: what is tested, then what is displayed for each result.

Examiner insight

“A significant number of candidates used less efficient (but still workable) methods using nested IF statements.” “A number of candidates tried to describe what the formula was without explaining it step by step.”

Worked example 16 marks

The teacher has used the following formula in a cell:

``` =IF(C2="Dog",(IF(D2="Male","Block A","Block B")),(IF(D2="Male","Block C","Block D"))) ```

Describe how the spreadsheet will produce the result to be displayed.

  1. 1

    Checks the value in cell C2 [1]

  2. 2

    If the contents are Dog, the first IF statement is run [1]

  3. 3

    It then checks the contents of cell D2 [1]

  4. 4

    If D2 is Male, it displays “Block A” [1]

  5. 5

    If D2 is not Male, it displays “Block B” [1]

  6. 6

    If C2 is not Dog, it checks D2: Male displays “Block C”, otherwise “Block D” [1]

Recap

  • Page set-up: orientation, page size, fit to page, margins, header and footer.
  • Insert, delete, hide, resize and merge; freeze panes keeps headings on screen.
  • Conditional formatting needs a rule for each criterion.
  • Validation reduces data entry errors; add an input message and an error message.
  • Relative references change when copied; absolute references will not change; mixed fix only row or column.
  • Use an absolute reference for a lookup range, and an exact match.
  • Name the function and state what it does; explain a formula step by step.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State what a drop-down menu does to the data a user can enter in a cell.1 mark
    Answer
    1. It only allows selection from the list.

    Trap: ‘Validation to stop errors’ is too vague: say what is allowed.

  2. A sheet has 500 rows, with its headings in row 1. Explain why a user would freeze row 1.2 marks
    Answer
    1. Row 1 stays on screen when the user scrolls down [1].
    2. The user can still see which heading each value is under [1].

    Trap: Freezing panes only keeps rows in view. It does not stop cells being changed.

  3. Cell A1 holds the value 0.35 and is formatted as a percentage with no decimal places. State what is displayed in A1.1 mark
    Answer
    1. 35%

    Trap: The format changes how the value is displayed, so it is 35%, not 0.35%.

  4. (a) State the value displayed by the formula `=2+3*4^2`. (b) Write a formula that gives the volume of a cube whose side is in cell A1.3 marks
    Answer
    1. (a)
    2. Indices first: 4² = 16 [1].
    3. Then 3 × 16 = 48 and 48 + 2 = 50 [1].
    4. (b)
    5. `=A1^3` [1].

    Trap: Working left to right gives (2+3) × 4 = 20, then 20² = 400.

  5. Cell B1 holds a tax rate of 0.2. Cells A3 to A6 hold the prices 10, 25, 40 and 50. The formula `=A3*B1` is typed in C3 and copied down to C6. (a) State the formula in C5 and the value it displays. (b) Write the formula for C3 that gives correct results when copied down.3 marks
    Answer
    1. (a)
    2. `=A5*B3` [1].
    3. B3 is empty, so it displays 0 [1].
    4. (b)
    5. ``` =A3*B1 ```
    6. This gives 40 × 0.2 = 8 in C5 [1].

    Trap: The tax rate reference is relative, so it moves down with the formula.

  6. Cells A1 to C7 hold the data in the table, with headings in row 1. (a) Write a formula that counts the students in class B who scored over 50, and state the value it returns. (b) Write a formula that gives the mean mark of class B, and state its value to one decimal place. | Name | Class | Mark | | --- | --- | --- | | Ali | B | 45 | | Bea | A | 62 | | Cy | B | 58 | | Di | A | 39 | | Eve | B | 51 | | Fay | A | 70 |5 marks
    Answer
    1. (a)
    2. `=COUNTIFS(B2:B7,"B",C2:C7,">50")` [2].
    3. The marks 58 and 51 qualify, so it returns 2 [1].
    4. (b)
    5. `=AVERAGEIF(B2:B7,"B",C2:C7)` [1].
    6. (45 + 58 + 51) ÷ 3 = 154 ÷ 3 = 51.3 [1].

    Trap: `COUNTIF` with only the class counts all three class B students, including the 45.

  7. Cells E1 to F5 hold the table of product codes and prices in pounds, with headings in row 1. A product code is typed in B2. (a) Write a formula for C2 that returns the price for the code in B2, uses an exact match, and gives correct results when copied down. (b) State the value in C2 when B2 holds 103. (c) Explain why the table range must be an absolute reference. | Code | Price (£) | | --- | --- | | 101 | 1.20 | | 102 | 2.50 | | 103 | 0.80 | | 104 | 4.00 |5 marks
    Answer
    1. (a)
    2. ``` =VLOOKUP(B2,E2:F5,2,FALSE) ```
    3. The lookup value is B2 [1], the range is absolute [1], the column is 2 with an exact match [1].
    4. (b)
    5. 0.80 [1].
    6. (c)
    7. The range must not change when the formula is copied down [1].

    Trap: A relative range E2:F5 becomes E3:F6 in the next row, so codes in the first row are missed.

  8. A shop sets a customer's band from the points in cell A2. 200 points or more is “Gold”. 100 points or more but fewer than 200 is “Silver”. Fewer than 100 is “Standard”. (a) Write a nested IF formula for B2. (b) State the result when A2 holds 100.4 marks
    Answer
    1. (a)
    2. `=IF(A2>=200,"Gold",IF(A2>=100,"Silver","Standard"))`
    3. The outer IF tests 200 or more [1], the inner IF tests 100 or more [1], with the three results in the right places [1].
    4. (b)
    5. Silver [1].

    Trap: Using `>` instead of `>=` gives “Standard” for exactly 100 points.

  9. A clinic lists patient ages in cells B2 to B50. Ages must be whole numbers from 0 to 120. Column D holds formulas that staff must not overwrite. Describe how the sheet should be set up.4 marks
    Answer
    1. Add a validation rule to B2 to B50 that accepts only a whole number between 0 and 120 [1].
    2. Add an input message telling the user to enter a whole number from 0 to 120 [1].
    3. Add an error message that gives the allowed range, 0 to 120 [1].
    4. Protect the cells in column D [1].

    Trap: A rule with no input message or error message loses marks: examiners reported candidates omitting them.

  10. A cycling club treasurer builds a sheet for members of all ages, to be printed and posted. The title is in A1 above a table in columns A to H. The headings are in row 2. There are 90 rows of members. (a) Describe how the title can be centred across the table. (b) Describe how to keep both the title and the headings on screen while scrolling. (c) Describe two page settings so that each printed page is one page wide and carries the club name. (d) Explain one formatting choice that makes the sheet easier to read for older members.6 marks
    Answer
    1. (a)
    2. Merge cells A1 to H1 and centre the title [1].
    3. (b)
    4. Freeze panes below row 2, so rows 1 and 2 stay on screen [1].
    5. (c)
    6. Use fit to page, one page wide [1].
    7. Put the club name in the header [1].
    8. (d)
    9. Use a larger text size [1], so the text is easier to read [1].

    Trap: Freezing only row 1 lets the headings in row 2 scroll away.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
‘Easier to use’a named range saves time compared with cell references and is easier to remember than a cell range
‘Validation to stop errors’validation checks reduce data entry errors
a 0 in VLOOKUP gives an exact value0 or FALSE gives an exact match
one colour rule for everythinga rule for each criterion in conditional formatting

Frequently asked questions

What is the difference between a relative and an absolute cell reference?
A relative reference changes when a formula is copied to another cell. An absolute reference will not change when the formula is copied, so `=A3*B1` keeps B1 fixed. A mixed reference fixes only the column or only the row, such as `=A3*B$1`.
How do I keep the headings of a spreadsheet on screen while I scroll?
Freeze panes keeps chosen rows or columns on screen while the rest of the sheet scrolls. For headings in row 2, freeze panes below row 2, so the headings stay on screen. Unfreezing releases them. Hiding a row or column removes it from view without deleting it.
How does data validation reduce data entry errors in a spreadsheet?
Validation controls data at the input stage. A cell can accept only a choice from a drop-down menu, a whole number, a decimal, a date, a time or text of a set length. An error message appears when the data is not valid and should give the range that is allowed. Validation reduces data entry errors.
How do I make a cell change colour when its value meets a condition?
Conditional formatting applies a format only when a rule is met. Create a rule for each criterion, and say how the colouring happens. Examiners reported that few candidates were able to describe clearly that rules need to be created for each criterion.
Which function gives the mean of only the rows that meet a condition?
AVERAGEIF is the most efficient solution, because the condition is built into the function. Choose a function with the condition built in, such as AVERAGEIF, over extra helper columns. When naming a function, state what it does.
Does a 0 in VLOOKUP give an exact value?
Many candidates thought the use of 0 produces an exact value. The correct answer is an exact match: 0 or FALSE as the last argument of VLOOKUP. A lookup finds a value in a table and returns the corresponding value.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters