CountIF Q

S

Sean

I have dates listed in Column A7:A377. How can I incorporate this
formula =COUNTIF(C7:C377,"=0") to count only if the Dates in A7:A377
are less than TODAY()

Thanks
 
S

Sean

Try,

=SUMPRODUCT((A7:A377<TODAY())*(C7:C377=0))

Mike






- Show quoted text -

Slight twist on above, how could I count If (C7:C377,"<0") AND
(C7:C377,">4"))

In other words Count times values are between 1-4?
 
S

Sean

Slight twist on above, how could I count If (C7:C377,"<0") AND
(C7:C377,">4"))

In other words Count times values are between 1-4?- Hide quoted text -

- Show quoted text -

Worked it

=SUMPRODUCT(($A7:$A377<TODAY())*(C7:C377>0)*(C7:C377<4))
 
S

Sebation

try:
=SUMPRODUCT((A1:A10<TODAY())*(B1:B10=0))
or
{=sum((A1:A10<TODAY())*(B1:B10=0))}

HTH

Regards
Sebation.g
 
Top