Hi
I have a SUMIF formula that sums a column between a date range in another colunm which I can get to work fine but once I copy it to another cell and change the date range it breaks. This is the formula:
=SUMIF(STYDate,"=>"&DATE(2011,6,6),STYDuration)+SUMIF(STYDate,"<="&DATE(2011,6,10),STYDuration)
I then copied this to another cell and changed it to this:
=SUMIF(STYDate,"=>"&DATE(2011,6,13),STYDuration)+SUMIF(STYDate,"<="&DATE(2011,6,19),STYDuration)
The first formula works fine but for some reason the 2nd formula ignores the date range and sums the entire contents of the STYDuration column.
Anyone got any ideas? Excel 2003 BTW
I have a SUMIF formula that sums a column between a date range in another colunm which I can get to work fine but once I copy it to another cell and change the date range it breaks. This is the formula:
=SUMIF(STYDate,"=>"&DATE(2011,6,6),STYDuration)+SUMIF(STYDate,"<="&DATE(2011,6,10),STYDuration)
I then copied this to another cell and changed it to this:
=SUMIF(STYDate,"=>"&DATE(2011,6,13),STYDuration)+SUMIF(STYDate,"<="&DATE(2011,6,19),STYDuration)
The first formula works fine but for some reason the 2nd formula ignores the date range and sums the entire contents of the STYDuration column.
Anyone got any ideas? Excel 2003 BTW