A1 = 1/1/2008
B1 = 1/15/2008
Count how many times 1/1/2008 appears in the range D1:D10 -
=COUNTIF(D1:D10,A1)
Count how many dates in the range D1:D10 are between 1/1/2008 and 1/15/2008
(inclusive):
=COUNTIF(D1:D10,">="&A1)-COUNTIF(D1:D10,">"&B1)
--
Biff
Microsoft Excel MVP
"chrspty" <chr...@discussions.microsoft.com> wrote in message
news:0BA78D74-5CEF-4470...@microsoft.com...
2
=COUNTIF(A1:A21,">="&DATE(2008,8,1))-COUNTIF(A1:A21,">"&DATE(2008,8,31))
--
David Biddulph
"chrspty" <chr...@discussions.microsoft.com> wrote in message
news:0BA78D74-5CEF-4470...@microsoft.com...