Information and Communication Technology — PRODUCTIVITY TOOLS
Topic
PRODUCTIVITY TOOLS
Sub-Topic
spreadsheet (how to use COUNTA) fuction in a spreadsheet
General Competences
Digital Literacy, Analytical Thinking, Problem Solving
Specific Competences
2.2.2.1 Manage data using spreadsheets
Learning Activities
Using the COUNTA, function in a spreadsheet.
Expected Standard
Data managed using spreadsheets.
References
ICT ordinary level Form 1 to 4 syllabus page 25.
Lesson Goal
By the end of this lesson, learners should be able to correctly apply the COUNTA function in a spreadsheet to count non-empty cells in a given data set and explain its purpose and syntax.
Rationale
This lesson builds on learners' prior knowledge of basic spreadsheet terminology—such as cells, rows, columns, and simple arithmetic functions (SUM, AVERAGE)—to introduce the COUNTA function, a key tool for managing and analysing data by counting entries that contain text, numbers, or other content. Mastering COUNTA enables learners to efficiently track attendance, inventory, or survey responses in their daily lives, promoting values of accuracy, organisation, and data-driven decision-making. Through active, learner-centred methods including guided exploration, paired investigation, and whole-class discussion, this lesson develops the competences of Digital Literacy, Analytical Thinking, and Problem Solving as articulated in the Zambian ICT syllabus.
Prior Knowledge / Prerequisite Knowledge
Learners are expected to know the basic layout of a spreadsheet (cells, rows, columns), how to enter data into cells, and how to use the SUM and AVERAGE functions. They should also be able to distinguish between numeric and text data. This prior knowledge will be activated at the start of the lesson through a quick oral review where learners are asked to name the parts of a spreadsheet and to recall what the SUM function does, thereby creating a bridge to understanding the COUNTA function as a tool for counting entries rather than adding numbers.
Learning Environment
- Natural Environment: The teacher references the local market in Kasama town centre, where vendors record daily sales of produce such as tomatoes, onions, and cassava in handwritten ledger books. Learners will be asked to imagine how a spreadsheet could help a vendor count how many different types of produce were sold on a given day, linking the COUNTA function to a familiar community context.
- Artificial Environment: The classroom is arranged in mixed-ability pairs and groups of 4–6 learners, with desks pushed together to form cluster tables. A large pre-printed chart showing a sample spreadsheet with names, marks, and attendance data is displayed on the wall. The chalkboard is divided into two sections: one for key terms and definitions, and one for worked examples. Learner exercise books and worksheets are placed at each cluster before the lesson begins.
- Technological Environment: A single laptop or desktop computer with a projector (if available at Ituna Secondary School) is used to demonstrate the COUNTA function live using a simple spreadsheet created in LibreOffice Calc or Microsoft Excel. If no projector is available, the teacher uses a large hand-drawn spreadsheet chart on manila paper and writes the function syntax and result directly on the board. A short 2-minute video clip on the COUNTA function (downloaded in advance or accessed via a smartphone hotspot) may be shown to reinforce the concept visually.
Teaching and Learning Materials / Resources
- Pre-printed chart on manila paper showing a sample spreadsheet (columns: Name, Class, Gender, Marks) with some empty cells
- Worksheet handouts for each pair of learners containing a small data set with three columns (Item, Quantity, Price) and several blank rows
- Projector or laptop with LibreOffice Calc / Microsoft Excel installed (if available)
- Short video clip (2 minutes) on the COUNTA function sourced from YouTube and saved offline
- Large flashcards showing the syntax: =COUNTA(range)
- Coloured chalk or markers for board work
- Learner exercise books and pens
Cross-Cutting Issues
The following cross-cutting issues are integrated into this lesson on "spreadsheet (how to use COUNTA) fuction in a spreadsheet":
- Digital Literacy: Throughout the lesson, learners actively engage with spreadsheet software (or a simulated chart) to enter data and apply the COUNTA function, thereby strengthening their ability to use digital tools for organising and interpreting information—a core skill for functioning effectively in a technology-driven world.
- Financial Education: The worked example and elaboration task use a class attendance register and a small business stock sheet (inspired by local shops in Kasama), respectively, to show how counting non-empty cells can help a trader or teacher monitor resources and track records accurately, reinforcing the value of careful record-keeping for financial and administrative decision-making.
Lesson Progression (Model: 5E Model of Instruction)
| Phase | Teacher Activities | Learner Activities | Assessment Criteria |
|---|---|---|---|
| INTRODUCTION | |||
| ENGAGE 6 min |
|
|
|
| DEVELOPMENT | |||
| EXPLORE 8 min |
|
|
|
| EXPLAIN 8 min |
|
|
|
| ELABORATE 12 min |
|
|
|
| CONCLUSION | |||
| EVALUATE 6 min |
|
|
|
Class Exercise
Instructions to learners: Answer all five questions in your exercise book. Show all working where applicable. Time allowed: 10 minutes.
- Multiple Choice: What does the COUNTA function in a spreadsheet count?
A. Cells that contain numbers only
B. Cells that contain text only
C. Cells that contain any data (text, numbers, dates, or errors)
D. Cells that are empty - Fill-in-the-Blank: The correct syntax for the COUNTA function is =COUNTA(________).
- Short Answer: If the range D1:D8 contains data in cells D1, D2, D4, D6, and D7, what will =COUNTA(D1:D8) return? Explain your answer.
- True or False: The COUNTA function counts a cell as non-empty if it contains a space character. Write 'True' or 'False' and give a reason for your answer.
- Application / Analysis: The school librarian at Ituna Secondary School has a spreadsheet of all books in the library. Column A contains the book titles, Column B contains the authors, and Column C contains the year of publication. Some rows in Column C are empty because the year is unknown. The librarian wants to know how many books have a recorded year of publication. Write the correct COUNTA formula the librarian should use, specifying the range. Then explain why COUNTA is a better choice than using the COUNT function in this situation.
Answer Key (For Teacher Use Only)
-
Question 1 — Multiple Choice
Answer: C. Cells that contain any data (text, numbers, dates, or errors)
Marks: 1 mark for selecting the correct option. -
Question 2 — Fill-in-the-Blank
Answer: range
Marks: 1 mark for writing "range" (or a specific range reference such as A1:A10 is also acceptable if context is provided). -
Question 3 — Short Answer
Answer: The result is 5, because only cells D1, D2, D4, D6, and D7 contain data—these are 5 cells out of the range. The remaining cells (D3, D5, D8) are empty and are not counted.
Marks: 1 mark for stating 5; 1 mark for explaining which cells are counted and why. -
Question 4 — True or False
Answer: True. The COUNTA function counts a cell as non-empty if it contains any character, including a space. A space is considered text data in a spreadsheet.
Marks: 1 mark for "True"; 1 mark for a valid reason explaining that a space is treated as data. -
Question 5 — Application / Analysis
Answer: The formula should be =COUNTA(C2:C100) (assuming the data starts in row 2 and ends in row 100). COUNTA is better than COUNT in this situation because COUNT only counts cells containing numeric values, while the year of publication is a number. However, if some cells contain text (e.g., "Unknown") or are blank, COUNTA will count those with any entry, while COUNT would only count numeric entries. For recording years, COUNT would work if all cells have numbers, but COUNTA is more robust if any cell contains text. The best answer explains that COUNTA counts all non-empty cells, ensuring no book with a recorded year—whether numeric or text—is missed.
Marks: 1 mark for writing a correct COUNTA formula with an appropriate range; 1 mark for explaining that COUNTA counts all non-empty cells; 1 mark for comparing with COUNT (COUNT only counts numbers); 1 mark for justifying why COUNTA is better in this context (it captures all entries regardless of data type).
Total Marks: 12 | Suggested Completion Time: 10 minutes
Lesson Evaluation
Instructions to the teacher: Focus on the competences learners were able to demonstrate, use clear evidence from their work and participation, note any difficulties they faced, reflect on what worked or did not work in your teaching, and state what support or next steps are needed.