Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Data Cleaning in Excel ยท Lesson 4 of 9

Module Three

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
4

Module 3: Handling Missing and Incorrect Data in Excel

Module Overview

Welcome to Module 3! Imagine you are helping your teacher organise the names, ages, phone numbers, and examination scores of students in your school.

Suddenly, you discover that some students have no ages recorded, some phone numbers are incomplete, and some examination scores are incorrect.

What would you do? You need to find these problems and correct them. This is what you will learn in this module!

You will learn how to find empty cells, identify incorrect information, fill missing values correctly, and use Excel's Find and Replace tool.

Lesson 1: Understanding Missing Values

A missing value happens when information that should be in a spreadsheet has not been entered.

For example, look at this student records table:

Student Name Age Class Score
David 13 JSS 2 85
Mary JSS 1 90
Peter 14 78
Grace 12 JSS 1

Can you identify the missing information?

  • Mary's age is missing.
  • Peter's class is missing.
  • Grace's examination score is missing.

These empty spaces are called blank cells or missing values.

Why Do Missing Values Matter?

Missing information can cause problems when people try to understand or analyse data.

For example:

  • A teacher may not know the age of a student.
  • A business may not have a customer's phone number.
  • A shop may not know the price of a product.
  • A school may be unable to calculate a student's average score correctly.

That is why we must check our spreadsheets for missing information.

Lesson 2: Identifying Blank Cells in Excel

Excel provides different ways to find empty cells. One useful method is called Go To Special.

Practical Exercise

Follow these steps:

  1. Open Microsoft Excel.
  2. Create a new workbook.
  3. Enter some student information into columns A, B, and C.
  4. Leave a few cells empty.
  5. Select the area containing your information.
  6. Press Ctrl + G on your keyboard.
  7. Click Special.
  8. Select Blanks.
  9. Click OK.

Excel will select the empty cells in the area you highlighted.

Great! You have just learned how to find missing information without checking every cell one by one.

Another Way to Find Blank Cells

You can also use the Filter feature:

  1. Select your table, including its headings.
  2. Click the Data tab.
  3. Click Filter.
  4. Click the small arrow beside the column you want to check.
  5. Look for the option labelled (Blanks).
  6. Select it to display records with empty cells in that column.

Lesson 3: Filling Empty Cells with Appropriate Values

After finding missing information, the next step is deciding what to do about it.

Sometimes, you can fill an empty cell. However, you must not guess important information.

Example 1: Recovering Missing Information

Imagine Mary's age is missing from the school database. You check her registration form and discover that she is 13 years old.

You can now enter 13 into the empty age cell because you have confirmed the correct information.

Example 2: Using a Suitable Label

Sometimes, information is genuinely unavailable. Depending on the purpose of the dataset, you may use a label such as:

  • Unknown
  • Not Provided
  • Not Available

For example, if a customer has not provided a phone number, you could enter "Not Provided" instead of inventing a number.

Important Rule

Never invent information just to make a spreadsheet look complete. Always confirm missing information from a reliable source.

Lesson 4: Correcting Incorrect Data Entries

Sometimes information is available, but it has been entered incorrectly. These mistakes are called data entry errors.

Look at these examples:

Incorrect Entry Correct Entry
Nigerai Nigeria
Lagso Lagos
Ibadan Ibadan
15 years (where the verified age is 13) 13 years

You can correct these mistakes by selecting the cell and entering the correct information.

Steps to Correct an Incorrect Entry

  1. Open your Excel worksheet.
  2. Find the cell containing the incorrect information.
  3. Click the cell.
  4. Type the correct information.
  5. Press Enter on your keyboard.
  6. Check that the correction is accurate.

Remember that unusual information is not always incorrect. Confirm the correct value before changing it.

Lesson 5: Using Find and Replace to Fix Data Errors

Imagine you have a spreadsheet containing 500 customer records. You discover that the word "Nigerai" was entered instead of "Nigeria" in 50 different places.

Would you correct all 50 cells one after another? That would take a long time!

Fortunately, Excel has a feature called Find and Replace.

What Is Find and Replace?

Find and Replace helps you search for specific information in a spreadsheet and replace it with something else.

Practical Exercise: Correcting a Country Name

Follow these steps:

  1. Open your Excel worksheet.
  2. Press Ctrl + H on your keyboard.
  3. A Find and Replace window will appear.
  4. In the Find what box, type Nigerai.
  5. In the Replace with box, type Nigeria.
  6. Click Replace All.
  7. Excel will replace matching entries.
  8. Check your worksheet to confirm the corrections.

Congratulations! You have corrected multiple spelling mistakes without editing every cell manually.

Other Examples of Find and Replace

  • Replace "Lagos Statee" with "Lagos State".
  • Replace "Abujaa" with "Abuja".
  • Replace an incorrect product name with its correct name.
  • Replace an outdated department name with the approved name.

Warning: Be careful when using Replace All. Always check what you are replacing because the same word may appear in places where it should not be changed.

Practical Project: Clean a School Registration Dataset

Your school has asked you to help organise its student registration records. Unfortunately, some information is missing or incorrect.

Study the dataset below:

Student Name Age State Phone Number
David James 13 Oyo 08012345678
Mary Bello Lagos 08023456789
Peter Brown 14 Oyo
Grace John 12 Nigerai 08045678901
Samuel Ade 15 Osun 08056789012

Your Tasks

  1. Enter the dataset into Microsoft Excel.
  2. Identify all empty cells.
  3. Find out Mary's correct age from a verified registration record.
  4. Check whether Peter's phone number is available from a reliable source.
  5. Use Find and Replace to correct "Nigerai" to "Nigeria".
  6. Check all your corrections.
  7. Save your workbook as Cleaned_Student_Records.xlsx.

Module 3 Summary

In this module, you have learned:

  • What missing values mean.
  • How to identify blank cells in Excel.
  • How to use Go To Special to find empty cells.
  • How to handle missing information correctly.
  • How to correct incorrect data entries.
  • How to use Find and Replace.
  • Why you should never guess missing information.

Module 3 Assessment

Answer the following questions to test your understanding.

  1. What is a missing value in a spreadsheet?
  2. Give two examples of missing information in a school database.
  3. Which Excel feature can help you select empty cells?
  4. What keyboard shortcut opens the Find and Replace window?
  5. Why should you not guess missing customer information?
  6. What is a data entry error?
  7. How can you correct the spelling of a word that appears many times in a spreadsheet?
  8. Why should you check your data after making corrections?

Congratulations!

You have successfully completed Module 3! You now know how to find missing information, correct mistakes, and use Excel tools to improve the quality of your data.

In Module 4, you will learn how to clean text data using Excel functions such as TRIM, CLEAN, UPPER, LOWER, PROPER, LEFT, RIGHT, and MID. These tools will help you become better at organising information.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’