16.0 Spreadsheets
16.0 Spreadsheets
YOUR NOTES
IGCSE ICT CIE
16. Spreadsheets
CONTENTS
16.1 Spreadsheets
Create a Data Model
Formulae & Functions
Order of Operations
Cell Referencing
Sort Data in Spreadsheets
Search & Select Data in Spreadsheets
Display Features
Spreadsheet Formatting
Page Layout in Spreadsheets
Graphs & Charts
1
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Merging Cells
Merging cells combines two or more cells into one larger cell
This is useful for creating headers or titles that span across multiple columns
2
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Use absolute references when you want the same cell referenced and use relative
references when you want the reference to change
Use of Arithmetic Operators in Formulae
Arithmetic operators allow you to perform basic mathematical operations in your formulae:
add (+), subtract (-), multiply (*), divide (/), and indices (^)
Using Named Cells and Named Ranges
Named cells:
Easily refer to a group of adjoining cells
Shortens/simplifies formulae
Enables referring to a group of cells without having to lookup cell references
Don’t have to re-set the absolute referencing manually
3
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
Worked Example
Tawara school has a shop that sells items needed by pupils in school. Part of a
spreadsheet with details of the items is shown.
a. Write down the number of rows that are shown in the spreadsheet that contain
text.
[1]
6 rows [1]
b. Write down the number of columns that are shown in the spreadsheet that
contain text.
[1]
8 columns [1]
Exam Tip
Make sure you know which way round rows and columns are - rows go across
and columns go down
4
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Spreadsheets offer a variety of functions. Some of the most commonly used are:
E.g. "=SUM(A1:B2)" This would add all the numbers from cell A1 to B2, giving the result
65.
E.g. "=AVERAGE(A1:B2)" This would find the average of all numbers from cell A1 to B2,
giving the result 16.25.
E.g. "=MAX(A1:B2)" This would return the maximum number in the range from A1 to B2,
which is 25.
E.g. "=MIN(A1:B2)" This would return the minimum number in the range from A1 to B2,
which is 10.
E.g. "=INT(A2)" This would round down the number in cell A2 to the nearest integer,
which is 15.
E.g. "=ROUND(A2, 0)" This would round the number in cell A2 to the nearest whole
number, which is 15.
E.g. "=COUNT(A1:B2)" This would count the number of cells in the range A1 to B2 that
contain numbers, which is 4.
5
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
E.g. "=LOOKUP(25, A1:B3)" This would look for the number 25 in the range A1 to B3 and YOUR NOTES
return it.
E.g. "=VLOOKUP(25, A1:B3, 2, FALSE)" This would look for the number 25 in the first
column of the range A1 to B3 and return the corresponding value in the second column
of the same row.
E.g. "=HLOOKUP(25, A1:D2, 2, FALSE)" This would look for the number 25 in the first row
of the range A1 to D2 and return the corresponding value in the second row of the same
column.
E.g. "=XLOOKUP(25, A1:B3, D1:D3)" This would look for the number 25 in the range A1 to
B3 and return the corresponding value from the range D1 to D3.
E.g. "=IF(A1>B1, "Yes", "No")" This would check if the value in cell A1 is greater than the
value in cell B1. If true, it returns "Yes". If false, it returns "No".
SUM: Adds all the numbers in a range of cells
AVERAGE: Calculates the average of a range of cells
MAX and MIN: Finds the largest and smallest numbers in a range respectively
INT: Rounds a number down to the nearest integer
ROUND: Rounds a number to a specified number of digits
COUNT: Counts the number of cells in a range that contain numbers
LOOKUP, VLOOKUP, HLOOKUP, XLOOKUP: Looks up values in a table based on a
given condition
IF: Returns one value if a condition is true and another if it's false
Using External Data Sources within Functions
Spreadsheets allow you to use external data sources within functions.
This could be data from another worksheet, workbook, or even a database
Using Nested Functions
You can use a function within another function. This is called nesting.
For instance, "=IF(A1>B1, MAX(A1:B1), MIN(A1:B1))".
This checks if A1 is greater than B1, and if true, it returns the max value, else it returns the
min value
6
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
Worked Example
Tawara school has a shop that sells items needed by pupils in school. Part of a
spreadsheet with details of the items is shown.
Tax is paid on certain items sold in the shop. The tax rate that has to be paid is 20%
of the selling price. If tax is to be paid on an item, then ‘Y’ is placed underneath the
Tax heading.
The formula in I4 is: IF(F4=''Y'',($I$1*D4*G4),'''')
Explain, in detail, what the formula does.
[5]
5 of:
If Tax is payable then//If F4 is equal to "Y" then [1]
If true the tax is paid [1]
Multiply the rate of tax/I1 [1]
By the selling price/D4 [1]
By the amount sold/G4 [1]
If Tax is not payable//If F4 <>"Y"//Else//Otherwise [1]
Then display a blank [1]
The tax is not paid [1]
Exam Tip
If you're asked about a complex formula or function, plan out your answer and
work from left to right as you track through the formula. E.g. in the question
above IF(F4="Y",($I$1*D4*G4),"") would become If F4 is equal to "Y" then
multiply I1 by D4 by G4. If F4<>"Y" then display a blank
7
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
If you input the formula "=A1+B3"in cell C1, the resultwill be 50, because B3 is calculated
first (20*2=40), and then A1 is added (10+40=50)
If you input the formula "=(A1+B1)*2" in cell C2, the resultwill be 60, because A1+B1 is
calculated first (10+20=30), and then the resultis multiplied by 2 (30*2=60)
It's always a good idea to use brackets to make sure that your formulae work as expected, even
if they might not be necessary
It makes the formula easier to read and understand
It can prevent errors if the formula is edited in the future
8
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
If you input the formula "=A1+B1" in cell C1 and drag the fill handle down to copy the formula
to cell C2, the formula in C2 will change to "=A2+B2"
But if you input the formula "=$A$1+B1" in cell C1 and drag the fill handle down, the formula in
C2 will still refer to cell A1: "=$A$1+B2"
Exam Tip
Be careful when copying formulas! Make sure you're using the right type of cell
reference for what you want to do
Remember the dollar signs ($) for absolute cell referencing. It can save you a lot
of time and hassle!
Use cell references rather than the value of the cell
9
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
Worked Example
An auction company sells toys. It uses a spreadsheet to show each person’s items
and the amount of money the buyer and seller owe to the company.
Part of the spreadsheet is shown below.
a. The person selling the item pays a Seller’s commission on any item sold. This is
calculated using the Selling price and finding a match or the next value below in the
table, in cells I6 to J11.
Write a formula to display in cell F6, the Seller’s commission on the Double Decker
bus toy.
This formula will be replicated down to cell F13.
[5]
VLOOKUP(D6, I$6:J$11,2)
VLOOKUP() [1]
(D6, [1]
I6:J11, [1]
correct use of $ [1]
2) [1]
or
IF(D6<$I$7, J$6, [1]
IF(D6<$I$8, J$7, [1]
IF(D6<$I$9, J$8, [1]
IF(D6<$I$10, J$9, [1]
IF(D6<$I$11, J$10, ,J$11))))) [1]
b. Describe how you could replicate the formula in cell F6 for each item.
[2]
2 of:
Click on the cell / F6 [1]
Move to the bottom RHS cell [1]
Select drag handle/cross / black box / double click on drag handle [1]
10
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
11
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
If you sort by 'Name' only (A to Z), the spreadsheet might look like this:
A B
1 Name Age
2 Alex 16
3 Alex 15
12
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Exam Tip
Be sure to select all relevant columns before sorting, especially when dealing
with multiple criteria. Failure to do so may result in misalignment of your data!
13
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
To select all students in Year 11, you could use the criterion "Year = 11"
To search for students who are in Year 11 AND scored above 85, you could use the criteria
"Year = 11" AND "Grade > 85"
14
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
15
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Adjust row height, column width, and cell sizes to make data, labels, and formulae fully visible.
This improves the readability of your spreadsheet and helps prevent errors
16
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
Hide and display rows and columns as needed to focus on specific data or to improve
readability.
This can be useful when working with large datasets or complex spreadsheets
17
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Use conditional formatting to change the display format depending on the contents of a cell.
This helps to highlight important information or identify patterns and trends in the data
18
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
Worked Example
Explain the steps that need to be taken to display cell H4 as US dollars.
[2]
2 of:
Highlight/select cell H4 [1]
Select format cells [1]
Select currency/accounting [1]
Select dollar/USD icon [1]
19
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
20
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
21
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Exam Tip
Always preview your printout before printing to ensure it looks as expected and
fits within the designated page boundaries
Remember to set the print area, especially if you only want to print a specific
part of the spreadsheet
22
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
23
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Always include a chart title that summarises what the graph or chart is about YOUR NOTES
A legend identifies the different data series in your chart
Sector labels, sector values, and percentages help interpret pie charts
Category axis title, value axis title, category axis labels, value axis labels, and data
value labels are essential in making your graph or chart understandable
24
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Adjust the maximum and minimum values of an axis scale by right-clicking on the axis and YOUR NOTES
selecting 'Format Axis'
Set incremental values to change the scale of your graph
25
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
26
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
YOUR NOTES
Worked Example
A farmer has purchased a computerised milking system for her cows. She has
asked a systems analyst to create a database to store details of the cows being
milked. The amount of milk each cow produces is currently recorded daily in a
spreadsheet.
This is part of the spreadsheet.
You have been asked to produce a graph or chart to show the amounts of milk for
the cow with Animal Passport Number 971/2016.
Describe the steps you would use to produce a graph or chart of this data as a
separate sheet.
Include in your answer the name of the new sheet.
[6]
5 of:
Highlight A7 to B16 [1]
Hide row 6 [1]
Select insert [1]
Select graph [1]
Choose chart – bar chart [1]
Add chart title [1]
Title example milk yield for cow 971 / 2016 [1]
Add axes titles [1]
Add a legend [1]
27
CAMBRIDGE IGCSE TM ICT: WORKSHEETS
Right click and select Move to new sheet [1] YOUR NOTES
Type an appropriate title/name on the tab [1]
Save the chart [1]
1 mark for the name of the new sheet – Allow any appropriate name
28