FxFormula Drills

Premium exercise · Excel conditional functions

COUNTIFS practice: two conditions

Practice Excel COUNTIFS by counting rows that are both the East region and an Open status.

Each row is an order. Column A is the region and column B is the status.

In D2, use COUNTIFS to count orders that are East and Open. Both conditions have to be true on the same row.

Dataset

Starter sheet. Cells marked formula are where the formula goes.

Starter sheet for this exercise
RowABCD
1RegionStatusEast and open
2EastOpenFormula goes in D2. formula
3EastClosed
4WestOpen
5EastOpen
6NorthClosed

Hint

COUNTIFS takes pairs: a range, then its criteria, then another range and criteria.

Explanation

This exercise practices COUNTIFS in Excel. The formula goes in D2.

COUNTIFS keeps a row only when every pair matches. East and Open together occur twice. East with Closed, and West with Open, are left out.

The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.

Solve this exercise

Practice this formula

Loading the practice grid…