Formulas > =COUNTIFS()

How to Use COUNTIFS() in Google Sheets

Description

Returns the count of a range depending on multiple criteria.

How To Actually Use COUNTIFS() in Sheets

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

Try COUNTIFS yourself

In the range A1:A10, count how many times the value 'Apple' appears in column A and the value 'Red' appears in column B (B1:B10). Your formula should return the correct count.

Hints (2)

Better Sheets Tutorial

3 More Ways to Count in Google Sheets

3 More Ways to Count in Google Sheets

Learn how to use CountBlank() and more counting formulas.

Transcript-matched member videos for COUNTIFS(). Click through to watch.

Watch more tutorials
Hardest Formula: SumIF | Addition Based on Dates / Values

Hardest Formula: SumIF | Addition Based on Dates / Values

Demystifying the SumIF Formula. Add up your values based on a condition,...
3 Ways to Count in Google Sheets

3 Ways to Count in Google Sheets

The video explains three ways to count cells or information in Google Sh...

Learn more about the COUNTIFS() formula:

Generate a COUNTIFS() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses COUNTIFS(). 2 free AI generations, no signup. Members get unlimited use.

Generate a COUNTIFS() formula
Ads keep the free stuff free. Members browse ad-free — log in or see pricing.
Big Year 2027 calendar: the whole year on one Google Sheet

Free 2027 calendar.Plan all of 2027 on one Google Sheet, free.

Copy it to your Google Drive.

Free. No password, no card. The sheet link shows up right here.