Spreadsheets: functions, searching and formatting Cambridge IGCSE Information & Communication Technology revision

Not started

Learn it

In plain words

Functions do in a few characters what would take a long formula, or could not be done at all. A dozen of them cover everything the practical papers ask for.

8 things to know

  1. SUM adds a range. AVERAGE finds its mean. MAX and MIN give the largest and smallest values. COUNT counts the cells that contain numbers.
  2. INT gives the whole-number part of a number: INT(7.9) is 7. ROUND rounds to a number of decimal places: ROUND(7.846, 1) is 7.8.
  3. IF tests a condition and gives one result if it is true and another if it is false: =IF(B2>=50,"Pass","Fail").
  4. A nested function is a function inside another, such as an IF inside an IF to choose between three results.
  5. Lookup functions find a value in a table. VLOOKUP searches down the first column of a table and returns a value from another column of the same row. HLOOKUP searches along the first row. XLOOKUP searches one range and returns the matching value from another.
  6. Data can be sorted on one column or several, and searched using the operators =, <>, >, <, >=, <=, with AND, OR and NOT, and with wildcards.
  7. Formatting: decimal places, currency symbols and percentages. Conditional formatting changes how a cell looks depending on what it contains, such as turning red if a mark is below 40.
  8. For printing: set the orientation, the print area and the number of pages, and choose whether to show gridlines and the row and column headings.

Worked example

B2 holds a test mark. Write a formula for C2 that shows "Merit" for 70 or more, "Pass" for 50 or more, and "Fail" otherwise.

  1. Test for the highest grade first: IF(B2>=70,"Merit", something else).
  2. The "something else" is another IF: IF(B2>=50,"Pass","Fail").
  3. Put it inside: =IF(B2>=70,"Merit",IF(B2>=50,"Pass","Fail")).

Tips and tricks

  • In a nested IF, test the conditions in order, highest first, or a mark of 80 will stop at "Pass".
  • A lookup table's range should use absolute references, so that it does not move when the formula is copied down.
6 questions, about 2 minutes.

It lands in your notebook with its questions as flashcards.

Spreadsheets: functions, searching and formatting: 6 questions and answers

These are the quiz’s questions. Do the quiz first, then come back here for the ones that got you.

  1. What does =MAX(B2:B10) give?
    • the total of the range
    • the average of the range
    • the largest value in the range (the answer)
    • the number of cells

    MIN gives the smallest.

  2. What does =COUNT(A1:A20) give?
    • the total of the cells
    • the number of cells in the range that contain numbers (the answer)
    • the largest number
    • the number of empty cells

    Cells with text or nothing in them are not counted.

  3. What does =INT(9.99) give?
    • 9 (the answer)
    • 10
    • 9.9
    • 0.99

    INT removes the decimal part. It does not round.

  4. What does =ROUND(4.567,2) give?
    • 4.5
    • 4.56
    • 4.57 (the answer)
    • 5

    Two decimal places, and the 7 rounds the 6 up.

  5. B5 contains 72. What does =IF(B5>60,"High","Low") display?
    • High (the answer)
    • Low
    • 72
    • TRUE

    The condition is true, so the first result is shown.

  6. Which function searches down the first column of a table and returns a value from the same row?
    • HLOOKUP
    • VLOOKUP (the answer)
    • SUM
    • INT

    V for vertical: it looks down a column.

Still stuck on this one?Ask in the Papermunch Discord, or help someone else who is. Discord is for ages 13 and up.Join the server

Things you can type

Or go straight to

Or browse a shelf