What the video covers
Shows how to write a basic COUNTIF formula to count cells that meet one condition in a single range.
Watch the video on YouTubeStep-by-step instructions
- Select the result cell
Click the cell where you want the count to appear. - Start the COUNTIF formula
Type =COUNTIF( to begin the formula. - Enter the range
Select or type the range of cells to evaluate (for example, A2:A100). - Specify the condition
Type a comma, then the criterion in quotes for text (for example, "Completed"). For exact numbers, enter the number without quotes; for comparisons use quotes (for example, "=10"). - Close and confirm
Type ) to close the formula and press Enter. Excel returns the count of cells that meet the condition. - Optional: copy the formula
Fill or copy the cell to apply the same COUNTIF pattern to other columns or ranges, adjusting the range or criterion as needed.
Watch the video
Play tutorial
Why it matters
COUNTIF saves time and avoids manual counting when you need totals for status, categories, attendance, or any single-condition tally.
Check your result
The formula returns an integer equal to the number of cells in the selected range that match your condition (e.g., 5).
Troubleshooting
If the result is 0 or unexpected: • Verify the range includes the cells you intended. • Ensure the condition matches the cell text exactly (watch for extra spaces or different capitalization if comparing exact text). • For numbers, don't put the condition in quotes; for operators with numbers (e.g., "=10"), put the operator and number in quotes. • If counting partial text, use wildcards like "*part*" in the criterion.