G6_Unit 9_Data & Data Representation
G6_Unit 9_Data & Data Representation
Learning Objectives
Learners will learn to:
know that there are many systems that can be used to model real-life
know how to use spreadsheet functions to analyse data, including IF, MIN,
MAX, COUNT.
Vocabulary
computer model
simulators
sort
filters
functions
charts
Let Us Start
1
Let Us Explore
You have been responsible for preparing a budget for organising the upcoming
school's annual event. It will require careful consideration as you identify income
sources, such as ticket sales or sponsorships and estimate the various expenses,
If there are changes in the budget list later, can you do it automatically?
Is there a computer application that she can use to prepare and maintain a
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
Get, Set, Go
9.1 Computer modelling and simulations
A computer model is a computer program that attempts to simulate a real-life
system. Simulations aim to mimic (copy) real-life systems to see the outcomes of
different scenarios.
2
Why Are Computer Models Used?
There are several reasons that computer models are used.
To test a system without having to create the system for real (Building real-life
To predict what might happen to a system in the future (An accurate model
allows us to go forward in virtual time to see what the system will be doing in
the future)
To train people to use a system without putting them at risk (Learning to fly
Finance simulation
Flight simulation
Driving simulation
3D models
Finance Simulation
Spreadsheet models can predict finance-type outcomes based on mathematical
Profit / Loss
Answers to 'What If' questions. For example - "What if I give my staff a 10%
3
9.2 Using sort
Organising the information becomes important when you add more data to a
worksheet. You can easily reorganise a worksheet by sorting the data in it. The Sort
Step 3: Click the Sort option. The various Sort options will appear. Select the Custom
Sort option.
Step 4: Select the column you want to sort in the Sort dialog box.
4
9.3 Using filters
The filter feature quickly extracts data from a spreadsheet that meets specific criteria.
It hides the rows or columns containing data that do not meet the filter criteria
defined by the user. The advantage of using the filter command is that it becomes
5
Step 4: The Filter menu will appear.
specify. If the conditions are true, the cell range is formatted; if the conditions are
false, the cell range is not formatted. It allows us to make the worksheet more
interesting by highlighting the data based on certain criteria. It also helps us to make
Step 2: On the Home tab, in the Styles group, click Conditional Formatting.
Step 3: From a set of inbuilt rules, choose the one that suits your purpose.
6
Activity 1
Create the given table that shows the number of students from each class who use a
Filter the data to show the transport used by only 10 or less than 10 students.
9.5 Functions
A function is a predefined formula that performs calculations using specific values in
a particular order. All spreadsheet programs include common functions that can
quickly find the sum, average, count, maximum, and minimum values for a range of
7
Parts of a Function
The basic syntax for a function is an equals sign (=), the function name (SUM, for
example), and one or more arguments. Arguments contain the information you want
to calculate. The function in the example below would add the values of the cell
range A1:A20.
Sum() function
The SUM function adds numeric values in a range of cells and displays the total.
Total Amount
calculated using
SUM () function
Average() function
The average function allows you to calculate the average value of a range of cells or
Average participants in
all 3 seminars on Day 1
calculated using
AVERAGE () function
8
Min() function
The MIN function finds the lowest value of a range of cells or a set of numerical
values.
Max() function
The Max function finds the highest value of a range of cells or a set of numerical
values.
COUNT()
This function counts the number of cells with numeric data
or a range of cells.
9
COUNTA()
This function counts the number of cells in the
The COUNTA function counts the number of cells in a range with any value. Both
Let us look into a worksheet where functions are used to perform the calculations.
Steps to use functions
1. Select the cell B8.
2. Type the equals sign (=) and enter the SUM ().
3. Enter the cell range for the argument inside parentheses =SUM (B3:B6).
4. Press Enter on the keyboard. The function will be calculated, and the result will
appear in the cell.
10
Using the IF() Function
The IF() function first evaluates the condition that you specify and returns one value if
the condition is met (true) and another value if the condition is not met (false).
Consider the data as shown in the worksheet. Suppose you want to assign the grade
‘A+’ to the students who have scored total marks above 79.
Let us see how you can do this using the IF() function.
Activity 2
Create the above table in MS Excel 2016. Insert a percentage column before the
grade column and add a formula to calculate the percentage. Using the If() function,
assign ‘A+’ grades to students who have scored total marks above 80 and ‘A’ grades
11
9.6 Charts
Charts allow us to view data in a visual way. It is a pictorial representation of data.
Charts make it easier to understand large quantities of data. A chart is linked to some
data on a worksheet. If this data is modified, the chart will automatically change
accordingly. It helps us to analyse the data quickly and effectively. There are a variety
of chart types that we can create in MS Excel. Depending on the type of data analysis
Components of chart
Source data
It is the range of cells that make up a chart. The chart is updated automatically
12
Axis
It is the vertical and horizontal parts of a chart. The vertical axis is often called the Y-
Types of charts
Depending on the type of data analysis to be done, you can choose a suitable chart
type.
Column chart
It is used for data that has to be compared. A column chart is oriented vertically.
Bar Chart
labels.
13
Pie Chart
to a total.
Line Chart
14
Step 2: Select the Combo option and
select the change chart type as a line
chart from the drop‐down menu.
as a secondary axis.
15
We will get the chart below after selecting the ‘profit’ as the secondary axis.
Unit Review
1. A computer model is a computer program that attempts to simulate a real-life
system.
4. The Filter feature extracts data from a spreadsheet that meets specific criteria
quickly.
that we specify.
data.
16
Check for Understanding
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
c. What is the difference between the COUNT() and COUNTA() functions? Explain the
use of each one with an example.
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
17
d. When do we require a secondary axis for creating charts?
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
Lab Activity
Q1. Observe the Excel worksheet and perform the given tasks.
Task 1: Write down the function to assign ‘Good’ to the students who scored
more than 300 and ‘Fair’ to those who scored less than 300 in cell H2.
Q2. Create a list of grocery items in MS Excel 2016. It must include the following:
2. In addition, the list must include a minimum of 12 items of your choice, with
18
Resources
https://www.w3schools.com/EXCEL/excel_sort.php
Reference Material
https://www.youtube.com/watch?v=UZ84aG5O0eo
19