Count If ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
try this idea
=sumproduct((a2:a22="door open")*(b2:b22="tech fault"))
 
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..
 
If you use Xl 2007 then try this:

=COUNTIFS(A:A,"Door Open",B:B,"Tech Fault")
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top