Counting coded responses to make quantitative data
The number of responses given a particular code. Counting each code turns qualitative data into counts you can chart; dividing by the total gives a percentage.
Understanding Counting coded responses to make quantitative data in VCE Data Analytics U3O2
What it does: COUNTIF with the code as the criterion returns the frequency of that code. Adding all code frequencies gives the total, which is the denominator when calculating percentages. Frequency is the number of responses given a particular code, so 'Cost' has a frequency of 12. 40 is the total number of responses. Counting how many responses carry each code produces frequencies. These are numeric, so they can be shown in a chart. 10 ÷ 40 × 100 = 25%. The value 10 is the frequency, not the percentage, because the total is not 100. COUNTIF counts the cells that match a condition. SUM adds numbers, so it cannot count text codes.
Common mistakes: COUNT only counts numeric cells, so it ignores text codes and returns 0. To count how many responses have the code "Price", use COUNTIF(B2:B31,"Price"). A percentage is the code's frequency divided by the total number of responses. The formula has them the wrong way round. It should be =B2/B3*100.
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 32–75) and word search (Modules 3–146).
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
frequencyFill in the Blanks
Spot the Error
Student with a class code? Join your class →