Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Turning an age into an age band with IF worksheet is part of the ACARA Digital Technologies Years 7–8 — Digital Footprints and Data Minimisation 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 | |
|---|---|---|
| 1=IF(B2<13,"Under 13",IF(B2<16,"13-15","16+")) | APaste special > Values only, then delete column B | |
| 2IF(B2<16,"13-15","16+") | BChecks the age in B2 and shows an age band (Under 13, 13-15 or 16+) instead of the exact age | |
| 3Copy the age band formula down the column so every student gets a band, with B2 changing to B3, B4 and so on | CDrag the fill handle from C2 down to C9 | |
| 4Paste the age bands as values only, then delete the exact age column, so the exact ages are really gone | DThe formulas in column C still need the exact ages in column B, so deleting B breaks them with #REF! errors. Paste the bands as values first. | |
| 5=IF(B2<13,"Under 13",IF(B2<16,"13-15")) | EThe inner IF has no value for ages 16 and over, so the formula gives FALSE for those students. It needs a third part such as "16+". | |
| 6Delete column B while column C still holds the age band formulas | FThe inner IF, which only runs when the age is not under 13 and decides between 13-15 and 16+ |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=IF(B2<13,"Under 13",IF(B2<16,"13-15","16+")) — A nested IF formula that replaces an exact age with an age band, so the sheet shows a group like 13-15 instead of the exact number. This keeps less personal data.=IF(B2<13,"0-12",IF(B2<16,"13-15","16+"))=IF(B2<13,"0-12",IF(B2<16,"13-15","16+"))=IF(B2<13,"0-12",IF(B2<16,"13-15","16+"))=IF(B3<13,"0-12",IF(B3<16,"13-15","16+"))Copy C, Paste special: Values only
Delete column B, the exact age