satinsilhouette
Instructor
- Feb 21, 2006
- 625
hi,
I want to check the value of two cells and then do a count if they are true:
Cell one has a class number in it. Cell two needs to be in a date range, for instance, in January, February, etc. So 1/1/2006 to 1/31/2006 range.
Then if both of these are true, I need to count a different field.
SO far I have:
=IF(Data!A2:A400 = "CR 10 RD1 and Data!C2:C400 between #01/01/2006# and #01/31/2006#,COUNTIF(Data!A2:A400,Data!A2,0))
But I am getting an error. Can someone help?
I want to check the value of two cells and then do a count if they are true:
Cell one has a class number in it. Cell two needs to be in a date range, for instance, in January, February, etc. So 1/1/2006 to 1/31/2006 range.
Then if both of these are true, I need to count a different field.
SO far I have:
=IF(Data!A2:A400 = "CR 10 RD1 and Data!C2:C400 between #01/01/2006# and #01/31/2006#,COUNTIF(Data!A2:A400,Data!A2,0))
But I am getting an error. Can someone help?