Spread Formula Reference
COUNTIF

This function returns the number of cells that meet a certain condition.

Syntax

COUNTIF(cellrange,condition)

Arguments

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 (where expressions use the relational operators detailed in Operators in a Formula)

Data Types

Accepts cell range reference. Returns numeric data.

Examples

COUNTIF(A1:G5,"test")

COUNTIF(R6C3:R9C4,"<2")

Version Available

This function is available in product version 2.0 or later.

See Also

COUNT | COUNTA | COUNTBLANK | SUMIF | Statistical Functions

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options