Welcome to Module 1! In this module, you will learn what data cleaning means, why it is important, and how to identify problems in a dataset. You will also become familiar with the Microsoft Excel worksheet environment and understand how Excel helps us organise information.
Imagine your school has a list of 500 students. The list contains their names, ages, phone numbers, and examination scores.
However, you discover that some students appear twice, some names are misspelled, some phone numbers are missing, and some examination scores are entered incorrectly.
Would you trust this information? Probably not!
This is where Data Cleaning becomes important.
Data cleaning is the process of finding and correcting mistakes, removing unnecessary information, filling missing values where appropriate, and organising data to make it accurate and useful.
Look at this example of an unclean student dataset:
| Student Name | Age | Score |
|---|---|---|
| John Ade | 14 | 85 |
| Mary James | 13 | 90 |
| John Ade | 14 | 85 |
| Peter Sam | 78 | |
| Grace Bello | 15 | 150 |
Can you identify the problems?
These are examples of data quality problems that data cleaning helps us identify and correct.
Data cleaning is important because incorrect information can lead to wrong decisions.
For example:
When data is clean, it becomes easier to analyse, understand, share, and use for making decisions.
Before cleaning data in Excel, you must understand the problems you are looking for.
Duplicate data occurs when the same information appears more than once. For example, a student may accidentally be registered twice.
Missing values occur when important information is not entered into a spreadsheet. For example, a customer's phone number may be empty.
These happen when words are entered incorrectly. For example, "Nigerai" instead of "Nigeria".
This happens when someone enters an incorrect numerical value. For example, recording a student's examination score as 150 when the maximum score is 100.
This happens when the same type of information is written in different formats.
For example:
These dates may represent the same day, but their formats are different. Data cleaning helps make them consistent.
One of the first steps in data cleaning is checking a spreadsheet carefully before making changes.
Follow these steps:
Remember: Always inspect your data before making changes. Do not delete information simply because it looks unusual. First, confirm whether it is actually incorrect.
Microsoft Excel is a spreadsheet application used to enter, organise, calculate, and analyse information. It also provides useful tools for cleaning datasets.
Here are some important Excel features:
If you enter a student's name into cell A1, the student's name is stored in that particular cell.
If you enter the student's age into cell B1, Excel stores the age in the next cell.
You can use these rows and columns to organise thousands of student records.
Now it is your turn! Study the following customer records and identify the data quality problems.
| Customer Name | Country | Age | Phone Number |
|---|---|---|---|
| David James | Nigeria | 25 | 08012345678 |
| Mary John | Nigerai | 30 | 08023456789 |
| David James | Nigeria | 25 | 08012345678 |
| Peter Brown | Ghana | 08034567890 |
Your tasks:
In this module, you have learned:
Test your understanding of this module.
You have completed Module 1 of Data Cleaning in Excel. You are now ready to learn how to identify and remove duplicate records in Microsoft Excel in Module 2.