Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Adding more rules for more colours worksheet is part of the ACARA Digital Technologies Years 5–6 — Representing Data with Numbers journey. Print it as a booklet?
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Add new rule | ARule 2 uses the number 1 again instead of 2, so the cells holding 2 never turn red. It should be =2. | |
| 2Cell value = 2 → fill green | BRule 1: =0 white | Rule 2: =1 black | Rule 3: =2 red | |
| 3The colour key says 0 is white, 1 is black and 2 is red, so the grid needs three rules, one for each number. | CA rule that colours every cell holding the number 2 green, and no other cells. | |
| 4Adding a rule for the number 3 lets the cells holding 3 show a new colour, such as blue, without changing the other colours. | DThe rule colours cells holding 2 and also 3, 4 and higher, not just the number 2. It should be Cell value = 2. | |
| 5Rule: Cell value > 1 → fill red (key says only 2 is red) | EAdd new rule: Cell value = 3 → fill blue | |
| 6Rule 1: =1 black | Rule 2: =1 red (key says 2 is red) | FMakes one more conditional formatting rule, so one more number can be linked to its own colour. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Add new rule — Each extra conditional formatting rule links one more number to one more colour, so one grid of numbers can show many colours.Colour key: 0 = white, 1 = black, 2 = red
Rule 3: If cell equals 2, fill redKey: 1 = blue, 2 = green, 3 = yellow
Rule 2: If cell equals 2, fill greenKey: 1 = blue, 2 = green, 3 = yellow
Rule 1 fills blue, Rule 2 fills green
Rule 3 fills yellowKey: 4 = orange
Broken: If cell equals 5, fill orange
Fixed: If cell equals 4, fill orangeGrid numbers: 0, 1, 2, 3
One rule for each number
So we need 4 rules