OleMiss2010
Member
I have a quarterly calculation that is updated each month. In cell B28 I have to number from last quarter. In cell B29 I have the target for this quarter (as of the current month-end). In cells B31:B33 I have the difference in the month-end target and the previous quarter (for example, B31 has the difference in Jan. 31 target and Dec. 31 calculation). I would like for the months to automatically update. However, because B29 is updated each month (essentially it is a running total until the quarter ends when it becomes the value for b28) I run into a circular reference when trying to apply a formula to B31:B33.
Month 3 (March, June, September, and December) is easy. With A2 holding the current EOM date the formula is:
=IF(OR(MONTH(A2)=3,MONTH(A2)=6,MONTH(A2)=9,MONTH(A2)=12),B29-B28-B32-B31,0)
This gives me the value of whatever needs to be added to the calculation for that quarter after the previous two months have been accounted for. The trick is having month 1 essentially hold its value if it's not January, April, July, or October.
Is there some formula variation that I'm just not thinking of, or is this just going to have to be a manual input every month, which truthfully isn't that much trouble?
Month 3 (March, June, September, and December) is easy. With A2 holding the current EOM date the formula is:
=IF(OR(MONTH(A2)=3,MONTH(A2)=6,MONTH(A2)=9,MONTH(A2)=12),B29-B28-B32-B31,0)
This gives me the value of whatever needs to be added to the calculation for that quarter after the previous two months have been accounted for. The trick is having month 1 essentially hold its value if it's not January, April, July, or October.
Is there some formula variation that I'm just not thinking of, or is this just going to have to be a manual input every month, which truthfully isn't that much trouble?