Color by a rule
Imagine you want the worse grades to turn red. You don’t have to color them by hand. You set up a rule, and the spreadsheet colors them for you. This is called conditional formatting.
And when a grade changes, the color changes too.
Worse grades in red
-
On the
Gradessheet, select B2:B6 (just the grades, not the average). -
In the menu, click Format → Conditional formatting.
-
A panel opens on the right. Under Format rules, choose Greater than and type
2. -
Pick a fill color, like a light red. Click Done.
Spanish (3) turned red. When you change it to 1, the red goes away.
In Excel: Home → Conditional Formatting → Highlight Cells Rules → Greater Than.
Don’t put the average in the range. If the average were 2.2, say, it would turn red too.
Minus in pocket money
-
On the
Moneysheet, select D2:D8. -
Format → Conditional formatting → Less than →
0. -
Pick red text. The days when you spent more than you got stand out right away.
A color scale
On the Survey sheet, select B2:B6. Format → Conditional formatting → switch to Color scale at the top. The more votes, the darker the color.
Deleting a rule
Format → Conditional formatting → click the trash can in the list of rules.
Your turn 💪
- Grades worse than 2 are red.
- Minus days in pocket money are red.
- When you change a number, the color changes.
Done when: the spreadsheet colors what you need to see by itself.
What to take away from this lesson
- Conditional formatting = color by a rule.
- Format → Conditional formatting.
- The color changes when the number changes.
- Only data in the range.
© 2026 Ing. Martin Polak / AlgoRhino · Content usage terms