Skip to content

COUNTIFS

Count rows that meet several conditions at once

0 of 3 done · Lesson 7 of 18

Understand

One condition was enough until the question got sharper. Now it is how many Otago orders came in during January. COUNTIFS takes as many range and condition pairs as you need, and a row is only counted when every one of them holds.

=COUNTIFS(first column to check, first condition, next column, optional, next condition, optional)

A worked example

=COUNTIFS(C2:C9, "Otago", E2:E9, "Feb")
first column to checkfirst conditionnext columnnext condition

This returns 1

The sheet you are working with

Sheet for COUNTIFS
Row numberABCDE
1OrderCustomerRegionAmountMonth
21042NorthwindOtago1250Jan
31043Kea LtdWaikato840Jan
41044HalcyonOtago2110Feb
51045BrightsmithAuckland560Feb
61046TuataraWaikato1780Jan
71047FernwayOtago930Mar
81048PounamuNelson1420Feb
91049Rimu CoOtago1120Jan