Quick answer
Count cells that meet multiple conditions.
=COUNTIFS(A2:A100,"Complete",B2:B100,"East")Example data layout
Use a small table first, confirm the result, then copy the formula down the column.
| Input | Helper value | Result |
|---|---|---|
| A2 | B2 | Formula result |
| A3 | B3 | Copied formula result |
Copy-paste examples
Beginner
Basic COUNTIFS example
=COUNTIFS(A2:A100,"Complete",B2:B100,"East")Adjust the cell references to match your worksheet layout.
Beginner
COUNTIFS copied down rows
=COUNTIFS(A3:A100,"Complete",B3:B100,"East")Adjust the cell references to match your worksheet layout.
Intermediate
COUNTIFS with clean fallback
=IFERROR(COUNTIFS(A2:A100,"Complete",B2:B100,"East"),"")Adjust the cell references to match your worksheet layout.
Intermediate
COUNTIFS with structured references
=COUNTIFS([@Input]:A100,"Complete",[@Value]:B100,"East")Adjust the cell references to match your worksheet layout.
Advanced
COUNTIFS with dynamic data
=COUNTIFS(Table1[Value],"Complete",Table1[Amount],"East")Adjust the cell references to match your worksheet layout.
Advanced
COUNTIFS inside a report formula
=LET(result,COUNTIFS(A2:A100,"Complete",B2:B100,"East"),result)Adjust the cell references to match your worksheet layout.
Step-by-step tips
- Paste the formula into the first result cell.
- Replace sample references like A2, B2, or Table1 with your real cells or table columns.
- Test the formula on two or three rows before copying it down.
- Format the result column as Number, Date, Currency, or Percentage when needed.
- Keep a backup copy of your original data before applying formulas across a large range.
Common mistakes
- Using text values where Excel expects numbers or dates.
- Forgetting quotation marks around text criteria.
- Copying a formula without locking fixed references using dollar signs.
- Applying the wrong number format and thinking the formula is wrong.