Turning an age into an age band with IF
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.
Understanding Turning an age into an age band with IF in ACARA Digital Technologies Years 7–8
What it does: Copying the formula down adjusts the cell reference for each row, so every exact age is turned into a band. The formulas still depend on the exact ages. Pasting values keeps just the bands, so deleting column B removes the exact ages without breaking the bands. Data minimisation means keeping only what you need. A band like 13-15 is less precise, so it is less personal. This is a nested IF. When the first test is false, the second IF inside it runs and checks if the age is under 16. A nested IF puts one IF inside another, so it can sort an age into three bands and hide the exact number.
Common mistakes: A nested IF needs one closing bracket for each IF. The formula has two IFs, so the last line must end with two brackets: "16+")). The formula is in C2, and D2 is empty, so copying D2 copies nothing. It should say: Copy C2 down to C30.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 752–770) and word search (Modules 696–770).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
=IF(B2<13,"Under 13",IF(B2<16,"13-15","16+"))Fill in the Blanks
Spot the Error
Student with a class code? Join your class →