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

More Formulas: MIN, MAX, COUNT

In this lesson you will add MIN, MAX, COUNT and COUNTA formulas to your spreadsheet budget. These will help you identify the cheapest and most expensive items and count how many items are listed.

Teacher Class Feed

Load previous activity

    1 - Introduction ~5 mins

    Today you will

    • find the cheapest and dearest costs with MIN and MAX
    • count your items with COUNT and COUNTA
    • add these answers to your {{code:05_project_budget}}

    Warm-up

    Illustration for IntroductionThink about your Something Real budget. Which single cost do you think is the highest? Your spreadsheet will check your guess later today.

    2 - Key Concepts ~6 mins

    Four new formulas

    • MIN finds the smallest number in a range, like your cheapest cost.
    • MAX finds the largest number in a range, like your dearest cost.
    • COUNT counts only the cells that have numbers in them. It skips blanks and words.
    • COUNTA counts every cell that is not empty, so it counts words like item names too.
    Example

    You have 8 items, but one cost is blank. {{code:=COUNTA(A2:A9)}} gives 8 and {{code:=COUNT(C2:C9)}} gives 7.

    3 - Step-by-step Task ~20 mins

    You will make a practice cost list for a craft stall, then add four summary formulas. Copy this table into a new sheet. Leave the Business cards cost blank on purpose.

    ItemCategoryCost (€)
    Sticker packsMaterials12.50
    Card stockMaterials8.00
    Ink setMaterials34.99
    Stall feeVenue25.00
    Social adsPromo15.00
    MailersMaterials6.50
    Design toolTools11.99
    Business cardsPromo(leave blank)

    Near the end you will type these five self-test labels.

    • Smallest in C2:C20
    • Largest in C2:C20
    • Numeric costs in C2:C20
    • Item names in A2:A20
    • COUNT on names returns 0 because

    Now follow the steps in the box below.

    4 - Common Issues ~4 mins

    Common snags

    • Item count shows 0. You used COUNT on words, so switch to COUNTA for item names.
    • MIN or MAX looks wrong. Your range probably has the heading or Total row in it. Pick only the cost cells.
    • The formula shows as text. Delete it and type it again, starting with {{code:=}}.

    5 - Independent Practice ~15 mins

    Independent Practice

    Your goal: Add the lowest cost, highest cost and item count to your own Something Real budget.
    Time: ~15 minutes
    Task:
    1. Open {{code:05_project_budget}} and click your main budget sheet, not {{code:Formula_practice}}.
    2. Find your first and last cost cells, for example D2 to D12. Leave out the heading and Total rows.
    3. Beside your totals, type the labels Lowest cost, Highest cost and Item count.
    4. Add MIN and MAX formulas for your costs, and COUNTA for your item names.
    5. Change one cost and check that MIN or MAX changes too.

    If Item count shows 0, you used COUNT instead of COUNTA.

    Success criteria:
    • My three labelled results are on my main budget sheet.
    • My ranges cover only my real data.
    • Changing a cost changes a result.
    • My file shows Saved or All changes saved in Drive.

    6 - Reflection ~5 mins

    Think about

    • Was your warm-up guess right? What did MAX show you?
    • Which is most useful for your project: the cheapest cost, the dearest cost or the item count?

    Talk about it with a partner.

    7 - Lesson Summary ~5 mins

    What you covered

    • I can use MIN and MAX to find my lowest and highest costs.
    • I can pick COUNT for numbers and COUNTA for words.
    • I added lowest cost, highest cost and item count to {{code:05_project_budget}}.

    Finished early?

    Add one more summary cell of your own. Beside it, write a short note on how it helps your project.

    End of lesson
    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 Coding Ireland 2017 - 2025. 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