theme 3: data dynamics topic 18: analyse data using excel chapter 3.3. page 185 – 199 analysing...
TRANSCRIPT
Theme 3: Data Dynamics
Topic 18:
Analyse data using Excel
Chapter 3.3. Page 185 – 199
Analysing spreadsheet data
Excel can be used to analyse data
Functions that can count
Name What is done Example
COUNT Counts how many numbers
=COUNT(B2:B10)
COUNTA Counts how many values (numbers or text)
=COUNTA(C1:C100)
COUNTBLANK Counts how many empty cells
=COUNTBLANK(A1:A10)
Acti
vit
yA
cti
vit
y11 Page 186 Explore
Acti
vit
yA
cti
vit
y22 Page 187 Try it yourself
Acti
vit
yA
cti
vit
y33 Page 187 Apply
COUNTIF-functionA B
Name Absent
Janet 7
Anthony
Lebo 5
Katlego
Pat 4
Number never absent =COUNTBLANK(B2:B6)
Number more than 5 days absent =COUNTIF(B2:B6,">5")
Examples of COUNTIF
Contains the value 100
=COUNTIF(A2:A10,100)
Contains the symbol A.
=COUNTIF(C3:C10,”A”)
Contains value more than 80
=COUNTIF(D2:D15,”>80”)
Contains the same value as in A1
=COUNTIF(B4:B14,A1)
Values greater than or equal to 70
=COUNTIF(B4:B14,”>=70”)
HELP
• Find all the different comparison operators in the Help facilities
• Possible cue words:– Operators– Types of operators– Comparison operators
Acti
vit
yA
cti
vit
y44 Page 189 Try it yourself
Acti
vit
yA
cti
vit
y55 Page 189 Apply
LARGE and SMALL
Name What is done Example
LARGE Determines a certain largest number e.g. the 2nd largest, or the 3rd largest
=LARGE(A2:A30, 2)
=LARGE(A5:A15, 3)
SMALL Determines a certain smallest number e.g. the 2nd smallest, or the 3rd smallest.
=SMALL(A2:A30, 2)
=SMALL(A5:A15, 3)
Acti
vit
yA
cti
vit
y66 Page 190 Try it yourself
Acti
vit
yA
cti
vit
y77 Page 191 Apply
Sum of certain cells
=SUMIF(range, criteria, sum_range)
What are the cells that must be tested?
What are the criteria that
values in cells must comply
with?
Which values must be added to the total if the
criteria are met?
Example of SUMIF
=SUMIF(B2:B6, 11, C2:C6)
Look at the cells B2:B6
If the value is equal to 11 . .
Add the value in the corresponding cell in column C to the total.
Total = C2 + C4 + C5
=R20 + R10 + R15
=R45
Acti
vit
yA
cti
vit
y88 Page 192 Explore
Acti
vit
yA
cti
vit
y99 Page 193 Apply
The IF function• Allocates a value to a cell depending on
the condition(s) specified.
• Example: Give bonus to employees who have worked more than 5 years.
How does the IF function work?
=IF(D2 > 5, “BonusBonus”, “No BonusNo Bonus”)
Condition’s answer is always TRUE or
FALSE
TRUETRUE
Writes this value in the cell.
FALSEFALSE
Writes this value in the cell.
Acti
vit
yA
cti
vit
y1010 Page 194 Check if you understand
Acti
vit
yA
cti
vit
y1111 Page 195 Explore
Acti
vit
yA
cti
vit
y1212 Page 195 Try it yourself
Acti
vit
yA
cti
vit
y1313 Page 195 Apply
Acti
vit
yA
cti
vit
y1414 Page 196 Checklist
I can . . . .I can . . . .
Acti
vit
yA
cti
vit
y1515 Page 197 Check if you understand