Sorting & Filtering Data in Excel
Sorting and filtering help you arrange, search and analyze large data quickly. In this chapter, you will learn how to sort names, numbers, dates and use filters to display only required records.
Sort A to Z
Arrange names or text alphabetically.
Number Sort
Arrange values from smallest to largest or highest to lowest.
Filter
Display only selected records from a large list.
Date Filter
Find records based on dates and time periods.
After This Chapter, You Will Be Able To
This chapter helps you manage large Excel lists professionally.
Sort Text
Arrange names, cities and courses alphabetically.
Sort Numbers
Arrange fees, marks, salary or quantity values.
Apply Filter
Show only records matching a selected condition.
Analyze Records
Find paid, pending, top marks or due records quickly.
What are Sorting and Filtering?
Sorting arranges data. Filtering displays only selected data.
1 Easy Explanation
Sorting means arranging data in a specific order, such as A to Z, Z to A, smallest to largest, largest to smallest or oldest to newest. Filtering means showing only records that match selected conditions.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Name ▼ | Course ▼ | Total Fee ▼ | Paid ▼ | Status ▼ |
| 2 | Amit | MS Office | 5000 | 3000 | Due |
| 3 | Rahul | Excel | 4000 | 2000 | Due |
Types of Sorting in Excel
Sorting helps arrange records in a meaningful order.
| Sort Type | Meaning | Example Use |
|---|---|---|
| A to Z | Arranges text alphabetically | Student names from Amit to Zoya |
| Z to A | Arranges text in reverse alphabetical order | Names from Zoya to Amit |
| Smallest to Largest | Arranges numbers in increasing order | Fees from low to high |
| Largest to Smallest | Arranges numbers in decreasing order | Marks from high to low |
| Oldest to Newest | Arranges dates from earlier to later | Admission date order |
| Newest to Oldest | Arranges dates from latest to earlier | Latest payment records first |
Using Filters in Excel
Filters show only the records you want to view.
Text Filter
Filter names, cities, courses, status or categories.
Number Filter
Filter marks, fees, salary or quantity based on value.
Date Filter
Filter admissions, payments or due dates by period.
Color Filter
Filter cells based on fill color or font color.
Sorting by More Than One Column
Custom Sort is used when you want to sort data using multiple conditions.
2 What is Custom Sort?
Custom Sort allows you to sort data by more than one column. For example, first sort by Course name and then sort by Student Name inside each course.
3 Custom Sort Examples
- Sort by Course, then by Name.
- Sort by Status, then by Balance Fee.
- Sort by City, then by Admission Date.
- Sort by Department, then by Salary.
- Sort by Class, then by Marks.
Where Sorting and Filtering Are Used
Sorting and filtering are daily-use tools in Excel work.
| Work Area | Sorting Use | Filtering Use |
|---|---|---|
| Student Fee Record | Sort by balance high to low | Show only due students |
| Attendance Sheet | Sort by attendance percentage | Show students below 75% |
| Sales Report | Sort highest sales first | Show selected region or product |
| Stock Register | Sort by quantity low to high | Show low stock items |
| Employee List | Sort names alphabetically | Show department-wise employees |
Example: Finding Due Fee Students
Filtering helps find required records from a large sheet.
Without Filter
Priya - Paid
Rahul - Due
Sneha - Paid
Karan - Due
Problem: You must manually search due students from the complete list.
With Filter Applied
| Name | Course | Balance | Status |
|---|---|---|---|
| Amit | MS Office | 2000 | Due |
| Rahul | Excel | 1500 | Due |
| Karan | PowerPoint | 1000 | Due |
Try Sorting and Filtering
Click buttons to sort or filter the sample data.
| Name | Course | Balance | Status |
|---|
Create a Sortable and Filterable Fee Record
Complete these steps inside MS Excel.
Office Task: Student Fee Sorting and Filtering
Mistakes Students Should Avoid
Sorting and filtering need clean data and careful selection.
Wrong Habits
- Sorting only one column instead of full table.
- Leaving blank rows inside the data table.
- Using unclear column headings.
- Forgetting that filters hide data temporarily.
- Printing filtered data without checking.
- Not clearing filters after use.
Correct Habits
- Select the full table before sorting.
- Keep data continuous without blank rows.
- Use clear headings for every column.
- Remember filters do not delete records.
- Check visible records before printing.
- Clear filters when complete data is needed.
Quick Quiz
Select the correct answers and check your score.
1. Sorting means:
2. Filtering means:
3. A to Z sorting is useful for:
4. Largest to Smallest sorting is useful for:
5. Before sorting, you should usually select:
6. Filtered data is:
7. Custom Sort is used to:
8. Which filter can show only “Due” fee students?
9. Which is a common sorting mistake?
10. Best filtering habit is:
Remember These Points
Revise these before moving to Chapter 19.
Sorting
Arranges data in a specific order such as A to Z or high to low.
Filtering
Shows only records that match selected conditions.
Text Sort
Used to arrange names, courses, cities and categories.
Number Sort
Used to arrange marks, fees, salary, stock or sales values.
Custom Sort
Used to sort by multiple columns or levels.
Next Step
Now learn Excel charts and data visualization.