Count If ?

A

Anita

I have a spreadsheet with 2 columns like this:-

Incident Cause
Door Open Tech Fault
Door Open Public Error
Door 1st Catch Public Error
Door Open Tech Fault

What I want to do is count the number of (for instance) tech faults for door
open or public errors for door open or public errors for door 1st catch etc
etc. In other words count the number of causes for each incident.

Hope that makes sense and hope you can help.

Using Excel XP

Thanks

Anita
 
V

Vergel Adriano

Count for Door Open, Tech Fault:

=SUMPRODUCT((A1:A65535="Door Open")*(B1:B65535="Tech Fault"))

Count for Door 1st Catch, Public Error:

=SUMPRODUCT((A1:A65535="Door 1st Catch")*(B1:B65535="Public Error"))

.... and so on..
 
T

Teethless mama

If you use Xl 2007 then try this:

=COUNTIFS(A:A,"Door Open",B:B,"Tech Fault")
 
D

Don Guillett

I have not installed my 2007 yet since I got the freebie install once from
the intro, but
What happens when saved to older version?
 
Top