A quick alternative to building a full pivot table
For a single quick tally β like how many rows match one condition β COUNTIF gets you the answer in one formula, without the overhead of setting up a full pivot table. It's the right tool when you just need a number, not a full breakdown.
Combining it with other functions
COUNTIF becomes even more useful nested inside other formulas β for example, wrapping it in an IF to flag whether a count has crossed a threshold. Getting comfortable with COUNTIF on its own is the first step toward combining it with functions like SUMIF or VLOOKUP for more complex reporting.
Frequently Asked Questions
How do I count cells that meet two or more conditions at once?
COUNTIF only supports a single condition. For two or more conditions, use COUNTIFS instead, in the form "=COUNTIFS(range1, criteria1, range2, criteria2)".
How do I count only cells that are not blank?
Use "=COUNTIF(range, "<>")" β entering "<>" (not equal to blank) as the condition counts only the cells that contain something.