Thread: Countif help
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jtfalk jtfalk is offline
external usenet poster
 
Posts: 24
Default Countif help

I have a quick question. i am trying to count the cells with a date range. i
ceonverted the date to a value and tried this but it is not counting
correctly.

=SUM(COUNTIF(D6:D505,(AND("=39995","<=40026"))))

There are 9 with the date 7-31-09 and 15 with 8-6-09. So it comes up with
zero - I know beacsue with the and it is true or false. How can I get it to
count between the 2 dates of = 7-1-09 and < 8-1-09?

Thanks