Lesson 2.3 – Filtering Data in Excel
Lesson Overview
Filtering in Excel means showing only the rows that meet specific criteria and temporarily hiding the rest. It helps focus on the data you need without deleting anything.
1. Types of Filters in Excel
| Filter Type | Description | Example |
|---|---|---|
| AutoFilter (Basic) | Quickly filter text, numbers, or dates | Show only rows where “City = Delhi” |
| Number Filters | Filter by number conditions | Sales greater than ₹10,000 |
| Text Filters | Filter by text conditions | Names starting with “A” |
| Date Filters | Filter by specific dates, months, or years | Show only records from Jan 2024 |
| Custom Filters | Combine multiple filter conditions | City = Delhi AND Sales > ₹10,000 |
| Filter by Color | Filter cells with specific cell or font color | Show only yellow-highlighted rows |
| Advanced Filter | Apply complex filter criteria from another range | Extract all unique customer names |
2. How to Apply Basic Filter (AutoFilter)
-
Select your dataset (including headers).
-
Go to Data → Filter (or press Ctrl + Shift + L).
-
Small dropdown arrows will appear on each column header.
-
Click a dropdown arrow → Choose the values you want to show → Click OK.
3. Number Filters
(Available when the column contains numbers)
-
Click the dropdown arrow on a number column.
-
Hover over Number Filters.
-
Choose options like:
-
Greater Than…
-
Less Than…
-
Between…
-
Top 10…
-
4. Text Filters
(Available when the column contains text)
-
Click the dropdown arrow on a text column.
-
Hover over Text Filters.
-
Choose options like:
-
Begins With…
-
Ends With…
-
Contains…
-
Does Not Contain…
-
5. Date Filters
(Available when the column contains dates)
-
Click the dropdown arrow on a date column.
-
Hover over Date Filters.
-
Choose options like:
-
This Month
-
Last Year
-
Between…
-
Before… / After…
-
6. Filter by Color
-
Click the dropdown arrow.
-
Hover over Filter by Color.
-
Select the cell or font color you want to see.
7. Advanced Filter (For Complex Conditions)
-
Create a criteria range above or beside your data.
-
Go to Data → Advanced in the Sort & Filter group.
-
Select your List Range and Criteria Range.
-
Choose Filter the list in place or Copy to another location.
8. Tips for Effective Filtering
-
Always clear filters after use (Data → Clear).
-
Avoid blank rows in the dataset.
-
Use Advanced Filter for unique values (check “Unique records only”).
-
Combine filters on multiple columns for precision.
9. Real-Life Examples
-
Showing only sales above ₹50,000.
-
Filtering employees hired in the last 6 months.
-
Filtering product list by category and stock availability.
Practice Questions
-
Which keyboard shortcut turns filters on/off in Excel?
-
How is Advanced Filter different from AutoFilter?
-
Can you filter by cell color and font color in Excel?
-
What filter option would you use to show names starting with “A”?
-
How can you filter data to only show the top 5 highest sales?
