+ Reply to Thread
Results 1 to 5 of 5

Formula for Dynamic Rolling Sum

  1. #1
    Registered User
    Join Date
    10-13-2015
    Location
    Johnson City, TN
    MS-Off Ver
    2010
    Posts
    7

    Formula for Dynamic Rolling Sum

    I have been trying to determine the best way to do this for weeks. Any help would be much appreciated!

    The attached spreadsheet calculates both expected and actual ROI for a single project. From that, I need to calculate a 12 month rolling ROI from today's date. To make it slightly more complicated, we only capture ROI for a set amount of time so there will be instances in which, for example it is November '16 so I'm trying to calculate Dec '15 to Nov '16, however, some projects will only have values from Dec '15 to Jun '16.

    ALSO, there are values generated for the future that should not be counted into the rolling 12 months until we are actually in the corresponding month.

    Excel gurus please help!
    Attached Files Attached Files
    Last edited by solagratia28; 11-23-2016 at 04:06 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula for Dynamic Rolling Sum

    Please add some typical results so that we can see the end goal. For instance it's not clear to me whether you ignore months where there is NOT a realised saving. e.g. Project 8, March & July -September 2016
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-13-2015
    Location
    Johnson City, TN
    MS-Off Ver
    2010
    Posts
    7

    Re: Formula for Dynamic Rolling Sum

    Quote Originally Posted by Richard Buttrey View Post
    Please add some typical results so that we can see the end goal. For instance it's not clear to me whether you ignore months where there is NOT a realised saving. e.g. Project 8, March & July -September 2016
    I added what the returned value should be assuming that the current month is Nov '16. Essentially, I want take the sum of the current month's value and the previous 11 months values regardless to if values exist or not. I do not want to include values before the period (in this example, Nov '15 should not be included), nor do I want to include values after the current month (therefore December '16 should not be included).
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula for Dynamic Rolling Sum

    Hi,

    In D3 enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy across

    In T4 Enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and in U4
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down

    Incidentally I'd urge you not to use merged cells. One day they will trip you up. Most of us avoid them like the plague for reasons that needn't concern us just at the moment.

  5. #5
    Registered User
    Join Date
    10-13-2015
    Location
    Johnson City, TN
    MS-Off Ver
    2010
    Posts
    7

    Re: Formula for Dynamic Rolling Sum

    That does it. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Turn Dynamic Horizontal Chart into 12-month rolling
    By robbrown in forum Excel General
    Replies: 7
    Last Post: 12-27-2015, 05:22 PM
  2. [SOLVED] dynamic range combined with rolling average
    By Bax in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2015, 05:10 AM
  3. Automatic or dynamic rolling month
    By Akatecho in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-31-2014, 06:27 AM
  4. 3 month rolling - dynamic
    By Armitage2k in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-05-2014, 09:26 AM
  5. More dynamic to rolling chart
    By mario17 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-06-2014, 07:10 AM
  6. Rolling 12 Month Dynamic Calculation
    By bapswarrior in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-29-2013, 04:37 PM
  7. [SOLVED] Dynamic rolling chart
    By katy1985 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-13-2013, 03:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1