Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=COUNTIF(A2:A5,"Pending")+COUNTIF(A2:A5,"Review")Computed by a real spreadsheet engine on the sample data below.
| Status |
| Pending |
| Approved |
| Review |
| Pending |
=COUNTIF(A2:A5,"Pending")+COUNTIF(A2:A5,"Review")→3
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
COUNTIFS requires ALL conditions to be true simultaneously (AND), so each criteria_range/criteria pair is an additional filter, not an alternative.
Yes — use SUMPRODUCT: =SUMPRODUCT(((A2:A100="Pending")+(A2:A100="Review")>0)*(B2:B100="Region1")) counts rows in Region1 with either Pending or Review status.
Count the cells in a range that meet a condition.
How-toLearn the difference between COUNTIF (single condition) and COUNTIFS (multiple conditions) for counting in Excel and Google Sheets.
Error fixCOUNTIF not working in Excel and Google Sheets — fix criteria syntax, data-type mismatches, wildcard errors, and case-sensitivity misunderstandings.
ReferenceCount cells that meet several conditions simultaneously.
How-toUse COUNTIF with the <> operator to count all cells that do not match a specific value.
Error fixCOUNTIF returns the wrong count in Excel and Google Sheets — fix wildcard over-matching, duplicate rows, hidden rows, blank cell handling, and date format issues.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: