Aral Code

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.
Sorted by Section, then Grade (largest first)
ABC
1NameSectionGrade
2DanMabini81
3BenMabini72
4CarlaRizal95
5AnaRizal88
6ElaRizal70

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:

RuleExample use
Highlight Cells → Less Than 75Failing grades in red
Highlight Cells → Duplicate ValuesFind repeated LRNs
Top/Bottom → Top 10 Items (set to 3)Top 3 students
Data BarsBars inside cells showing sales sizes
Color ScalesGreen-to-red heat map of scores
Icon SetsArrows 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. 🙂

1. What does filtering do to hidden rows?
2. Which shortcut turns a range into a Table?
3. Which rule colors failing grades?
4. Why use =$C2<75 with a $ before C in a row-coloring rule?

By Sir Reyel · Last updated 2026-12-04