What the video covers
Show how to write and use a single-criterion COUNTIF formula in Google Sheets to count matching cells in a selected range.
Watch the video on YouTubeStep-by-step instructions
- Select the result cell
Click an empty cell where you want the count to appear. - Start the formula
Type =COUNTIF( to begin the function. - Choose the range
Select or type the range of cells you want to evaluate (for example A2:A20). - Enter the condition
Add a comma, then type the criterion in quotes. For text use "Complete"; for numbers use a comparison like "5" or a plain number like "10". - Close and calculate
Close the parentheses ) and press Enter. The cell will display the count of matching cells. - Adjust if needed
Change the range or criterion to update the count. For multiple conditions, use COUNTIFS instead.
Watch the video
Play tutorial
Why it matters
COUNTIF saves time by automatically tallying cells that meet a condition (for example, counting completed tasks, items in a category, or values above/below a threshold) so you don't have to count manually.
Check your result
The formula cell should display a single number equal to the count of cells in your chosen range that match your condition (for example, 5).
Troubleshooting
If the result is unexpected: • Check the range includes the cells you intended. • Put text criteria in quotation marks (e.g., "Complete"). • For numeric comparisons use quotes around the operator and number (e.g., "5"). • Use COUNTIFS if you need multiple conditions. • Ensure there are no leading/trailing spaces in text cells.