Welcome to Module 2 of Data Analysis with Excel Functions!
In the previous module, you learned what Excel functions are and how they help us perform calculations quickly.
Now, imagine you are helping your teacher calculate the examination results of 50 students. You need to find the total scores, average scores, highest scores, and lowest scores.
Doing these calculations one after another with a calculator can take a long time. Fortunately, Microsoft Excel has mathematical functions that can do the work for you.
In this module, you will learn five important Excel functions:
The SUM function is used to add numbers together.
For example, imagine you have the following examination scores:
| Student | Score |
|---|---|
| John | 70 |
| Mary | 85 |
| David | 60 |
| Grace | 95 |
You want to calculate the total score of all four students.
Instead of calculating 70 + 85 + 60 + 95 manually, you can use the SUM function.
Excel will display the answer: 310.
Syntax:
=SUM(number1, [number2], ...)
You can use SUM to calculate:
The AVERAGE function calculates the average of a group of numbers.
An average helps you understand the typical value in a collection of numbers.
For example, imagine five students scored the following marks in Mathematics:
| Student | Score |
|---|---|
| John | 60 |
| Mary | 70 |
| David | 80 |
| Grace | 90 |
| Peter | 100 |
To calculate the average score:
Excel will display 80.
How is the average calculated?
Add all the scores and divide the total by the number of students.
In this example:
(60 + 70 + 80 + 90 + 100) รท 5 = 80.
Syntax:
=AVERAGE(number1, [number2], ...)
You can use AVERAGE to calculate:
The MIN function helps you find the smallest number in a group of numbers.
Imagine a teacher wants to know the lowest score in a class.
| Student | Score |
|---|---|
| John | 70 |
| Mary | 45 |
| David | 80 |
| Grace | 90 |
To find the lowest score:
Excel will display 45.
Syntax:
=MIN(number1, [number2], ...)
You can use MIN to find:
The MAX function does the opposite of MIN. It finds the largest number in a group of numbers.
For example, a school wants to identify the student with the highest examination score.
| Student | Score |
|---|---|
| John | 70 |
| Mary | 85 |
| David | 60 |
| Grace | 95 |
To find the highest score:
Excel will display 95.
Syntax:
=MAX(number1, [number2], ...)
You can use MAX to find:
The COUNT function helps you count how many cells in a selected range contain numbers.
Imagine you are a teacher and want to know how many students have submitted their examination scores.
| Student | Score |
|---|---|
| John | 70 |
| Mary | 85 |
| David | 60 |
| Grace | |
| Peter | 90 |
To count the numerical scores:
Excel will display 4 because four cells contain numbers.
Syntax:
=COUNT(value1, [value2], ...)
Important: COUNT only counts cells containing numbers. It does not count ordinary text or empty cells. To count non-empty cells containing text or numbers, you will learn about the COUNTA function in a later module.
Let's look at the five functions side by side.
| Function | Purpose | Example |
|---|---|---|
| SUM | Adds numbers. | =SUM(A1:A5) |
| AVERAGE | Calculates the average. | =AVERAGE(A1:A5) |
| MIN | Finds the smallest number. | =MIN(A1:A5) |
| MAX | Finds the largest number. | =MAX(A1:A5) |
| COUNT | Counts numerical entries. | =COUNT(A1:A5) |
Imagine you own a small supermarket in Ibadan. You want to understand how much money your business makes from selling different products.
Here is your sales information:
| Product | Sales (โฆ) |
|---|---|
| Rice | 50,000 |
| Beans | 30,000 |
| Milk | 20,000 |
| Bread | 15,000 |
| Vegetable Oil | 40,000 |
You can use Excel functions to answer important business questions.
Expected results:
| Analysis | Result |
|---|---|
| Total Sales | โฆ155,000 |
| Average Sales | โฆ31,000 |
| Lowest Sales | โฆ15,000 |
| Highest Sales | โฆ50,000 |
| Number of Records | 5 |
When using mathematical functions in Excel, avoid these mistakes:
Now it is your turn to practise!
A teacher in a secondary school in Nigeria has recorded the following Mathematics scores:
| Student | Score |
|---|---|
| Ade | 75 |
| Chika | 90 |
| Tunde | 65 |
| Fatima | 85 |
| Emeka | 95 |
| Grace | 80 |
Enter the data into Excel and complete the following activities:
Challenge: Can you use all five functions without looking at the examples above?
In this module, you learned how to use five important mathematical functions in Microsoft Excel.
Key Takeaway: Mathematical functions make data analysis faster and easier. With just a few simple instructions, Excel can calculate totals, averages, highest values, lowest values, and the number of numerical records.
In the next module, you will learn how to use counting and conditional functions such as COUNTIF, COUNTIFS, and IF to analyse data based on specific conditions.