COUNTIFS
Count rows that meet all conditions across aligned ranges.
Syntax
=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], …)Worked example
Enter Open, Closed, Open in A2:A4 and 9, 8, 2 in B2:B4. Count open items above five units.
=COUNTIFS(A2:A4,"Open",B2:B4,">5")Result 1
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceHow to use the COUNTIFS function in Excel
Practice COUNTIFS
Count the open items with more than five units.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 |
Show example formula
=COUNTIFS(A2:A4,"Open",B2:B4,">5") Lesson quiz
Answer three questions to see your level in this lesson.
