COUNTIF With two criteria

B

Boran Düzgün

How can i count rows with two criteria. I can use COUNTIF with only one
criteria... does it posible to count with two criteria..

For example, I need to count the A's in the column A1:A100 which satisfies
the condition "O" in column D1:D100.
 
B

Bob Phillips

=SUMPRODUCT(--(A1:A100="A"),--(D1:D100="O"))


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
Top