cancel
Showing results for 
Search instead for 
Did you mean: 

cumulative value Calculation

Former Member
0 Kudos

Hi,

I have a requirement to create a macro for cumulative plan calculation in weekly buckets & it need to change in the begining of the next year wkly buckets. pls help me out.

thanks,

rajeev

Accepted Solutions (1)

Accepted Solutions (1)

rajkj
Active Contributor
0 Kudos

Hi Rajeev,

Here is a screenshot with a simple macro that performs cumulative sum.

e.g.

Element
Period 1
Period 2
Period 3Period 4
Period 5Period 6
Row 156510128
Cum. Values Row51116263846

Pay attention to the date fields and the highlighted sections. You need to fix the starting bucket and "To" field should be relative to the current time bucket. If you need any further restrictions for example, only non-zero elements are to be considered, you can enhance the macro by implementing the required logic.

Thanks,

Rajesh

Answers (0)