How to use the countif function in Google Sheets

COUNTIF is a built-in Google Sheets function. Type =COUNTIF( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use the countif function.

Steps

  1. 1

    Click an empty cell and type =COUNTIF(.

  2. 2

    Fill arguments using the on-screen helper.

  3. 3

    Press Enter and check a known expected result.

  4. 4

    Widen ranges or add IFERROR once the logic is correct.

Related tutorials

These videos might help you go deeper on this topic.

Watch more tutorials
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...
How to Count Numbers in a Row

How to Count Numbers in a Row

Got this question in the Facebook Group: How to count the number of numb...
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.
Add a Word Count to Google Sheets

Add a Word Count to Google Sheets

Count your words inside a sheet. Great for ad writing, novel writing, or...
How to Iterate Counting Blank Cells in Google Sheets

How to Iterate Counting Blank Cells in Google Sheets

Count different types of blank cells. Cells with nothing in them.
How to Use AND() and OR() in IF() in Google Sheets For Multiple Criteria

How to Use AND() and OR() in IF() in Google Sheets For Multiple Criteria

One of the most simplest and useful formula combinations is using and an...

Related blog posts

Written guides that go deeper on this question.

Browse the blog

Better Sheets on YouTube

Watch matching videos from youtube.com/bettersheets.

Search channel

Terms and formulas behind this

Want the full definition or how a formula works? Start here.

Related questions

How to use countif function in Google Sheets

COUNTIF is a built-in Google Sheets function. Type =COUNTIF( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use countif function.

Get the answer →

How to use countif Google Sheets

COUNTIF is a built-in Google Sheets function. Type =COUNTIF( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use countif google sheets.

Get the answer →

How to use countif in google sheet

COUNTIF is a built-in Google Sheets function. Type =COUNTIF( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use countif.

Get the answer →

How to use countif in Google Sheets

COUNTIF is a built-in Google Sheets function. Type =COUNTIF( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use countif.

Get the answer →

How to use countif in Google Sheets from another sheet

COUNTIF is a built-in Google Sheets function. Type =COUNTIF( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to use countif in google sheets from another sheet.

Get the answer →

How to count colored cells in Google Sheets using countif

COUNTIF is a built-in Google Sheets function. Type =COUNTIF( in a cell and follow the argument hints, or open the formula help from the function name. Start with a small example range, confirm the result, then expand. See the linked formula guide on this page for syntax and examples related to count colored cells in google sheets using countif.

Get the answer →
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.

Copy it to your Google Drive.

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