Module 4 Β· Sorting & Filtering
MODULE 4
Sorting & Filtering
Find what you need β fast π
π What youβll learn in this module: When your spreadsheet gets big,
finding information can feel like searching for a needle in a haystack.
Sorting rearranges your data in order. Filtering hides
everything you donβt need so only the important stuff shows. Together, they turn a messy
list into a powerful search tool.
πΉ 1. What is sorting?
- β Sorting puts your data in order β alphabetically, numerically, or by date.
- β A β Z (ascending): smallest to largest, A to Z, oldest to newest.
- β Z β A (descending): largest to smallest, Z to A, newest to oldest.
- β Real-life example: Sorting your test scores from highest to lowest to see who topped the class.
π Before sorting (by Score, highest first):
| Name |
Score |
| Amara |
78 |
| Ben |
95 |
| Chidi |
62 |
| Dana |
88 |
π After sorting (Score, Z β A):
| Name |
Score |
| Ben |
95 |
| Dana |
88 |
| Amara |
78 |
| Chidi |
62 |
πΉ 2. How to sort (step by step)
- β Step 1: Click any cell inside your data. Donβt select just one column β the spreadsheet needs to know the whole table.
- β Step 2: Go to the Data tab β click Sort A β Z or Sort Z β A.
- β Step 3: The spreadsheet sorts the whole row together β so names stay with their scores. Magic!
- β Shortcut: In Excel, right-click a cell β Sort β choose your order.
π‘
Pro tip: Always make sure your data has headings in the top row (like βNameβ and βScoreβ).
Then when you sort, the spreadsheet knows to keep the headings at the top β not sort them into the middle of your data!
πΉ 3. What is filtering?
- β Filtering hides rows you donβt want to see β without deleting them. The data is still there, just hidden.
- β Example: In a class list, filter to show only students who scored above 80.
- β Why itβs great: You can turn filters on and off instantly. Nothing gets deleted. Ever.
πΉ 4. How to use AutoFilter (step by step)
- β Step 1: Click any cell inside your data.
- β Step 2: Go to Data tab β click Filter (or AutoFilter).
- β Step 3: Little dropdown arrows appear in each heading cell. Click one.
- β Step 4: Uncheck βSelect Allβ, then tick only the values you want to see. Click OK.
- β Step 5: To remove the filter, click the dropdown β Clear Filter. Or turn off Filter entirely from the Data tab.
π Filtered view: only scores above 80
| Name |
Score |
| Ben |
95 |
| Dana |
88 |
π Amara and Chidi are hidden β but still in the data!
πΉ 5. Filter by number (greater than, less than)
- β Click the dropdown arrow on a number column.
- β Choose Number Filters β Greater Than (or Less Than, Between, etc.).
- β Type your number (e.g., 80) and click OK. Only matching rows show.
- β Real-life use: Filter your game stats to show only matches where you scored more than 10 points.
πΉ 6. Sorting vs filtering β whatβs the difference?
- β Sorting changes the order of your data. Nothing is hidden.
- β Filtering changes what you see. The order stays the same, but some rows are temporarily hidden.
- β Use both together: Filter to show only βSportsβ club members, then sort them alphabetically by name.
π― Quick practice (10β12 minutes)
- β Open a new spreadsheet and save it as βSortFilterPractice_YourNameβ.
- β In row 1, type these headings: Name, Subject, Score.
- β Fill in 6 rows of made-up data β mix up the subjects (Math, English, Science) and scores (50β100).
- β Click any data cell β Data tab β Sort Z β A on the Score column. Highest score at the top!
- β Now turn on Filter (Data tab β Filter).
- β Click the dropdown on Subject β untick βSelect Allβ β tick only Math β OK.
- β Only Math rows should show now. Clear the filter.
- β Use a Number Filter on Score: show only scores greater than 75.
- β Clear all filters and save. Youβre now a sorting and filtering pro!