You receive a sales file with hundreds of rows. Your manager asks: “Show me only West region pending orders, and also tell me the highest sales order.” Without Sort and Filter, this takes time. With Sort and Filter, it takes seconds.
Sort vs Filter
Sorting changes the order of rows. For example, highest sales to lowest sales, oldest date to newest date, or customer name A to Z.
Filtering hides rows that do not match your condition. For example, show only West region or only Pending orders.
Filtered sales data example
| Region ▼ | Product ▼ | Sales ▼ | Status ▼ |
|---|---|---|---|
| West | Laptop Stand | ₹2,250 | Closed |
| North | Wireless Mouse | ₹5,200 | Pending |
| West | USB Hub | ₹3,000 | Pending |
How to sort data
- Click anywhere inside the data table.
- Open the filter dropdown or go to Data tab.
- Choose Sort A to Z, Z to A, Smallest to Largest, or Largest to Smallest.
- Check whether all columns moved together correctly.
How to filter data
- Click the filter dropdown in the header.
- Uncheck Select All.
- Select the value you want to see.
- Click OK.
- Clear the filter when you want all records back.
Sort and filter a sales dataset
Download one ZIP file containing the practice workbook, challenge workbook, solution workbook, cheat sheet, quiz and answer key.
Mini assignment
- Sort sales from highest to lowest.
- Filter only West region.
- Filter only Pending orders.
- Apply two filters together: Region = West and Status = Pending.
- Clear all filters and confirm all rows are visible again.
Quick quiz
- What does sorting do?
- What does filtering do?
- Why is sorting only one column risky?
- How do you bring filtered records back?
Answers: Changes row order; hides non-matching rows; can misalign data; clear the filter.