Intermediate
60 mins
Teacher/Student led
+80 XP
Pupils work on their own device

Formulas That Decide

Students sort survey numbers into bands using a nested IF and IFS. They flag answers that meet two conditions with AND and OR, tidy empty-group errors with IFERROR, and count each band with COUNTIF.

Teacher Class Feed

Load previous activity

    1 - Introduction ~5 mins

    Welcome

    Illustration for IntroductionA long list of journey minutes is hard to act on. Three clear bands turn that list into something a student council can use.

    By the end of this lesson you will:

    • Band a number column with nested IF and IFS
    • Flag rows with AND, then compare with OR
    • Count bands with COUNTIF and hide empty-group errors with IFERROR
    Warm-up

    Would 24 raw minute values help a reader decide, or would three bands be easier?

    2 - Key Concepts ~5 mins

    ConceptWhy it mattersExample
    Nested IF / IFS: tests in order for three or more labelsOne formula gives every journey a bandUnder 15, 15 to 30, Over 30
    AND / OR: AND needs every test true; OR needs any oneFlags rows that deserve a second lookLong journey AND Would_cycle Yes
    $ lock: $ keeps a range fixed when you fillCOUNTIF still scans the full band list$H$2:$H$25
    COUNTIF: tallies cells that match a labelBand labels become a summaryHow many Under 15
    IFERROR: your message when a formula errorsEmpty groups stay clean on a shared sheetNo matching rows → No answers
    Key point

    Order matters: test the narrow band first. In IFS, put TRUE last for everything else.

    3 - Step-by-step Task: Bands, Flags and Clean Counts ~25 mins

    Build journey-time bands with nested IF and IFS, AND and OR flags, tidy band counts and one clean empty-group message. Copy the sample table below, then follow the steps.

    Sample data (copy the whole table, then paste at A1):

    ResponseClassTransportMinutesCost_per_weekWould_cycleJourney_rating
    1TY1Bus2512Maybe3
    2TY1Walk100No4
    3TY1Car150Yes3
    4TY1Bus4015No2
    5TY1Cycle120Yes5
    6TY1Walk80No5
    7TY1Train4525No2
    8TY1Car200Maybe3
    9TY2Bus3012Yes2
    10TY2Walk150Maybe4
    11TY2Bus3515No2
    12TY2Car100Yes4
    13TY2Cycle180Yes4
    14TY2Bus2010Maybe3
    15TY2Car250No3
    16TY2Walk50No5
    17TY3Bus5015No1
    18TY3Train4020Maybe2
    19TY3Car120Yes4
    20TY3Walk200Maybe3
    21TY3Bus2812Yes3
    22TY3Cycle150Yes5
    23TY3Car300Maybe2
    24TY3Bus2210No3

    4 - Common Issues ~3 mins

    Common Issues

    IssueSolution
    Every row lands in the last bandTest Under 15 first, then 15 to 30, then the rest
    AND stays OK instead of ReviewMatch Would_cycle text exactly, capital Y in Yes
    #DIV/0! on an empty groupWrap AVERAGEIF or a divide in IFERROR with plain text
    IFS shows #N/APut TRUE last; commas between each pair
    Band counts do not add to 24Match H spelling; keep COUNTIF on $H$2:$H$25
    123learn · Online learning platform

    Unlock the full learning experience

    You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of 123Learn.ie 2017 - 2026. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more