Conditional formatting
Make Excel colour the cells that matter: duplicates, the top 3, overdue dates.
Select the cells, then add a rule. The colours update by themselves when the numbers change.
This lesson is about keyboard shortcuts, so it needs a computer with a keyboard.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Invoice | Customer | Amount | Due | Report date | |||
| 2 | INV-1065 | Oscar Patel | £2,230.00 | 3 Apr 2026 | 16 Mar 2026 | |||
| 3 | INV-1054 | Lena Fischer | £290.00 | 9 Mar 2026 | ||||
| 4 | INV-1063 | Grace Evans | £710.00 | 24 Feb 2026 | ||||
| 5 | INV-1070 | Jamal Novak | £360.00 | 2 Mar 2026 | ||||
| 6 | INV-1054 | Isla Kowalski | £1,280.00 | 7 Mar 2026 | ||||
| 7 | INV-1089 | Kofi Patel | £2,600.00 | 9 Apr 2026 | ||||
| 8 | INV-1080 | Tariq Dubois | £210.00 | 8 Apr 2026 | ||||
| 9 | INV-1081 | Daniel Okafor | £1,420.00 | 1 Mar 2026 | ||||
| 10 | INV-1095 | Zoe Jensen | £440.00 | 6 Apr 2026 | ||||
| 11 | ||||||||
| 12 |
In a bit more detail
What is conditional formatting?
A rule that colours cells when they meet a condition: over a limit, a duplicate, in the top 3. Change the numbers and the colours follow.
Where is it in Excel?
Home → Conditional Formatting. Select the cells first: the rule applies to the selection. Highlight Cells Rules has Greater Than, Less Than, Between, Equal To, Text that Contains and Duplicate Values; Top/Bottom Rules has the top and bottom items and Above Average.
Can a rule compare with another cell?
Yes: type a reference instead of a number, like
=$F$2. The rule then follows that cell, so changing the report date re-colours the overdue invoices. In real life,=TODAY()keeps "overdue" up to date by itself.How do I colour a whole row?
Select the whole table and use a formula rule, written for the top-left cell:
=$C2>1000. The $ before C makes every cell in the row look at column C; the 2 has no $, so each row checks its own amount.How do I change or remove a rule?
Conditional Formatting → Manage Rules lists every rule on the sheet. Where two rules colour the same cell, the one at the top of the list wins.
Know someone fighting with a spreadsheet? Send them this page.