Hi,
The EOMONTH(() function is also new in 2007 and not present in Excel 2003. If you can live with a definition of 6 months being 183 days then in F2
Formula:
=SUMPRODUCT(($J2:$BD2)*($J$1:$BD$1>=$C2-183)*($J$1:$BD$1<$C2))
and for G2
Formula:
SUMPRODUCT(($J2:$BD2)*($J$1:$BD$1>=$C2)*($J$1:$BD$1<$C2+183))
Similar for the 3 month and 12 month formulae. If the 6 month needs to work with calendar months then a more complicated function will be necessary. Note that using 183 days like this will not always give you the same result as using calendar months since depending on the month span, 183 may not co-incide with 6 months before or after.
Bookmarks