Blog ยท COUNTIFS

How to Use COUNTIFS in Google Sheets

Complete guide to the COUNTIFS function with syntax, examples, and tips.

What is COUNTIFS?

Returns the count of a range depending on multiple criteria.

Syntax

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

Step-by-Step Guide

  1. Understand the arguments โ€” COUNTIFS requires specific inputs. Review the syntax above and make sure you understand each argument.
  2. Set up your data โ€” Organize your data with clear headers and consistent formatting before applying the formula.
  3. Write the formula โ€” Start typing =COUNTIFS( in any cell and Google Sheets will show you the argument hints.
  4. Test with sample data โ€” Verify the output matches your expectations before applying to your full dataset.
  5. Handle errors โ€” Wrap in IFERROR() to gracefully handle edge cases: =IFERROR(COUNTIFS(...), "N/A")

Expert Tips

Perfect for counting records that match multiple conditions.

[Advertisement โ€” Google AdSense]

Related Functions

Check out our complete formula reference for more Google Sheets functions.

Need Help?

Our Google Sheets experts build custom solutions every day. Get a free quote โ†’

๐Ÿ’ฌ