Sorting, filtering, and conditional formatting
Excel · 14 questions
Short notes
Key idea
Sorting and filtering let you look at the rows that matter; conditional formatting makes patterns jump out by colouring cells by rule.
Syntax
- Sort: Data → Sort, with levels (city A–Z, then amount largest first).
- Filter: Ctrl + Shift + L adds drop-downs; filter by value, number rule or colour.
- Format as Table (Ctrl + T) keeps filters and formulas growing with the data.
- Conditional formatting: Home → Conditional Formatting → highlight rules, top 10, data bars, colour scales, or a formula rule like
=$D2>1000.
Example
Highlight whole rows of overdue orders: select A2:F500, add a formula rule =AND($F2="Open", $E2<TODAY()), choose a red fill. The $ fixes the columns, so every cell in a row checks that row's status and date.
Traps
- Sorting one column alone scrambles the rows; always select the whole table.
- Filtered-out rows still count in SUM; use SUBTOTAL or AGGREGATE for visible rows only.
- Too many colour rules hide the message. Pick one or two.
- Merged cells break sorting and filtering.
Want the full lesson with step-by-step examples, a project and a certificate? Excel course, ₹120 →
Questions
5 free questions- Question 1easy
You filter the orders sheet to show only UPI orders. Which formula totals only the visible amounts in G2:G81?
- Question 2medium
You select A2:G81 to highlight whole rows where the status in column D is "cancelled". Which rule formula is right?
- Question 3easy
You select only the Amount column and sort it largest to smallest, choosing "Continue with the current selection". What happens?
- Question 4medium
D2:D6 holds statuses delivered, pending, delivered, cancelled, delivered. How many rows does this return?
=FILTER(A2:G6, D2:D6="delivered")
- Question 5easy
You want the biggest orders at the top of the orders sheet. What's the safe way?
Sorting, filtering, and conditional formatting
Sorting, filtering, and conditional formatting
Sorting, filtering, and conditional formatting
Sorting, filtering, and conditional formatting
Sorting, filtering, and conditional formatting
9 more questions on this topic, with hints, and tests
Sign up free for 21 days of every question and test.