Home |
Search |
Today's Posts |
#1
|
|||
|
|||
rolling year in excel
I have the below statement, which works for a rolling year, how do I adjust
for a rolling 6 month period? =SUMIF(B6:B52,"="&DATE(YEAR(TODAY())-1,MONTH(TODAY()),1),E6:E52) Column B6:B52 is my months in MMM-YY format. Column E6:E52 is $ amounts. Please help. |
#2
|
|||
|
|||
FWIW, a rolling 12 month can also be stated as:
=SUMIF(B6:B52,"="&DATE(YEAR(TODAY()), MONTH(TODAY()) - 12, 1),E6:E52) (The Date function evaluates to 6/1/2004) So 6 months would be: =SUMIF(B6:B52,"="&DATE(YEAR(TODAY()), MONTH(TODAY()) - 6, 1),E6:E52) (The Date function evaluates to 12/1/2004) HTH, -- George Nicholson Remove 'Junk' from return address. "JJC" wrote in message ... I have the below statement, which works for a rolling year, how do I adjust for a rolling 6 month period? =SUMIF(B6:B52,"="&DATE(YEAR(TODAY())-1,MONTH(TODAY()),1),E6:E52) Column B6:B52 is my months in MMM-YY format. Column E6:E52 is $ amounts. Please help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
VBA for Excel 2000 file is corrupt | Excel Discussion (Misc queries) | |||
Excel Files Acting Weird | Excel Discussion (Misc queries) | |||
how do I set dates every 3 cell for whole year in excel | Excel Discussion (Misc queries) | |||
I get a program error when I download an excel template | Excel Discussion (Misc queries) |