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

Data Input Best Practice

Discover the four rules professionals follow to make spreadsheet data usable for sorting, filtering, and formulas. Work through a deliberately messy example before auditing and cleaning your own project workbook and handing up a clean copy.

Teacher Class Feed

Load previous activity

    1 - Introduction ~5 mins

    Today you will

    • learn the rules for tidy data
    • clean up a messy stock list
    • clean your own project spreadsheet

    Illustration for IntroductionYou need {{code:sm3_from_template}} from {{code:Project_Portfolio/09_specialism/sm3}}. If you don't have it, make a new spreadsheet with that name in {{code:sm3}} and copy this table into cell {{cell:A1}}.

    ItemUnit cost (€)Quantity
    Keyrings2.5020
    Tote bags6.0010
    Badge packsabout 315
    Notebooks4.0012
    Pens (pack of 5)5 euro8

    Warm-up

    Imagine some prices in a list say "about €12". What would go wrong when you tried to total them?

    2 - Key Concepts ~5 mins

    Four rules for tidy data

    Headings in row 1: the top row names each column, and the data starts on row 2.

    One type per column: numbers stay numbers, dates stay dates and text stays text.

    No blank rows: empty rows in the middle of a table make sort and filter stop halfway.

    No merged cells: merged cells inside a table break sorting, filtering and formulas.

    Example

    Type 12.5 in a cost cell and format it as euro. Don't type "€12.50" or "about 12".

    3 - Step-by-step Task ~18 mins

    You will type a messy stock list for a phone-case side hustle, and then clean it up. Follow the steps in the box below, and keep pace with your teacher.

    Type these rows exactly as they are, mistakes and all.

    RowABCD
    5Clear case€8.5012School colours
    6Matte black case107
    7(leave this whole row empty)
    8Sticker packabout 320GAA crest
    9Charging cable€45USB-C

    4 - Common Issues ~3 mins

    Common issues

    • My unmerged text sits in one cell. That is normal, so delete it and put your headings on row 1.
    • My costs still won't add up. Click a cost cell and look for a euro sign or words, then retype a plain number.
    • My headings jumped after a delete. Press {{kbd:Ctrl+Z}} or {{kbd:Cmd+Z}} to undo, then check the row numbers again.

    5 - Independent Practice ~19 mins

    Independent Practice

    Your goal: Clean your own project spreadsheet so every row can be trusted.
    Time: ~20 minutes
    Task:
    1. Open {{code:sm3_from_template}} in {{code:09_specialism/sm3}}.
    2. Check it. Are the headings on row 1? Are there blank rows or merged cells in the table? Does each column hold one kind of value?
    3. Fix anything that fails. Move headings to row 1, delete blank rows, unmerge cells and retype text prices as numbers.
    4. Keep at least five rows of your own project data.
    5. Save a copy as {{code:sm3_data_input_clean}} in the same {{code:sm3}} folder.
    Success criteria:
    • {{code:sm3_data_input_clean}} is saved in {{code:sm3}}.
    • My headings are on row 1.
    • My table has no blank rows and no merged cells.
    • Each column holds one kind of value, with five rows of my own data.
    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 - 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