← Level 2 – Formula kid

11 / 12 ⏱ 19 minutes

A cell that colors itself

When a grade is worse than a 2, the cell turns red by itself.

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

  1. On the Grades sheet, select B2:B6 (just the grades, not the average).

  2. In the menu, click Format → Conditional formatting.

  3. A panel opens on the right. Under Format rules, choose Greater than and type 2.

  4. 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

  1. On the Money sheet, select D2:D8.

  2. Format → Conditional formatting → Less than → 0.

  3. 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.

轮到你了 💪

  1. Grades worse than 2 are red.
  2. Minus days in pocket money are red.
  3. 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