0% found this document useful (0 votes)
17 views

4 - 2 Calculations

Uploaded by

testingtra78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

4 - 2 Calculations

Uploaded by

testingtra78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Computers, part of

your life
1
Grade 11
Calculations
Module 4.2
2
3
Contents

 Functions

 Interpretation of error indica


tors

 Test and improve

 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 the


92.6 =ROUND(A1,0) 93
nearest integer

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

ROUND function Increase /


Decrease Decimal
Result is the true
Values stored in cells
rounded number remain the same
Activity 1
7
8 LARGE and SMALL functions

What the function


Function Example
does

Determines Nth largest


=LARGE(range, N) number of all values in =LARGE(A2:A30,2)
range

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

 Count the number of grade 10 learners –


i.e. the number of times the value in B12 is
found in the range C3:C10
 Note the use of absolute referencing
Activity 3
13
14
SUBTOTAL function
To summarise data quickly

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

Column/s for subtotals


Activity 4
16
17 Other handy functions
Function What function does Example

Returns a random real


=RAND() number between 0 and 1 =RAND()
(e.g. 0.2342 or 0.985678 )

Returns a random whole


=RANDBETWEEN
number between two =RANDBETWEEN(1,100)
(bottom,top)
specified numbers

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

 Criterion determines which cells are added


– can be a number, text or expression

 Sum_range is the range containing the cells


that are added – if corresponding cells in the
range meet the criterion
Calculate the sum
20
of certain cells
= SUMIF(B2:B6, 11, C2:C6)
p le  Tests range B2:B6

a m  Criteria: cell must contain value 11


Ex  If the value of the corresponding cell
in column B is 11, it must be added

Result of the SUMIF function in


cell C8 is R45.00
The cells that meet the criteria
are B2, B4 and B5.
The values in corresponding
cells in column C are R20.00
(C2), R10.00 (C4) and R15.00
(C5), which add up to R45.00.
21
TIP

Entering a SUMIF function is made easy using the


Insert Function command on the Formulas tab
Activity 6
22
23
Interpretation of
error indicators
24 Error indicators start with a hash (‘#’)

Error indicator Likely cause of error Possible solutions

Missing operator, colon or


comma, e.g. Ensure that an operator,
#NULL! =D1 + D2 + D3 D4 colon, or comma is
=SUM(A1:A10 B1:B10) entered where required
=SUM(A1 A10)

When you enter a function / Ensure there is no


formula that contains a cell reference to the same
Circular
reference that is the same cell where the function /
Reference
as the current cell, e.g. formula has been
entering =A1*2 in cell A1 entered
Activity 7
25
26
Test and improve
Use summary for your revision
Written module activity
27
Practical module activity
28

You might also like