Excel Functions For N5
Excel Functions For N5
Workbook
Worksheet
Cell
Formula
Function
Array/Range
Explanations
The workbook refers to an Excel spreadsheet file. A workbook
Column are aligned vertically (up and down) while rows are a
TRY IT YOURSELF!
Data set/ Range
75
125
5
12
189
50
23
100
2nd smallest 12
5th smallest 75
7th smallest 125
MIN vs SMALL
TRY IT YOURSELF!
Data set/ Range
75
125
5
12
189
50
23
100
2nd largest ?
5th largest ?
7th largest ?
MAX vs LARGE
TRY IT YOURSELF!
Student name Class group Amount brought in
Sally N4 R 75.00
Emma N5 R 400.00
Jackson N4
Chad N6 R 165.00
ABC
A123
123B
How many blank
2 =COUNTBLANK(B4:B9)
cells?
TRY IT YOURSELF!
Student name Class group Amount brought in
Sally N4 R 75.00
Emma N5 R 400.00
Jackson N4
Chad N6 R 165.00
TRY IT YOURSELF!
Student name Class group Amount brought in
Sally N4 R 75.00
Emma N5 R 400.00
Jackson N4
Chad N6 R 165.00
How many N4
students took part in 2
the raffle?
=COUNTIF(C4:C8,"blue")
SUMIF
Adds the cells specified by a given criteria.
Example 1:
Gender Student
Female 1
Female 2
Male 3
Female 4
Male 5
Example 2:
Product Cost
Fruit R 7.50
Vegetable R 22.75
Dairy R 15.50
Fruit R 11.99
Meat R 40.99
Fruit R 13.80
TRY IT YOURSELF!
Student name Class group Amount
brought in
Sally N4 R 75.00
Emma N5 R 400.00
Jackson N4 R 700.00
Chad N6 R 165.00
How much money did
the N4's bring in? 775
MIF
d by a given criteria.
Amount in savings
R 1,200.00
R 120.00
R 4,500.00
R 200.00
R 2,500.00
=SUMIF(B5:B9,"female",D5:D9)
=SUMIF(B14:B19,"fruit",C14:C19)
IF
Example 1: The college is having a function for all the females to celebrate Womans Day.
Using the gender in Colunmn B, use an IF function to display who qualfies to go to the function.
Male or Function
Staff member
female Yes/No
James Male No
Kelly Female Yes
Reece Male No
Kyla Female Yes
Lezaan Female Yes
Keagan Male No
Example 2: The sales rep needs to sell a minimum of 10 or more cars in order to qualify for
the bonus. Using the amount in Column B, use an IF function to display whether or not they
qualify for the bonus.
Amount of Bonus
Sales rep cars sold Yes/No
John 12 Yes
Sipho 9 No
Stacy 10 Yes
Bianca 7 No
TRY IT YOURSELF!
Activity 1: If the actual amount is bigger than the budgeted amount then display "Over
budget", otherwise display "Within budget".
Budgeted Actual Status
700 1200 Within budget
450 400 Over budget
1200 2000 Within budget
500 505 Within budget
Activity 2: If the sales figure of a salesman are more than a thousand rand, commission will
be earned. Display "Yes" if the salesmans figures are above a thousand rand, otherwise display
"No". (Part 1)
Using the answer calculated Column C (Commission Yes/No), calculate the Commission
amount for those salesmen whose sales figures are above R1000. If the sales figures are bigger
than R1000, then 10% commission is calculated. (Part 2)
=IF(B5="Female","Yes","No")
=IF(B6="Female","Yes","No")
=IF(B7="Female","Yes","No")
=IF(B8="Female","Yes","No")
=IF(B9="Female","Yes","No")
=IF(B10="Female","Yes","No")
=IF(B12>=10,"Yes","No")
=IF(B13>=10,"Yes","No")
=IF(B14>=10,"Yes","No")
=IF(B15>=10,"Yes","No")
SELF!
he budgeted amount then display "Over
"Within budget".
Commission amount
120
105
POWER
Returns the result of a number raised to a
power.
EXAMPLE FORMULA
25 =POWER(5,2)
2401077.22206958 =POWER(98.6,3.2)
5.65685424949238 =POWER(4,5/4)
TRY IT YOURSELF!
10 to the power of 2 ?
RAND
Returns a random number
between 0 and 1.
EXAMPLE FORMULA
0.649628663058472 =RAND()
0.781928951505798 =RAND()
TRY IT YOURSELF!
Display a random
number between 0 0.6637950491
and 1.
RANDBETWEEN
Returns a random number between the
numbers you specify. A new random integer
number is returned every time the worksheet
is calculated.
EXAMPLE FORMULA
2 =RANDBETWEEN(1,10)
139 =RANDBETWEEN(100,200)
21 =RANDBETWEEN(7,70)
TRY IT YOURSELF!
Random number
between 50 and 71
75.
Random number 6
between 2 and 8.
The RANDBETWEEN function syntax
has the following arguments:
TRY IT YOURSELF!
Round to an
integer (whole 123.78 124
number)
Round to 2 decimal
places 68.7895 68.79
Combination of functions
First calculate the average of cells A14:A15 and then use the round
function to round it off to no decimals.
123.456
12313132.26
6156628 =ROUND(AVERAGE(A14:A15),0)
6156627.858
6156628
TODAY NOW
=now()
UPPER LOWER