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.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Region | Status | East and open | |
| 2 | East | Open | Formula goes in D2. formula | |
| 3 | East | Closed | ||
| 4 | West | Open | ||
| 5 | East | Open | ||
| 6 | North | Closed |
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.