Working with Data Lesson 10 of 13
Excel Sort, Filter, Tables and Conditional Formatting
Organize data in Excel — sort by one or more columns, filter rows, turn ranges into Tables, highlight cells with conditional formatting, remove duplicates and use data validation drop-downs.
Once your data is in a sheet, you'll want to arrange it, find specific rows and make important values stand out. Excel has powerful tools for all three that need no formulas.
Sorting
- Click any cell in the column, then Data → Sort A to Z or Sort Z to A.
- For several levels (by section, then by last name), use Data → Sort and click Add Level.
| A | B | C | |
|---|---|---|---|
| 1 | Name | Section | Grade |
| 2 | Dan | Mabini | 81 |
| 3 | Ben | Mabini | 72 |
| 4 | Carla | Rizal | 95 |
| 5 | Ana | Rizal | 88 |
| 6 | Ela | Rizal | 70 |
Filtering
Click inside the data and choose Data → Filter (Ctrl + Shift + L). Drop-down arrows appear in the header row:
- Tick only "Rizal" to show just that section.
- Number Filters → Less Than → 75 shows students who need remediation.
- Text Filters → Contains lets you search.
Filtering hides rows; it doesn't delete them. SUBTOTAL(9, C2:C100) sums only visible rows, while SUM includes hidden ones.
Excel Tables
Select your data and press Ctrl + T. A Table:
- adds filter buttons and banded rows automatically,
- grows automatically when you add rows below it,
- copies a formula down the whole column when you type it once,
- lets formulas use readable names:
=SUM(Sales[Amount])instead of=SUM(D2:D500).
Conditional formatting
Home → Conditional Formatting colors cells based on their values:
| Rule | Example use |
|---|---|
| Highlight Cells → Less Than 75 | Failing grades in red |
| Highlight Cells → Duplicate Values | Find repeated LRNs |
| Top/Bottom → Top 10 Items (set to 3) | Top 3 students |
| Data Bars | Bars inside cells showing sales sizes |
| Color Scales | Green-to-red heat map of scores |
| Icon Sets | Arrows or traffic lights for stock levels |
Formula-based rules
To color a whole row, use New Rule → "Use a formula to determine which cells to format", with the range A2:C41 selected:
=$C2<75
The $ locks column C, so every cell in a row checks that row's grade, and the entire row turns red for failing students.
Remove duplicates
Data → Remove Duplicates deletes repeated rows based on the columns you choose, like the LRN column. Make a copy first; it really deletes.
Data validation: drop-down lists
Prevent typos by letting users pick from a list. Select the cells, then Data → Data Validation → Allow: List → Source: STEM,ABM,HUMSS,GAS,TVL-ICT.
You can also restrict numbers: Allow: Whole number, between 60 and 100, so nobody types a grade of 950 by accident.
Quick Quiz
Check what you learned. Walang grade ito, practice lang. 🙂
By Sir Reyel · Last updated 2026-12-04