COUNTIFS Practice: Count with Two Criteria

Reading time: 3 minutes

COUNTIFS is COUNTIF with several logical tests at the same time. How many customers are married AND have 2 children? How many have children AND earn less than 40,000? Each pair of arguments is one test, and a row is counted only when all the tests are TRUE. It works like the AND function, but on a whole table.

The following exercise shows you how to cross criteria of different kinds in one formula.

What you will practice in this exercise

You work on a customer file. You answer 8 questions, one formula per question:

  • Married with 2 children (text + number)
  • Single with no children
  • Married with an income of 50,000 or more (text + operator)
  • With children and income below 40,000 (two operators)
  • Divorced with an email filled in (non-empty criterion)
  • Status in a cell (G1) with more than 1 child (cell reference)
  • Empty email and 0 children (blank criterion)

Practice with exercises

COUNTIFS — Customer file
🔒 Members only

COUNTIFS — Customer file
Cross two criteria at once — status and income — with COUNTIFS.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

COUNTIFS Practice: Count with Two Criteria

Reading time: 3 minutes

COUNTIFS is COUNTIF with several logical tests at the same time. How many customers are married AND have 2 children? How many have children AND earn less than 40,000? Each pair of arguments is one test, and a row is counted only when all the tests are TRUE. It works like the AND function, but on a whole table.

The following exercise shows you how to cross criteria of different kinds in one formula.

What you will practice in this exercise

You work on a customer file. You answer 8 questions, one formula per question:

  • Married with 2 children (text + number)
  • Single with no children
  • Married with an income of 50,000 or more (text + operator)
  • With children and income below 40,000 (two operators)
  • Divorced with an email filled in (non-empty criterion)
  • Status in a cell (G1) with more than 1 child (cell reference)
  • Empty email and 0 children (blank criterion)

Practice with exercises

COUNTIFS — Customer file
🔒 Members only

COUNTIFS — Customer file
Cross two criteria at once — status and income — with COUNTIFS.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *