Google Sheets function

COUNTIFS function in Google Sheets

COUNTIFS in Google Sheets counts rows or columns where corresponding cells meet multiple criteria. Each criteria range must have the same dimensions. Use COUNTIFS to count records that satisfy a combination such as a region, status, date range, or numeric threshold.

Source: Google Docs Editors HelpLast verified Nov 5, 2026

Syntax

=COUNTIFS(criteria_range1, criterion1, [criteria_range2, criterion2, ...])

Arguments

ArgumentRequiredWhat it means
criteria_range1YesThe first range tested against a criterion.
criterion1YesThe pattern or test applied to criteria_range1.
criteria_range2, criterion2, ...NoAdditional range and criterion pairs.

Examples

Count paid orders in one region

AB
1RegionStatus
2EastPaid
3WestPaid
4EastOpen
5EastPaid
=COUNTIFS(A2:A5,"East",B2:B5,"Paid")

Result: 2

Two rows have both East in the region column and Paid in the status column.

Common mistakes

Using criteria ranges with different dimensions.

Keep every criteria range the same height and width.

Writing comparison criteria without quotation marks.

Put operators and their values in a string, such as ">=10".