In the previous modules, we learned how to sort and filter data in Microsoft Excel and how these skills are used in schools, businesses, hospitals, banks, and digital marketing.
However, knowing how to sort and filter data is not enough. You must also understand how to do it correctly to avoid mistakes and protect your information.
Imagine you are managing a supermarket in Lagos. You have a spreadsheet containing 2,000 products. You want to arrange the products according to their prices, from the cheapest to the most expensive.
If you sort only the Price column instead of the entire dataset, the product names may no longer match their correct prices. This can cause serious problems for the business.
In this module, you will learn the best practices for sorting and filtering data safely and accurately.
Every dataset should have clear column headings. Column headings tell you what type of information is stored in each column.
For example, a supermarket sales spreadsheet may contain:
| Product | Category | Price (โฆ) | Quantity |
|---|---|---|---|
| Rice | Food | 5,500 | 20 |
| Milk | Drinks | 2,500 | 15 |
| Bread | Food | 1,500 | 30 |
These headings help Excel identify the information in each column.
Best practice: Use short, meaningful headings such as Product, Price, Date, Quantity, and Category.
One of the most common mistakes beginners make is sorting only one column instead of the entire dataset.
When you sort a dataset, the information in each row must remain together.
Consider this student record:
| Student | Class | Score |
|---|---|---|
| Tunde | JSS 1 | 65 |
| Amaka | JSS 2 | 90 |
| Musa | JSS 3 | 55 |
Suppose you want to arrange the students according to their scores.
You should select the entire dataset or click inside it before using the Sort command. If Excel asks whether to expand the selection, choose Expand the selection.
This ensures that each student's name, class, and score remain together.
Remember: Never sort a single column independently when the other columns contain related information.
Excel works better when information is stored in the correct format.
For example:
Imagine you have the following prices:
| Product | Price |
|---|---|
| Rice | 5000 |
| Beans | 2500 |
| Milk | 1200 |
If some prices are accidentally stored as text, Excel may not sort them as expected.
Best practice: Check that numbers, dates, and text are stored in the correct formats before sorting or filtering.
Blank rows and columns can make it difficult for Excel to recognise the full range of your data.
For example, consider this dataset:
| Product | Price |
|---|---|
| Rice | 5,000 |
| Beans | 3,000 |
| Milk | 2,000 |
The empty row may cause Excel to treat the information above and below it as separate data ranges when you apply sorting or filtering.
Best practice: Remove unnecessary blank rows and columns within your dataset before sorting and filtering.
Sometimes, you may forget that a filter is still active in your spreadsheet.
For example, you may have filtered a supermarket list to show only Food products. Later, you decide to search for Drinks but forget to clear the previous filter.
You may not see the results you expect.
To clear a filter:
You can also open the Data tab and select Clear to remove active filters from the dataset.
Best practice: Always check whether another filter is active before starting a new search.
Before making major changes to important spreadsheets, it is a good idea to keep a backup copy.
For example, if you are managing customer records for a business, you should save an original copy before sorting or making other changes.
To create a copy:
You can name the original file Sales Records Original.xlsx and the working copy Sales Records Updated.xlsx.
Best practice: Keep backups of important information, especially when working with business, financial, or customer records.
Some datasets contain private information about people and businesses.
Examples include:
Sorting and filtering do not automatically protect private information. You must ensure that only authorised people can access sensitive records.
Best practice: Do not share private spreadsheets with people who are not authorised to view them. Use appropriate file permissions and password protection where necessary.
Imagine you work as a data assistant for a supermarket in Ibadan. Your manager gives you the following product records:
| Product | Category | Price (โฆ) | Stock |
|---|---|---|---|
| Rice | Food | 5,500 | 20 |
| Milk | Drinks | 2,500 | 8 |
| Beans | Food | 4,000 | 15 |
| Bread | Food | 1,500 | 5 |
| Juice | Drinks | 2,000 | 30 |
When working with Excel sorting and filtering, avoid these common mistakes:
In this module, you learned the best practices for sorting and filtering data in Microsoft Excel.
You learned how to:
Key Takeaway: Good data management is not just about finding information. It is also about keeping information accurate, organised, safe, and reliable.
Congratulations! You have completed the Data Sorting and Filtering course. Continue practising with different datasets to improve your Excel skills.