+ Reply to Thread
Results 1 to 4 of 4

Help on cumulative summation with drop off after 36 months

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Help on cumulative summation with drop off after 36 months

    Hey excel whiz kids,

    I'm trying to create a monthly lease expense schedule for iPad purchases where the purchases occur almost every month. The lease will be for 36 months. I'd like to have my cumulative lease payments calculate in just one line, rather than create 36 individual payment lines. I am trying to accomplish this by using a cumulative summation as shown in the attached excel. My issue is how do I make the first months payment drop off after 36 months, then have the first two months payments drop off after 37 months.....so on and so forth. I have been looking around for a solution but have not been able to figure one out. Any help will be greatly appreciated. I have attached the excel that explains the issue and shows my calculations.

    Thanks in anticipation

    Aman
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Help on cumulative summation with drop off after 36 months

    Welcome to the forum.

    This should do it for you - enter in D14 and drag along:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    What it does is check if there's a number in the column 35 to the left of the reference (D12, then D13 as you drag, and so on). If so, it will sum from that column to the reference - so 36 columns in total. If not, it will sum from column D to the reference.

    A possible alternative might be this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    What this one does is attempt to sum to the reference cell (D12, E12, and so on) from 35 columns before (so 36 in total). If that generates an error, then it sums from $D12 to the reference cell. A quick check seems to show that this gives the same results, but I'm not sure how it's handling the blank cell of C12, so I would recommend the previous formula instead, just in case.

    Hope that helps.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Help on cumulative summation with drop off after 36 months

    Thanks Much for the help. While I was waiting for some response, I came up with a formula as well:

    SUM(INDEX($D$10:$CC$10,,IF((E7-$D$7)<36,1,(E7-36+1))):E10)

    But looks like your formula is much more elegant as for mine to work, I have to number the columns in row seven starting with D7 as 1.

    Regards,
    Aman

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Help on cumulative summation with drop off after 36 months

    You're welcome.

    If you keep the numbers in row 7 then another option is to put the below formula in AM14 then drag right and left - it'll get lots of errors in the formulae as you drag it left, which is why you have to start in column AM.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Progressive/Cumulative summation and % Calculation
    By kk2015 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2015, 04:07 PM
  2. Cumulative summation
    By Bebbspoke in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2015, 05:54 AM
  3. [SOLVED] Dynamic cumulative SUM RANGE - different months
    By epsiloni in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-15-2013, 11:36 AM
  4. [SOLVED] summation of months data
    By djwaz69 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2012, 02:56 AM
  5. Cumulative summation
    By Tommy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2012, 12:21 PM
  6. Cumulative total on months by Agent
    By jayjaysb in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-28-2011, 07:09 PM
  7. Cumulative months between dates
    By jpg1982 in forum Excel General
    Replies: 2
    Last Post: 02-19-2009, 03:33 PM

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