COUNTIFS

Counts the rows that meet several conditions.

How it’s written

COUNTIFS(range1, condition1, range2, condition2)

Example

ABC
1RegionRepSales
2NorthAmara400
3SouthBen250
4NorthChloe150
5WestDev700
=COUNTIFS(A2:A5,"North",C2:C5,">200")

Result: 1

Only one North row has sales above 200.

Try it yourself

Open a live sheet with this example, and type the formula yourself. It takes a moment to load.

Worth knowing

A row must meet every condition to count.

Practice it properly

Counts with conditions gives you real tasks, with your formulas tested on data you haven’t seen.

Start the lesson

Related functions