I want to use countif function to count the number of dates that fall in the given range.
24-Jul-12
19-May-10
19-May-10
8-Aug-12
15-Jan-11
15-Jan-11
5-Jul-12
18-Nov-10
2-Dec-10
16-Jul-12
25-Jul-12
16-Jul-12
19-May-10
12-Jul-12
12-Jul-12
2-Aug-10
5-Jul-12
18-Nov-10
2-Dec-10
16-Jul-12
25-Jul-12
16-Jul-12
19-May-10
12-Jul-12
12-Jul-12
2-Aug-10
2-Aug-10
7-Feb-12
19-May-10
19-May-10
26-Jan-12
1-Jul-10
4-Sep-12
19-May-10
25-Jun-12
19-May-10
28-Jun-12
1-Jul-10
15-Jan-11
=sum(COUNTIF(C:C,"<"&DATEVALUE("8/1/2012"),">"datevalue("8/1/10")
the same format works when I use it with multiple text criteria ( which i discovered in this forum :-)), howver for some reason it gives an error with the date function.
I would not prefer to use the suproduct function as it is a volatile function.
The only option i can think of is to use the same range twice.
=SUM(COUNTIFS(C:C,"<"&DATEVALUE("8/1/2012"),C:C,">"&DATEVALUE("8/1/10")))
Any thoughts / suggestions on why the function will not work with 2 date criteria. Appreciate the help.
thanks
Bookmarks