In the previous module, we learned that businesses collect different types of information from customers, employees, sales transactions, websites, and other sources.
However, collecting data is not enough. Before using the information to make business decisions, we must ensure that it is properly organised, checked, and prepared.
Imagine that you own a supermarket and have collected 5,000 sales records. Some records contain incorrect product names, some have missing prices, and others appear more than once.
If you analyse this information without checking it, you may arrive at incorrect conclusions.
This is why businesses perform Data Organisation and Data Preparation.
Data organisation involves arranging information in a structured and understandable format, while data preparation involves checking, cleaning, transforming, and making information ready for analysis.
Data Organisation is the process of arranging collected information in a logical and structured manner so that it can be easily accessed, understood, managed, and analysed.
For example, imagine that a clothing store records customer purchases in a notebook without following any particular order.
Finding the total number of shirts sold may become difficult because the information is scattered across different pages.
If the same information is arranged in a table with columns for product name, quantity, price, and date, it becomes much easier to understand.
Consider the following records:
John bought 2 shirts for โฆ10,000. Mary bought 1 shoe for โฆ15,000. David bought 3 shirts for โฆ15,000. Sarah bought 2 shoes for โฆ30,000.
The information is understandable, but analysing it repeatedly may be difficult.
| Customer | Product | Quantity | Total Amount |
|---|---|---|---|
| John | Shirt | 2 | โฆ10,000 |
| Mary | Shoe | 1 | โฆ15,000 |
| David | Shirt | 3 | โฆ15,000 |
| Sarah | Shoe | 2 | โฆ30,000 |
The table makes it easier to identify products, calculate quantities, compare sales, and prepare business reports.
When working with business data, especially in spreadsheets and databases, you will frequently encounter rows, columns, and records.
Understanding these three concepts is important because they form the foundation of organised data.
A row is a horizontal arrangement of information in a table.
Each row usually represents one complete record or observation.
For example, in a sales spreadsheet, one row may contain all the information about a single customer transaction.
A column is a vertical arrangement of information in a table.
Each column represents a particular category or field of information.
For example, a sales spreadsheet may have columns for customer name, product, quantity, price, and transaction date.
A record is a collection of related information about one person, transaction, product, or event.
For example, all the details about one customer's purchase make up a sales record.
| Customer ID | Customer Name | Product | Amount |
|---|---|---|---|
| C001 | John | Laptop | โฆ450,000 |
| C002 | Mary | Phone | โฆ250,000 |
| C003 | David | Tablet | โฆ180,000 |
Data Preparation is the process of checking, correcting, organising, and transforming collected information before using it for analysis.
Businesses prepare data because information collected from different sources may contain errors, missing values, inconsistent formats, and unnecessary details.
Data Cleaning is the process of identifying and correcting or removing inaccurate, incomplete, duplicate, or inconsistent information in a dataset.
Think of data cleaning like cleaning your room before arranging your books. You first remove unnecessary items, correct what is out of place, and arrange everything properly.
In Business Analytics, cleaning data helps ensure that the information used for analysis is reliable.
A missing value occurs when information that should be recorded in a dataset is unavailable or has not been entered.
For example, a customer registration spreadsheet may contain the following information:
| Customer ID | Name | Age | City |
|---|---|---|---|
| C001 | John | 25 | Ibadan |
| C002 | Mary | Lagos | |
| C003 | David | 30 |
In this example:
These missing values may affect certain types of analysis.
There are different ways to handle missing information.
If possible, contact the original source or check the appropriate records to obtain the correct information.
In some situations, missing numerical values may be replaced with an appropriate statistical value, such as the mean or median. The method must be suitable for the analysis.
For some non-numerical fields, a label such as "Unknown" may be appropriate when the information cannot be obtained.
A record may be removed when it cannot be used reliably and removal is justified. However, deleting records unnecessarily may result in losing useful information.
Important: Never invent missing information. Always use a reasonable and documented method for handling missing values.
A duplicate record occurs when the same information is accidentally entered more than once.
Duplicate records can cause incorrect calculations, especially when counting customers, transactions, and products sold.
| Transaction ID | Customer | Product | Amount |
|---|---|---|---|
| T001 | John | Laptop | โฆ450,000 |
| T002 | Mary | Phone | โฆ250,000 |
| T002 | Mary | Phone | โฆ250,000 |
| T003 | David | Tablet | โฆ180,000 |
Transaction T002 appears twice. If both records represent the same transaction, one is a duplicate and should be investigated before removal.
Always keep a backup of your original data before removing duplicates.
Data entry errors occur when incorrect information is entered into a spreadsheet, database, or business system.
These errors may happen because of typing mistakes, human error, incorrect calculations, or problems during data transfer.
| Incorrect Information | Correct Information | Type of Error |
|---|---|---|
| Ibadann | Ibadan | Spelling mistake |
| 5000000 | 500000 | Extra zero |
| 25/15/2026 | Valid date required | Invalid date |
| Quantity: -5 | Valid quantity required | Impossible value in this context |
For example, if a supermarket records the price of a product as โฆ500,000 instead of โฆ50,000, the analyst should verify the original sales receipt before correcting the figure.
Data Formatting is the process of presenting information in a consistent and appropriate format so that it can be easily understood and analysed.
For example, the same date may be recorded in different ways:
Although these formats may represent the same date, mixing them within one dataset can create problems when sorting, filtering, or analysing information.
Ensure that dates follow a consistent format.
Display financial information using an appropriate currency format.
Example:
Ensure that numbers are correctly represented, especially when working with quantities, percentages, and decimal values.
Maintain consistent spelling, capitalisation, and naming conventions.
Example:
These entries may refer to the same city, but they should be standardised when appropriate.
After organising and cleaning information, businesses may need to transform it into a format suitable for analysis.
Data preparation ensures that the dataset contains the necessary information and follows the required structure.
First, identify what the business wants to understand.
Example: A supermarket wants to identify its best-selling products.
Gather the information required to answer the business question.
Example: Collect product names, quantities sold, transaction dates, and sales amounts.
Examine the dataset to understand its structure and identify possible problems.
Correct errors, investigate missing values, and identify duplicate records.
Make dates, names, currencies, and other fields follow consistent formats.
Create additional useful fields or calculations where necessary.
Example: Calculate total sales by multiplying quantity sold by unit price.
Check that the prepared information is accurate and suitable for the intended analysis.
Save the prepared dataset in a suitable format for tools such as Excel, Power BI, Tableau, or SQL databases.
Data Transformation is the process of changing information from one format or structure into another to make it more useful for analysis.
For example, a business may have separate columns for first name and last name but wants to create a full name column.
| First Name | Last Name | Full Name |
|---|---|---|
| John | James | John James |
| Mary | Johnson | Mary Johnson |
| David | Brown | David Brown |
The full name column is created by combining two existing fields.
Businesses use different tools to organise, clean, and prepare their information.
Excel is a spreadsheet application that helps users organise information, identify duplicates, correct errors, sort records, filter data, and perform calculations.
Useful Excel features include:
Google Sheets is an online spreadsheet application that allows users to organise, edit, clean, and analyse information collaboratively.
Power Query is a data preparation technology available in Microsoft Excel and Power BI. It helps users connect to different data sources, clean information, transform datasets, and prepare data for analysis.
SQL (Structured Query Language) is used to manage and retrieve information stored in relational databases.
Business analysts can use SQL to select records, filter information, combine tables, and organise data for analysis.
Python is a programming language commonly used for data analysis and automation.
Libraries such as Pandas help analysts clean, organise, transform, and manipulate datasets.
In this module, we learned that data must be properly organised and prepared before it can be used for reliable business analysis.
We explored rows, columns, records, data cleaning, missing values, duplicate records, data entry errors, and data formatting.
We also examined how businesses transform data, the steps involved in preparing datasets, and the tools used by business analysts.
Remember: Analysing poor-quality data can produce misleading results. Proper data preparation helps businesses make decisions using more accurate and reliable information.
Scenario: You have been employed as a junior Business Analyst by a retail company. Your manager provides the following customer sales records and asks you to prepare them for analysis.
| Transaction ID | Customer | Product | Quantity | Unit Price | Date |
|---|---|---|---|---|---|
| T001 | John | Rice | 2 | 5000 | 01/12/2026 |
| T002 | Mary | Beans | 3 | 3000 | 02/12/2026 |
| T003 | David | Oil | 1 | 4000 | 03/12/2026 |
| T002 | Mary | Beans | 3 | 3000 | 02/12/2026 |
| T005 | Sarah | Rice | 5000 | 05/12/2026 |
Answer the following questions:
Choose a small business, such as a supermarket, restaurant, fashion store, or computer training centre.
Create a simple dataset containing at least 15 records and include the following columns:
Introduce a few sample data problems, such as duplicate records, missing values, inconsistent spelling, or different date formats.
Your tasks:
You may use Microsoft Excel or Google Sheets to complete this project.
End of Module 4