C
crapit
a b c d
1
2 12-Jul-08 Sat 2.5
3 20-Jul-08 Sun 9
4 29-Jul-08 Tue 4
5 25-Aug-08 Mon 1.75
6 27-Aug-08 Wed 9.5
7 02-Sep-08 Tue 9.5
8 03-Sep-08 Wed 3.5
9 08-Sep-08 Mon 6
10 14-Sep-08 Sun 9.25
11 15-Sep-08 Mon 1.25
12 19-Sep-08 Fri 5.5
I try to sum the value if the month is the same but fail, Using cell d2
=IF(MONTH(a2)=MONTH(a1),SUMIF(a:a,MONTH(a2),c:c),"") and copy all way down
1
2 12-Jul-08 Sat 2.5
3 20-Jul-08 Sun 9
4 29-Jul-08 Tue 4
5 25-Aug-08 Mon 1.75
6 27-Aug-08 Wed 9.5
7 02-Sep-08 Tue 9.5
8 03-Sep-08 Wed 3.5
9 08-Sep-08 Mon 6
10 14-Sep-08 Sun 9.25
11 15-Sep-08 Mon 1.25
12 19-Sep-08 Fri 5.5
I try to sum the value if the month is the same but fail, Using cell d2
=IF(MONTH(a2)=MONTH(a1),SUMIF(a:a,MONTH(a2),c:c),"") and copy all way down