Welcome to your first lesson on Data Analysis with Excel Functions!
Imagine you are a teacher in a school in Lagos. You have 40 students in your class, and you want to calculate their examination scores, find the highest score, and know the class average.
Calculating everything manually can take a lot of time. But what if you could ask Microsoft Excel to do the calculations for you?
That is exactly what Excel functions help you do!
Excel functions are built-in instructions that help you perform calculations and analyse information quickly.
In this module, you will learn what Excel functions are, how they work, and how to use them to solve simple problems.
An Excel function is a ready-made formula that performs a particular calculation or task.
Think of a function as a calculator inside Excel. Instead of calculating everything yourself, you tell Excel what you want, and it produces the answer.
For example, imagine you have these 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 adding 70 + 85 + 60 + 95 manually, you can use the Excel SUM function:
=SUM(B2:B5)
Excel will calculate the total automatically and display 310.
Although formulas and functions are related, they are not exactly the same.
A formula is an instruction you create in Excel to perform a calculation.
For example:
=A1+B1
This formula adds the values in cells A1 and B1.
A function is a built-in calculation already provided by Excel.
For example:
=SUM(A1:A5)
This function adds all the numbers from cells A1 to A5.
Remember: Every Excel function is used as part of a formula, but not every formula uses a built-in function.
Before using Excel functions, you need to understand cells and cell references.
A cell is a small box in an Excel worksheet where you enter information.
Each cell has a name called a cell reference. This name is made up of a column letter and a row number.
For example:
Look at this example:
| A | B | C | |
|---|---|---|---|
| 1 | Student | Score | Class |
| 2 | John | 70 | JSS 1 |
| 3 | Mary | 85 | JSS 2 |
| 4 | David | 60 | JSS 1 |
In this table:
You can use these cell references when creating Excel formulas and functions.
A cell range is a group of two or more cells selected together.
For example, B2:B5 means all the cells from B2 to B5.
Imagine you have the following scores:
| Student | Score |
|---|---|
| John | 70 |
| Mary | 85 |
| David | 60 |
| Grace | 95 |
If the scores are stored in cells B2, B3, B4, and B5, the range is:
B2:B5
You can use this range with functions such as SUM and AVERAGE.
For example:
Entering a function in Excel is easy. Follow these steps:
Enter the following numbers into Excel:
| Cell | Value |
|---|---|
| A1 | 10 |
| A2 | 20 |
| A3 | 30 |
| A4 | 40 |
Click cell A5 and enter:
=SUM(A1:A4)
Press Enter.
Excel will display 100.
Excel has hundreds of functions, but you do not need to learn all of them at once. Start with these common functions:
| Function | What It Does | Example |
|---|---|---|
| SUM | Adds numbers together. | =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 cells containing numbers. | =COUNT(A1:A5) |
| IF | Checks a condition and returns a result. | =IF(A1>50,"Pass","Fail") |
You will learn how to use these functions in more detail in the coming modules.
Function arguments are the values, cell references, or conditions that you give to a function so it can perform a task.
For example:
=SUM(A1:A5)
In this example:
The argument tells Excel which cells contain the numbers it should add.
Some functions require more than one argument.
For example:
=IF(A1>50,"Pass","Fail")
This function checks whether the value in A1 is greater than 50. If it is, Excel displays Pass. Otherwise, it displays Fail.
Beginners sometimes make mistakes when entering functions. Here are some common problems to avoid:
Imagine you are helping a teacher at a secondary school in Nigeria. The teacher gives you the following examination scores:
| Student | Mathematics | English | Basic Science |
|---|---|---|---|
| John | 70 | 80 | 75 |
| Mary | 85 | 90 | 80 |
| David | 60 | 65 | 70 |
| Grace | 95 | 85 | 90 |
Your task is to enter the information into Excel and practise using functions.
Try completing these activities yourself before checking your answers.
In this module, you learned:
Key Takeaway: Excel functions help you perform calculations and analyse information faster. Instead of doing everything manually, you can use simple instructions to let Excel do the work for you.
In the next module, you will learn how to use basic mathematical functions such as SUM, AVERAGE, MIN, MAX, and COUNT to analyse data.