View Single Post
  #8   Report Post  
D@annyBoy
 
Posts: n/a
Default

this is the formulae that I am using

=SUMIF(CBN!$A:$A,"=" & DATE(1,1,2004),CBN!$F:$F)
but it includes dates before 2003 as well

can you help newbie incorporate your suggest

I tried this, but it doesn't works

=SUMIF(CBN!$A:$A,"=" & DATE(2004,1,1)-SUMIF(CBN!$A:$A,"<=" &
DATE(2004,2,1)),CBN!$F:$F)



"Frank Kabel" wrote in message
...
Hi
try:
=SUMIF(A1:A100,"=" & DATE(2004,1,1))-SUMIF(A1:A100,"=" & DATE(2004,2,1))


"D@annyBoy" wrote:

thanks it works

but can I use a range of dates instead

sum all cells if month is Jan
will this work =SUMIF(A1:A100,"=" & DATE(1,1,2004),"<="&
DATE1,2,2004,B1:B100)


"Frank Kabel" wrote in message
...
Hi
for example
=SUMIF(A1:A100,"=" & DATE(2004,10,1),B1:B100)

"Lius" wrote:

How do I add up a range of cells using dates as a criteria?