4 - 2 Calculations
4 - 2 Calculations
your life
1
Grade 11
Calculations
Module 4.2
2
3
Contents
Functions
Module activities
4
Functions
5
ROUND function
Used to round numbers
to a specified number of decimal places
Example of
Number Result Description
function
Rounds a number to 1
78.8987 =ROUND(A2,1) 78.9
decimal place
Rounds a number to 2
65.345 =ROUND(A3,2) 65.35
decimal places
Rounds a number to 3
68.5275 =ROUND(A4,3) 68.528
decimal places
6
ROUND function vs.
Increase / Decrease
Decimal
Determines Nth
=SMALL(range, N) smallest number of all =SMALL(B1:B100,3)
values in range
Activity 2
9
10 Functions which can count (1)
What the function
Function Example
counts
Number of cells in a
=COUNT(range) range which contain =COUNT(A1:A10)
numerical values
Number of cells in a
range which contain
=COUNTA(range) any value (text or =COUNTA(C1:C10)
numeric), i.e. cells
which are not empty
11 Functions which can count (2)
What the function
Function Example
counts
Number of empty
=COUNTBLANK(range) =COUNTBLANK(B2:B12)
cells in range
=COUNTIF(A3:A10,10)
Number of cells in
=COUNTIF(range, =COUNTIF(C3:C10,
range that meet a
criterion) "Pretoria")
certain criterion
=COUNTIF(B2:B10,">=70")
12
COUNTIF
example
To have
subtotals
for each
Grade
group,
SORT Subtotals for
any of the
the
columns can
worksheet
be inserted
by this for each
column Grade
15
SUBTOTAL function
• Select data
(also column headings)
• Sort data according to group
you want to summarise
• Data tab Outline group
Subtotal
Group to summarise
Function to apply
Raises a number to a
=POWER(number,
power =POWER(5,2)
power)
(e.g. 52 = 5 x 5 = 25)
Activity 5
18
Calculate the sum
19
of certain cells
= SUMIF(range, criterion,
sum_range)
Range is the range of cells tested to
determine if any cells in it meet the criterion