View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Countif on multiple dates

Hi Jim

One way
=SUMPRODUCT(--($A$1:$A$100=DATE(2005,12,9),--($A$1:$A$1000<=DATE(2005,12,11))
If you wanted to make it easy to vary the dates being counted, then put your
earliest date in C1, your latest date in D1 and change formula to


=SUMPRODUCT(--($A$1:$A$100=C1),--($A$1:$A$1000<=D1)

Change range to suit.

Regards

Roger Govier


Jim wrote:
I would like to know how I can write a countif to count the number of times
dates are entered into a column and add those dates together. For example I
would like to count the number of times that 12/9/05, 12/10/05, and 12/11/05
appear in a column that shows multiple dates. Thanks for the help.

12/9/05
12/10/05
12/13/05
12/22/05
12/10/05
12/30/05
12/9/05
12/10/05
12/13/05
12/22/05
12/10/05
12/30/05
12/9/05
12/10/05
12/13/05
12/22/05
12/10/05
12/30/05