This function returns the number of cells that meet a certain condition.
COUNTIF(cellrange,condition)
This function has these arguments:
Argument | Description |
---|---|
cellrange | Range of cells to count; cell range reference |
condition | Condition that determines which cells are counted, as a text, number, or expression |
Accepts cell range reference. Returns numeric data.
COUNTIF(A1:G5,"test")
COUNTIF(R6C3:R9C4,"<2")