Named cells and named ranges
You can give a cell or a range a name, such as TripCost for I7 or MealTable for H3:I5.
A name works like an absolute reference. It does not move when the formula is copied.
Names make formulae easier to read and check. =TripCost+E3-C3 tells you what it does.
To create one, select the cell or range, type the name in the name box (left of the formula bar) and press Enter. Most spreadsheets also have a define name option.
e.g.ExampleI7 named TripCost. H3:I5 named MealTable.
F3: =TripCost+E3-C3 → 40.00 + 6.50 − 46.50 = 0.00
E3: =VLOOKUP(D3,MealTable,2,FALSE) → 6.50
Copied down, both still point at I7 and H3:I5.
!Watch outNames cannot contain spaces or start with a number. Use exactly the name the question gives. A different spelling is a different name and loses the mark.
Functions, arguments and Spanish spreadsheets
A function is a ready-made formula with a name, like SUM. It goes after the = sign, and its inputs go in brackets.
Each input is an argument. Arguments are separated by commas. =ROUND(C10,1) has two arguments: C10 and 1.
A function can go inside another one. This is a nested function: =ROUND(AVERAGE(C3:C8),2) gives 31.83.
In Spanish Excel, functions have Spanish names. Arguments are separated by ; because the comma is the decimal sign. The exam uses English names, so learn those.
e.g.ExampleEnglish: =VLOOKUP(D3,$H$3:$I$5,2,FALSE)
Spanish Excel: =BUSCARV(D3;$H$3:$I$5;2;FALSO)
English: =ROUND(31.8333,1)
Spanish Excel: =REDONDEAR(31,8333;1)
!Watch outIf the exam computer runs a Spanish spreadsheet, the printout shows Spanish names. Ask the exams officer early whether the software can be set to English. In any written answer, use English names and commas.
SUM, AVERAGE, MAX and MIN
Each takes one or more arguments: ranges, cells or numbers, separated by commas.
They use only numbers. They ignore empty cells and text. A 0 is a number, so it is included.
=SUM(C3:C8,E3:E8) adds two ranges: 191.00 + 40.00 = 231.00.
Try the toy: it holds a café order. Click D2, change the quantity to 5 in the formula bar and press Enter. Watch every result that depends on it update. Switch on Show formulae to see what is typed in each cell.
e.g.Example=AVERAGE(C3:C8)
Step 1: add 46.50 + 30.00 + 46.00 + 0.00 + 45.00 + 23.50 = 191.00
Step 2: count the numbers: 6
Step 3: 191.00 ÷ 6 = 31.8333…, shown as 31.83 with 2 decimal places
!Watch outAVERAGE ignores a blank cell but counts a 0. If David's cell were empty instead of 0.00, the average would be 191.00 ÷ 5 = 38.20.
There is something to try for this step in the IGCSE library.
INT and ROUND
INT (integer) has one argument: a number. It removes the decimal part, rounding down to a whole number.
ROUND has two arguments: the number, then how many decimal places to keep. If the next digit is 5 or more it rounds up. Below 5 it rounds down.
A negative number of places rounds to tens, hundreds and so on.
?Why?ROUND changes the value stored in the cell. Formatting to 2 decimal places only changes what you see. A cell formatted to show 32 still holds 31.8333 and gives different totals later.
!Watch outINT always goes down, even for negative numbers. =INT(-2.5) gives −3, not −2.
ROUNDUP and ROUNDDOWN
Both take the same two arguments as ROUND: the number, then the number of decimal places.
ROUNDUP always rounds away from zero. ROUNDDOWN always rounds towards zero. The next digit does not matter.
Use ROUNDUP when you must have enough: buses, boxes, tickets. Use ROUNDDOWN when you cannot go over: how many items you can afford.
e.g.Example130 pupils go on the trip. Each bus has 55 seats.
130 ÷ 55 = 2.36…
=ROUND(130/55,0) → 2 buses. 2 × 55 = 110 seats, so 20 pupils are left behind.
=ROUNDUP(130/55,0) → 3 buses. Everyone travels.
Each pupil has €20 for souvenirs at €3.50 each: 20 ÷ 3.5 = 5.71…
=ROUNDDOWN(20/3.5,0) → 5 souvenirs. A 6th would cost €21.
COUNT and COUNTA
COUNT counts the cells in a range that hold numbers.
COUNTA counts the cells that are not empty: numbers, text, anything.
Both take one or more ranges as arguments. Neither counts empty cells.
?Why?To count pupils, count names with COUNTA. To count how many payments were entered, count numbers with COUNT.
!Watch outChoose the range carefully. Including a heading or the total row changes the count.
COUNTIF
COUNTIF counts the cells in a range that meet one condition.
Argument 1 is the range to check. Argument 2 is the criteria: the condition, in double quotes.
Criteria can be a value ("10A"), a comparison (">0"), or text with wildcards. * means any number of characters. ? means exactly one character.
To use a cell in the criteria, join it on with &: ">"&I7 means "greater than the value in I7".
!Watch outA comparison without quotes (>0 instead of ">0") is an error. Criteria are not case-sensitive, so "paid" also matches Paid.