Imagine you own a small shop in Nigeria. Every day, you record the items you sell, their prices, and the quantity customers buy. Instead of calculating everything with a calculator, you can use Excel to do the work for you.
In this module, you will learn how to use simple formulas and perform basic calculations in Microsoft Excel and other spreadsheet applications.
By the end of this module, you should be able to:
A formula is an instruction that tells a spreadsheet how to calculate something. It can help you add numbers, subtract values, multiply quantities, or divide amounts.
In Excel, a formula usually begins with an equal sign (=).
Example:
=10+5
When you enter this formula into a cell and press Enter, Excel displays the answer: 15.
Excel uses special symbols to perform mathematical calculations.
| Operation | Symbol | Example | Answer |
|---|---|---|---|
| Addition | + | =10+5 | 15 |
| Subtraction | - | =10-5 | 5 |
| Multiplication | * | =10*5 | 50 |
| Division | / | =10/5 | 2 |
You do not always need to type numbers directly into a formula. You can use cell addresses instead. A cell address is the location of a cell, such as A1 or B2.
Imagine your spreadsheet contains these values:
| Cell | Value |
|---|---|
| A1 | 500 |
| B1 | 300 |
You can calculate their total by entering this formula in another cell:
=A1+B1
The result will be 800.
The advantage of using cell references is that if the values in A1 or B1 change, Excel automatically updates the result.
The SUM function adds several numbers together. It is useful when working with long lists of figures.
Example:
Suppose a shop records these daily sales:
| Day | Sales (โฆ) |
|---|---|
| Monday | 5,000 |
| Tuesday | 7,000 |
| Wednesday | 3,000 |
If the sales figures are in cells B2 to B4, enter:
=SUM(B2:B4)
The result is โฆ15,000.
The colon in B2:B4 tells Excel to include every cell from B2 through B4.
The AVERAGE function calculates the average value of a group of numbers. It does this by adding the numbers and dividing the total by how many numbers there are.
Example:
A student scores 60, 70, and 80 in three tests.
=AVERAGE(60,70,80)
The answer is 70.
You can also use cell references:
=AVERAGE(B2:B4)
MIN and MAX help you identify the smallest and largest numbers in a group.
For example, if cells B2 to B5 contain 20, 50, 10, and 40:
=MIN(B2:B5)
Result: 10
=MAX(B2:B5)
Result: 50
Let's use a practical example. A customer buys three products from a supermarket. You can calculate the total cost by multiplying the price of each item by its quantity.
| Product | Price (โฆ) | Quantity | Total (โฆ) |
|---|---|---|---|
| Rice | 2,000 | 2 | 4,000 |
| Milk | 1,500 | 3 | 4,500 |
| Bread | 1,000 | 2 | 2,000 |
If the price is in column B and quantity is in column C, enter this formula in D2:
=B2*C2
You can copy the formula down to calculate the totals for the other products. Then use the SUM function to calculate the final amount:
=SUM(D2:D4)
The total cost is โฆ10,500.
Sometimes, Excel may display an error instead of the expected answer. Here are some common errors beginners should understand:
Always check your formula, cell references, and the type of data you are using.
Create a spreadsheet for a small shop selling rice, beans, and cooking oil. Enter the product prices and quantities below.
| Product | Price (โฆ) | Quantity |
|---|---|---|
| Rice | 2,500 | 2 |
| Beans | 1,800 | 3 |
| Cooking Oil | 3,000 | 1 |
Your tasks:
In this module, you learned how to use formulas to perform calculations in Excel. You explored addition, subtraction, multiplication, and division, as well as the SUM, AVERAGE, MIN, and MAX functions.
These skills will help you calculate sales, track expenses, analyse student scores, and work with other types of spreadsheet data.