“Copilot in Microsoft Excel – Level Two” – Take your Excel skills to the next level
Welcome back, young Excel explorer! In Module One, you learned what Copilot is, how to open it, and how to ask simple questions. You also reviewed cells, rows, columns, and sheets.
Now it is time for the fun part: writing formulas. Formulas are the maths instructions in Excel. They tell Excel what to calculate. In the old days, you had to memorise every formula. But with Copilot, you can just ask in plain English, and Copilot writes the formula for you.
In this module, we will learn how to use Copilot to write formulas for adding, averaging, counting, and making decisions. We will learn SUM, AVERAGE, MIN, MAX, IF, IFERROR, COUNTIF, SUMIF, VLOOKUP, and XLOOKUP. We will also learn how to fix broken formulas and how to ask Copilot to explain formulas in simple words.
By the end, you will be able to build a complete marks sheet using Copilot. You will be faster and more confident in Excel. Let’s begin!
After finishing this module, you will be able to:
Tunde is a clever boy in Abuja. His teacher asked him to prepare a marks sheet for the class. Tunde has 40 students and 5 subjects. He needs to add up each student’s scores, find the average, and decide who passed and who failed.
Tunde started typing formulas by hand. He typed =SUM(B2:F2) for the first student. Then he dragged it down. But some students had missing scores, and the average was wrong. Then he tried IF for pass or fail, but he made a small mistake with the commas. The whole sheet showed errors!
Tunde was frustrated. Then his friend Ada said, “Tunde, why don’t you ask Copilot? It can write the formulas for you.”
Tunde opened Copilot and typed: “Add up the scores from column B to column F for each student.” Copilot gave him the correct formula. He asked: “What is the average?” Copilot gave him =AVERAGE(B2:F2). He asked: “Show PASS if the average is 50 or above, else FAIL.” Copilot gave him =IF(G2>=50, "PASS", "FAIL").
In minutes, Tunde’s marks sheet was complete. Every student had a total, an average, and a pass or fail result. His teacher was impressed. Tunde learned that Copilot is like a patient maths tutor who never gets tired.
Moral of the story: Copilot can write any formula for you if you ask clearly. It saves time and prevents mistakes. You just need to know what you want to calculate.
Definition: Asking Copilot to create a formula means typing what you want to calculate in plain English, and Copilot gives you the Excel formula.
Why it is important: You do not need to memorise formulas. Copilot writes them for you.
Simple explanation: Imagine you want to know the total of your pocket money. You tell Copilot, “Add up my money,” and it gives you the formula.
Real-life example: A shopkeeper says, “Add up all sales today.” Copilot gives the formula.
School example: A teacher says, “Find the average score.” Copilot writes it.
Home example: A parent says, “Add up the grocery prices.” Copilot helps.
Nigerian example: A trader says, “Add up the price of all the yams I sold.” Copilot gives the total formula.
Illustration:
You type: "Add up the numbers in B2 to B10"
|
V
Copilot gives: =SUM(B2:B10)
|
V
You paste it into the cell
|
V
Total appears
Step-by-step:
Mini summary: Ask Copilot in plain English. It gives you the formula. Copy it into your sheet and see the result.
Definition: SUM is a formula that adds numbers together.
Why it is important: Adding is the most common calculation in Excel.
Simple explanation: Imagine you have five plates of rice. Each plate has some grains. SUM counts all the grains together.
Real-life example: Adding the prices of items in a shopping basket.
School example: Adding test scores to get a total.
Home example: Adding your weekly pocket money.
Nigerian example: Adding the money from all your sales in the market today.
Illustration:
+--------+--------+ | Item | Price | +--------+--------+ | Rice | 500 | | Beans | 300 | | Oil | 700 | +--------+--------+ Ask Copilot: "Add up the prices" Copilot gives: =SUM(B2:B4) Result: 1500
Step-by-step:
=SUM(B2:B4).Mini summary: SUM adds numbers. Ask Copilot to write it. Type =SUM(range) in a cell.
Definition: AVERAGE finds the middle value. MIN finds the smallest. MAX finds the largest.
Why it is important: These three help you understand your data quickly.
Simple explanation: Imagine a race. MIN is the slowest runner. MAX is the fastest. AVERAGE is the typical speed of all runners.
Real-life example: Finding the cheapest item in the market.
School example: Finding the highest score in the class.
Home example: Finding the average electricity bill for three months.
Nigerian example: Finding the highest price a customer paid for your goods.
Illustration:
Scores: 85, 90, 78, 92 Ask Copilot: "What is the average?" Copilot: =AVERAGE(B2:B5) Result: 86.25 Ask Copilot: "What is the lowest score?" Copilot: =MIN(B2:B5) Result: 78 Ask Copilot: "What is the highest score?" Copilot: =MAX(B2:B5) Result: 92
Step-by-step:
Mini summary: AVERAGE, MIN, and MAX help you understand your data. Ask Copilot to write them.
Definition: IF checks a condition and shows one thing if true and another if false.
Why it is important: It lets your sheet make decisions automatically.
Simple explanation: Like a teacher saying, “If you score 50 or more, you pass. If not, you fail.”
Real-life example: A shop giving a discount if the customer buys more than 10 items.
School example: Showing PASS or FAIL based on score.
Home example: Showing “Buy more” if milk is finished, else “Enough milk.”
Nigerian example: A trader saying, “If the customer buys 5 or more, give a discount.”
Illustration:
+--------+--------+ | Name | Score | +--------+--------+ | Ada | 85 | | Tunde | 45 | +--------+--------+ Ask Copilot: "Show PASS if score is 50 or above, else FAIL" Copilot: =IF(B2>=50, "PASS", "FAIL")
Step-by-step:
=IF(condition, value_if_true, value_if_false).Mini summary: IF makes decisions. Use =IF(condition, true_value, false_value). Ask Copilot to write it.
Definition: IFERROR shows a friendly message instead of an error like #DIV/0! or #N/A.
Why it is important: Errors look ugly. IFERROR makes your sheet clean and professional.
Simple explanation: Like a polite person who says, “Sorry, I don’t know,” instead of shouting.
Real-life example: An ATM saying “Insufficient funds” instead of showing a scary error code.
School example: A teacher writing “Absent” instead of leaving the score blank.
Home example: A fridge showing “Empty” instead of a blinking light.
Nigerian example: A POS machine showing “Transaction failed” instead of a confusing code.
Illustration:
Without IFERROR: =A2/B2 --> #DIV/0! With IFERROR: =IFERROR(A2/B2, "Not available") --> Not available
Step-by-step:
Mini summary: IFERROR replaces errors with friendly messages. Use =IFERROR(formula, "message").
Definition: COUNTIF counts how many cells meet a condition.
Why it is important: It helps you count specific things quickly.
Simple explanation: Like counting how many students scored above 70 in a class.
Real-life example: Counting how many customers bought rice today.
School example: Counting how many students passed.
Home example: Counting how many days it rained this month.
Nigerian example: Counting how many bags of rice you sold above ₦10,000.
Illustration:
Scores: 85, 45, 90, 78, 92 Ask Copilot: "Count how many scores are above 70" Copilot: =COUNTIF(B2:B6, ">70") Result: 4
Step-by-step:
=COUNTIF(range, condition).Mini summary: COUNTIF counts cells that meet a condition. Use =COUNTIF(range, condition).
Definition: SUMIF adds numbers that meet a condition.
Why it is important: It lets you add only the numbers you care about.
Simple explanation: Like adding only the prices of items that cost more than ₦500.
Real-life example: Adding only the sales made by one trader.
School example: Adding only the scores of students in one class.
Home example: Adding only the expenses for food.
Nigerian example: Adding only the money from sales of rice, not beans.
Illustration:
+--------+--------+ | Item | Price | +--------+--------+ | Rice | 500 | | Beans | 300 | | Rice | 700 | +--------+--------+ Ask Copilot: "Add only the prices of Rice" Copilot: =SUMIF(A2:A4, "Rice", B2:B4) Result: 1200
Step-by-step:
=SUMIF(range, condition, sum_range).Mini summary: SUMIF adds numbers that meet a condition. Use =SUMIF(range, condition, sum_range).
Definition: VLOOKUP looks for a value in the first column of a table and returns a value from another column in the same row.
Why it is important: It saves time when you need to look up information in a big table.
Simple explanation: Like looking up a student’s name in a register and finding their score.
Real-life example: Looking up a product price in a price list.
School example: Looking up a student’s score by their name.
Home example: Looking up a phone number in a contact list.
Nigerian example: Looking up the price of a good in a market price list.
Illustration:
Price list:
+--------+--------+
| Item | Price |
+--------+--------+
| Rice | 500 |
| Beans | 300 |
+--------+--------+
Ask Copilot: "Look up the price of Beans"
Copilot: =VLOOKUP("Beans", A2:B3, 2, FALSE)
Result: 300
Step-by-step:
=VLOOKUP(value, table, column_number, FALSE).Mini summary: VLOOKUP finds information in a table. Use =VLOOKUP(value, table, column, FALSE).
Definition: XLOOKUP is a newer and more flexible way to look up values.
Why it is important: It can look left or right, and it handles errors better than VLOOKUP.
Simple explanation: Like VLOOKUP but smarter. It can look in any direction.
Real-life example: Looking up a customer’s name from their phone number.
School example: Looking up a subject from a subject code.
Home example: Looking up a recipe from an ingredient.
Nigerian example: Looking up a trader’s name from their stall number.
Illustration:
Ask Copilot: "Look up the price of Beans using XLOOKUP"
Copilot: =XLOOKUP("Beans", A2:A3, B2:B3)
Result: 300
Step-by-step:
=XLOOKUP(value, lookup_range, result_range).Mini summary: XLOOKUP is the modern lookup. Use =XLOOKUP(value, lookup_range, result_range).
Definition: Fixing broken formulas means asking Copilot to correct a formula that is not working.
Why it is important: Everyone makes mistakes. Copilot helps you fix them quickly.
Simple explanation: Like asking a teacher to correct your maths working.
Real-life example: A mechanic fixing a car engine.
School example: A teacher correcting your essay.
Home example: A parent fixing a broken toy.
Nigerian example: A technician fixing a faulty generator.
Illustration:
Broken formula: =SUM(B2:B10
|
V
Ask Copilot: "Fix this formula: =SUM(B2:B10"
|
V
Copilot: =SUM(B2:B10)
|
V
It works!
Step-by-step:
Mini summary: Copilot can fix broken formulas. Just paste the formula and ask for help.
Definition: Explaining a formula means understanding what it does in simple words.
Why it is important: If you understand the formula, you can use it wisely and learn from it.
Simple explanation: Like a teacher explaining a maths rule step by step.
Real-life example: A doctor explaining what a medicine does.
School example: A teacher explaining a science experiment.
Home example: A parent explaining how to cook a dish.
Nigerian example: A trader explaining how to calculate profit.
Illustration:
You ask Copilot: "Explain =IF(B2>=50, "PASS", "FAIL")"
|
V
Copilot: "This formula checks if the value in B2 is 50 or more.
If it is, it shows PASS. If not, it shows FAIL."
|
V
You understand it!
Step-by-step:
Mini summary: Ask Copilot to explain formulas. It breaks them down into simple words.
Definition: Combining formulas means using one formula inside another.
Why it is important: You can do more complex calculations with one formula.
Simple explanation: Like stacking blocks on top of each other to build a tower.
Real-life example: Calculating the average and then checking if it passes.
School example: Adding scores and then deciding pass or fail.
Home example: Adding expenses and then checking if you saved money.
Nigerian example: Adding all sales and then calculating the tax.
Illustration:
Ask Copilot: "Show PASS if the average of B2 to F2 is 50 or above"
|
V
Copilot: =IF(AVERAGE(B2:F2)>=50, "PASS", "FAIL")
|
V
It works!
Step-by-step:
Mini summary: Combining formulas does more in one step. Ask Copilot for the full formula.
Definition: Mistakes happen. Knowing them helps you avoid them.
Why it is important: A small mistake can make the whole formula fail.
Simple explanation: Like forgetting a full stop in a sentence. It changes the meaning.
Real-life example: Forgetting to put the right price tag on an item.
School example: Forgetting a comma in a list.
Home example: Forgetting to add salt while cooking.
Nigerian example: Forgetting to add the last zero when writing a price.
Table of common mistakes:
| Mistake | What Happens | How to Fix |
|---|---|---|
| Missing closing bracket | Formula error | Add ) |
| Wrong cell range | Wrong result | Check the range |
| Missing comma | Formula error | Add comma |
| Wrong condition | Wrong result | Check the condition |
| Using text instead of numbers | Wrong result | Use numbers |
| Forgetting quotes around text | Error | Use "PASS" not PASS |
Mini summary: Common mistakes include missing brackets, wrong ranges, and missing commas. Check your formula or ask Copilot.
Definition: Best practices are good habits that make formulas clean and correct.
Why it is important: Good habits save time and prevent errors.
Simple explanation: Like keeping your desk tidy before starting homework.
Real-life example: A chef preparing ingredients before cooking.
School example: A student reading the question carefully before answering.
Home example: A parent checking the shopping list before going to the market.
Nigerian example: A trader counting goods before opening the stall.
List of best practices:
Mini summary: Good habits make formulas clean and correct. Organise, ask clearly, check, and test.
Let’s build a complete marks sheet using Copilot.
Step 1: Open Excel and create this table:
+--------+-------+---------+---------+-------+---------+--------+ | Name | Maths | English | Science | Total | Average | Result | +--------+-------+---------+---------+-------+---------+--------+ | Ada | 85 | 90 | 88 | | | | | Tunde | 90 | 85 | 92 | | | | | Chidi | 78 | 80 | 75 | | | | | Ngozi | 92 | 95 | 90 | | | | +--------+-------+---------+---------+-------+---------+--------+
Step 2: Ask Copilot: “Add up B2, C2, and D2 for column E.”
Step 3: Copilot gives =SUM(B2:D2). Type it in E2 and drag down.
Step 4: Ask Copilot: “Calculate the average in column F.”
Step 5: Copilot gives =AVERAGE(B2:D2). Type it in F2 and drag down.
Step 6: Ask Copilot: “Show PASS if average is 50 or above, else FAIL.”
Step 7: Copilot gives =IF(F2>=50, "PASS", "FAIL"). Type it in G2 and drag down.
Step 8: Ask Copilot: “Which student has the highest total?”
Step 9: Copilot explains how to use =MAX(E2:E5) and =INDEX.
Step 10: Save your workbook.
Illustration:
+--------+-------+---------+---------+-------+---------+--------+ | Name | Maths | English | Science | Total | Average | Result | +--------+-------+---------+---------+-------+---------+--------+ | Ada | 85 | 90 | 88 | 263 | 87.7 | PASS | | Tunde | 90 | 85 | 92 | 267 | 89.0 | PASS | | Chidi | 78 | 80 | 75 | 233 | 77.7 | PASS | | Ngozi | 92 | 95 | 90 | 277 | 92.3 | PASS | +--------+-------+---------+---------+-------+---------+--------+
Mini summary: This marks sheet uses SUM, AVERAGE, and IF. Copilot wrote every formula. You are now a formula expert!
| Word | Simple Definition |
|---|---|
| Formula | A maths instruction in Excel. |
| SUM | A formula that adds numbers. |
| AVERAGE | A formula that finds the middle value. |
| MIN | A formula that finds the smallest value. |
| MAX | A formula that finds the largest value. |
| IF | A formula that makes decisions. |
| IFERROR | A formula that replaces errors with a friendly message. |
| COUNTIF | A formula that counts cells meeting a condition. |
| SUMIF | A formula that adds cells meeting a condition. |
| VLOOKUP | A formula that looks up values in a table. |
| XLOOKUP | A newer, smarter lookup formula. |
| Range | A group of cells (e.g., B2:B10). |
| Condition | A test that is true or false. |
| Cell reference | The name of a cell (e.g., A1). |
| Nested formula | A formula inside another formula. |
You ask Copilot
|
V
Copilot reads your data
|
V
Copilot gives a formula
|
V
You check the formula
|
V
You paste it into a cell
|
V
Result appears 🎉
Start
|
V
Is score >= 50?
|
+-- Yes --> Show "PASS"
|
+-- No --> Show "FAIL"
|
V
End
Lookup value: "Beans"
|
V
Table:
+--------+--------+
| Item | Price |
+--------+--------+
| Rice | 500 |
| Beans | 300 | <-- found here
| Oil | 700 |
+--------+--------+
|
V
Result: 300
Module One: Getting Ready with Copilot
|
V
Module Two: Writing Formulas with Copilot
|
V
Module Three: Cleaning and Organising Data
|
V
Module Four: Analysing Data with Copilot
|
V
Module Five: Charts and Visuals with Copilot
|
V
Module Six: Automation and Real-World Projects
|
V
Copilot in Excel Expert 🎉
| Formula | What It Does | Example |
|---|---|---|
| SUM | Adds numbers | =SUM(B2:B10) |
| AVERAGE | Finds the middle value | =AVERAGE(B2:B10) |
| COUNT | Counts numbers | =COUNT(B2:B10) |
| Feature | VLOOKUP | XLOOKUP |
|---|---|---|
| Direction | Only right | Left or right |
| Error handling | Needs IFERROR | Built-in |
| Ease | Harder | Easier |
| Modern | Older | Newer |
| Formula | Purpose | Example |
|---|---|---|
| IF | Makes decisions | =IF(B2>=50, "PASS", "FAIL") |
| IFERROR | Replaces errors | =IFERROR(A2/B2, "Not available") |
| Formula | What It Does | Example |
|---|---|---|
| COUNTIF | Counts with a condition | =COUNTIF(B2:B10, ">70") |
| SUMIF | Adds with a condition | =SUMIF(A2:A10, "Rice", B2:B10) |
Lesson 1: Ask Copilot in plain English to write formulas.
Lesson 2: SUM adds numbers.
Lesson 3: AVERAGE, MIN, and MAX help you understand data.
Lesson 4: IF makes decisions in Excel.
Lesson 5: IFERROR replaces errors with friendly messages.
Lesson 6: COUNTIF counts cells that meet a condition.
Lesson 7: SUMIF adds cells that meet a condition.
Lesson 8: VLOOKUP finds information in a table.
Lesson 9: XLOOKUP is the modern, smarter lookup.
Lesson 10: Copilot can fix broken formulas.
Lesson 11: Copilot can explain formulas in simple words.
Lesson 12: Combining formulas does more in one step.
Lesson 13: Common mistakes include missing brackets and wrong ranges.
Lesson 14: Best practices: organise, ask clearly, check, test.
Lesson 15: Build a complete marks sheet with SUM, AVERAGE, and IF.
Congratulations! You have finished Module Two of Copilot in Microsoft Excel – Level Two. You learned how to ask Copilot to write formulas in plain English. You learned SUM, AVERAGE, MIN, and MAX. You learned IF and IFERROR for decisions and error handling. You learned COUNTIF and SUMIF for conditional counting and adding. You learned VLOOKUP and XLOOKUP for finding information. You learned how to fix broken formulas and how to ask Copilot to explain formulas. You built a complete marks sheet using Copilot. You now know common mistakes and best practices. Most importantly, you are now a formula expert with Copilot as your helper. Keep practising, and you will become a Copilot in Excel expert!
Match the formula to what it does.
| Formula | What It Does |
|---|---|
| 1. SUM | A. Makes decisions |
| 2. AVERAGE | B. Adds numbers |
| 3. IF | C. Finds the middle value |
| 4. COUNTIF | D. Looks up values |
| 5. VLOOKUP | E. Counts with a condition |
Answers: 1-B, 2-C, 3-A, 4-E, 5-D
Title: “Build a Class Results Sheet Together”
Instructions: In groups of 3–4, create a class results sheet in Excel. Use Copilot to add totals, find averages, and show PASS/FAIL. One person types, one person asks Copilot, one person checks the answers, and one person presents. Share your sheet with the class.
Goal: Practice SUM, AVERAGE, and IF with Copilot.
Task: Create a small Excel sheet with five items and their prices. Use Copilot to:
Hint: Type items in column A and prices in column B.
Project: “My Weekly Pocket Money Tracker”
Create an Excel sheet to track your pocket money for one week. Use columns for Day, Money In, Money Out, and Balance. Use Copilot to:
Example output:
+--------+----------+-----------+---------+--------+ | Day | Money In | Money Out | Balance | Status | +--------+----------+-----------+---------+--------+ | Monday | 500 | 200 | 300 | SAVED | | Tuesday| 300 | 100 | 200 | SAVED | +--------+----------+-----------+---------+--------+
Assignment: Create a new Excel workbook called My_Marks_Sheet. In the workbook, do the following:
Submit: Your workbook file and screenshots of the Copilot formulas and explanations.
In Module Three, we will learn how to clean and organise data with Copilot. We will cover:
To prepare, make sure you have completed the practical assignment and can write formulas with Copilot. Review your notes on SUM, AVERAGE, and IF. Bring your curiosity!
See you in Module Three!
End of Module Two – Copilot in Microsoft Excel – Level Two