+ Reply to Thread
Results 1 to 7 of 7

Break down cumulative sum of increments by Month - Please help

  1. #1
    Registered User
    Join Date
    06-22-2021
    Location
    US
    MS-Off Ver
    2016
    Posts
    4

    Lightbulb Break down cumulative sum of increments by Month - Please help

    Good afternoon everyone
    I am trying to find a formula or VBA function that breaks down a sum of acquisitions per month.
    The case is pretty straightforward and simply explained in the excel sheet.
    See attached for more details.
    Thanks for your help
    Danny
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Break down cumulative sum of increments by Month - Please help

    You can use this formula in cell D3:

    =COUNTIF($C:$C,D2)

    then copy across as required.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-22-2021
    Location
    US
    MS-Off Ver
    2016
    Posts
    4

    Re: Break down cumulative sum of increments by Month - Please help

    Thanks Pete for the quick answer but this is not what I'm looking for.

    Range (C7:C32) are values entered manually and these values are the outcome that I'm looking to generate dynamically through excel or vba.

    For instance:
    - Car #1 (cell D3) is purchased at Month 1 (cell D2)
    - Car #4 and Car #5 (cell G3) are purchased at Month 4 (cell G2)
    ==> The complexity in the last example is that Car # 4 and Car # 5 are located within an interval (3 and 5 or cells F4 & G4).

    My goal is to display "Month 4" in cells C10 & C11 etc....

    Please let me know if this needs more clarification
    Re-attaching the Excel with case study.
    Thanks
    Danny
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Break down cumulative sum of increments by Month - Please help

    Okay, put a zero in cell C4, then you can use this formula in C7:

    =IFERROR(INDEX($D$2:$O$2,MATCH(ROWS($1:1)-1,$C$4:$O$4)),"")

    Copy down as required.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    06-22-2021
    Location
    US
    MS-Off Ver
    2016
    Posts
    4

    Thumbs up Re: Break down cumulative sum of increments by Month - Please help

    Pete - this works perfectly. Thank you very much

    Danny

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Break down cumulative sum of increments by Month - Please help

    Glad to hear that, and thanks for marking the thread as Solved.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  7. #7
    Registered User
    Join Date
    06-22-2021
    Location
    US
    MS-Off Ver
    2016
    Posts
    4

    Re: Break down cumulative sum of increments by Month - Please help

    Absolutely thanks Pete

+ 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] Power Query - cumulative per month, but in one row
    By afgi in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 02-21-2020, 04:19 AM
  2. [SOLVED] Cumulative Sum based on Month Chosen
    By Petecart77 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-13-2018, 06:19 AM
  3. Replies: 3
    Last Post: 03-20-2018, 02:04 AM
  4. [SOLVED] Create dynamic rolling 3 month data that increases in one month increments
    By v_pilling in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-24-2017, 01:33 PM
  5. Replies: 1
    Last Post: 04-10-2013, 09:13 AM
  6. [SOLVED] Summing cumulative daily values for each month then resetting next month
    By JaredZ in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-21-2012, 06:04 AM
  7. date list in 1 month increments
    By bcamp1973 in forum Excel General
    Replies: 6
    Last Post: 03-08-2006, 02:24 PM

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