Before creating charts and dashboards in Microsoft Excel, you need to prepare your data. Data preparation means organising, checking, and correcting information so that it is ready for analysis and visualization.
Imagine that you own a supermarket in Ibadan. You want to create a chart showing how many bags of rice, beans, and cartons of spaghetti you sold in one month.
However, your sales records contain missing prices, repeated transactions, spelling mistakes, and numbers stored as text. If you create a chart without checking the information, your results may be incorrect.
Good charts begin with good data. Always prepare and check your information before creating visual reports.
Excel organises information using rows, columns, and cells. Understanding these three parts will help you arrange your data correctly.
| Product | Quantity | Price |
|---|---|---|
| Rice | 20 | โฆ80,000 |
| Beans | 15 | โฆ45,000 |
| Spaghetti | 30 | โฆ60,000 |
In this example, Product, Quantity, and Price are column headings. Each product record is entered in a separate row.
For a well-organised dataset, use clear column headings, keep each row as one record, and avoid unnecessary blank rows or columns inside the data.
An Excel Table is a structured way of organising information. It makes your data easier to manage, filter, format, and use when creating charts.
Excel will format your information as a table. You can also use the filter arrows in the headings to sort and filter records.
Give your Excel table a meaningful name, such as SalesData or StudentRecords. You can change the table name from the Table Design tab.
Data cleaning means finding and correcting problems in a dataset. These problems may include spelling mistakes, missing information, incorrect numbers, extra spaces, and duplicate records.
For example, imagine a supermarket records the same product as "Rice", "rice", and "RICE". Excel may treat these as different text entries in some charts and summaries.
Common data cleaning activities include:
| Before Cleaning | After Cleaning |
|---|---|
| rice | Rice |
| RICE | Rice |
| Rice | Rice |
The aim is to make sure that the same product is recorded consistently. This helps Excel group the information correctly.
A duplicate record is information that appears more than once when it should only appear once. Duplicates can affect your calculations and charts.
Imagine a school records the same student twice in a list of registered students. If you count the records without checking, the school may think it has more students than it actually has.
Be careful when removing duplicates. Two students may have the same name but be different people. Use a unique student ID or the correct combination of columns to identify records. Make a copy of your data before removing records if you are unsure.
Sometimes a dataset contains empty cells or incorrect information. These problems should be checked before creating charts.
Consider this example:
| Student | Score |
|---|---|
| Tunde | 85 |
| Amina | [Blank] |
| David | 72 |
Amina's score is missing. You should not automatically enter zero or guess the score. First, check the original examination record or ask the person responsible for the information.
Here are some ways to handle missing information:
Sorting and filtering help you organise and find information in Excel.
Sorting means arranging information in a particular order. You can sort text alphabetically, numbers from smallest to largest, or dates from oldest to newest.
Examples of sorting include:
Filtering means displaying only the records that match the conditions you choose. It does not normally delete the other records; it temporarily hides records that do not match the filter.
For example, a supermarket owner may want to see only products with sales above โฆ50,000.
Sorting changes the order of records. Filtering displays only the records that match your selected conditions.
Formatting helps make information clear and consistent. Excel allows you to display numbers, dates, percentages, and currency values in different ways.
| Format | Example | Purpose |
|---|---|---|
| Number | 1,500 | General numerical values |
| Currency | โฆ25,000.00 | Money values |
| Percentage | 75% | Rates and proportions |
| Date | 26-Nov-2026 | Calendar dates |
| Text | Rice | Names and descriptions |
Always make sure numbers are stored as numbers when you want to calculate or chart them. A number stored as text may not behave as expected in calculations.
It is time to practise what you have learned. Imagine that you work as a data assistant for a supermarket in Ibadan. Your manager gives you the following sales records.
| Date | Product | Quantity | Sales Amount |
|---|---|---|---|
| 01-Nov-2026 | Rice | 10 | โฆ80,000 |
| 02-Nov-2026 | Beans | 8 | โฆ40,000 |
| 03-Nov-2026 | Spaghetti | 15 | โฆ30,000 |
| 04-Nov-2026 | Rice | 5 | โฆ40,000 |
| 05-Nov-2026 | Beans | 12 | โฆ60,000 |
You will use this prepared dataset when learning how to create charts in the next modules.
Answer these 10 questions to test your understanding.
Answer: B
Answer: A
Answer: B
Answer: B
Answer: A
Answer: B
Answer: A
Answer: B
Answer: C
Answer: C
In this module, you learned how to prepare data before creating charts in Excel. You explored rows, columns, and cells, and discovered how to organise information using Excel Tables.
You also learned how to clean data, identify duplicates, handle missing values, sort records, filter information, and format numbers, dates, and text.
Remember: accurate and well-organised data helps you create meaningful charts and reliable reports.
In the next module, you will learn how to create basic charts in Excel. You will practise creating column charts, bar charts, line charts, pie charts, doughnut charts, and area charts. You will also learn how to add chart titles, labels, and legends.
Congratulations! You have completed Module 2.