Nested counting query

Joined
Jun 17, 2008
Messages
1
Reaction score
0
I am blessed with being forced to use Excel 97. Don't laugh. The data I am trying to pull a report from is recording :

date of First inspection
Compliance Status

Date of second Inspection
Compliance Status

Date of third Inspection
Compliance status.

The report required is as follows.

Month 1st Insp Compliant Major non-compliance Minor Non
Jan 69 28 36 5
Feb 133 51 52 30

Counting the number of inspections is easy. The problem arises when trying to count the number of inspections -In January-which are compliant, and those in January which are Major non compliance, and those in January that are minor non compliance.. The counting within dates is eluding me.

I have tried various options..
=COUNT('Raw Data'!E:E,"Compliant",IF('Raw Data'!D:D, ">31/Dec/2007",IF('Raw Data'!D:D,"<01/Feb/2008")))

=COUNTIF('Raw Data'!E:E,"Compliant")(IF('Raw Data'!D:D,">31/Dec/2007")IF('Raw Data'!D:D,"<01/Feb/2008"))

Just can't make it happen. Nesting within Excel97 is driving me bonkers. Any assistance anyone is able to offer would be hugely appreciated.
 

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

Top