Sorting & Filtering Data
Sort data by one or multiple columns and filter datasets to find exactly what you need instantly.
✅ What You Will Learn
Sorting and filtering are the most basic but most frequently used data operations in Excel. Every analyst applies them dozens of times a day — sorting a sales report by revenue descending to see top performers, filtering to a specific region or date range, or showing only the rows where a condition is met.
AutoFilter (Ctrl+Shift+L) adds dropdown arrows to every column header. Clicking a dropdown lets you filter by specific values, by condition (greater than, between, contains), or by colour. Multiple column filters apply simultaneously — the data shows only rows that match ALL active filters.
For more complex filtering — extracting filtered results to a separate location, or applying complex criteria not available in AutoFilter — use Advanced Filter (Data → Advanced).
Examples
📌 Key Points to Remember
- ✓Ctrl+Shift+L toggles AutoFilter on/off. Data → Clear removes active filters without turning AutoFilter off.
- ✓Filter by colour: click a column dropdown → Filter by Color (works when Conditional Formatting or manual cell colours are applied)
- ✓Status bar shows count of visible rows when filtered — right-click status bar to add Sum, Average of visible values
- ✓Advanced Filter can extract filtered results to a different sheet location — useful for creating automated extract reports
- ✓Sorting is permanent until you sort again — if order matters, add a row number column before sorting so you can return to original order
🏢 Real-World Application
Customer service teams filter support ticket datasets to show only high-priority, unresolved tickets assigned to their team. Sales managers sort the CRM by deal value descending to focus calls on the largest opportunities first. Finance teams filter the GL to a specific cost centre and date range for monthly variance review. Sorting and filtering are used in every analytical workflow, every day.
⚠️ Common Mistakes to Avoid
❓ Frequently Asked Questions
How do I filter by a partial text match (contains)?
Click the column dropdown → Text Filters → Contains → type the search text. For example, "Contains: Laptop" shows all rows where the column contains the word "Laptop" anywhere.
Can I filter data based on values in another column?
AutoFilter filters each column independently. For cross-column conditions (show rows where A > B), use FILTER() function or Advanced Filter with a criteria range that contains the cross-column formula.
How do I copy only the visible (filtered) rows?
After filtering, select the visible range and press Alt+; (select visible cells only). Then Ctrl+C to copy. Pasting will include only the visible rows, not the hidden ones.
✏️ Practice Exercise
Using a 100-row order dataset, perform: (1) Multi-level sort by Region (A→Z) then by Amount (high→low), (2) Filter to show only Delivered orders above ₹15,000 in the North or South region, (3) Copy only the visible rows to a new sheet, (4) Clear all filters, (5) Use Advanced Filter to extract all Cancelled orders to a separate location starting at cell H1. Count how many cancelled orders exist using the status bar.
Learn Excel with Live Trainer Guidance
These tutorials give you the foundations. Our live Excel course at EVIKA Academy, Noida teaches you to build real dashboards on actual business data — with a trainer who uses Excel professionally every day.