Loading…
Loading…
COUNTIF counts cells that meet one condition.
=COUNTIF(range, criteria)
| Argument | Required? | What it is |
|---|---|---|
| range | Required | The cells to check against the criteria. |
| criteria | Required | The condition, such as "North", ">100" or a cell reference. Text and comparisons go in quotes. |
=COUNTIF(A2:A10,"*on*") counts products that contain "on" anywhere. =SUMIF(A2:A10,"T*",C2:C10) adds sales for products that start with T.
From the lesson Wildcard Characters.
Type the formula yourself and get it graded instantly, no Excel needed.