COUNTIF
Counts values based on a condition
Last updated
Counts values based on a condition
Last updated
COUNTIF( column
, criteria
)
Counts the values in a column
that are within a row meeting the specified criteria
Input | Description |
| Column to count |
| Condition that must be met for values within |
Outputs count of values in column
that meet criteria
In this example, there are two rows with {Child Population}<1000000
, but becauseCOUNTIF
is aggregating {Adult population}
, a null value decreases the count by 1.