+ Reply to Thread
Results 1 to 8 of 8

New to website... How to calculate the sum of last 3 months rolling over each new month!

  1. #1
    Registered User
    Join Date
    08-09-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    7

    New to website... How to calculate the sum of last 3 months rolling over each new month!

    Hi I am new and I have been trying to work out my problem for so long I am pulling my hair out.

    I am trying to calculate the sum of the last 3 months when new data is added every month without having to change the formula.
    Like this;
    For the last 3 months
    Aug-13 5
    Sep-13 4
    Oct-13 4

    Nov-13
    Dec-13
    Jan-14
    Feb-14
    Mar-14

    Then when I add data it calculates the sum for the last 3 months - now leaving august out and moving down to november
    Aug-13 5
    Sep-13 4
    Oct-13 4
    Nov-13 4

    Dec-13
    Jan-14
    Feb-14
    Mar-14

    I need it to be laid out how I have laid it out in my excel spreadsheet.

    I have tried the offset function and it does not work and other formulas only calculate sum of one month.

    I have also tried to manually input formula but it doesn't work either.

    I have attached the data and I cant change the layout because this needs to be spread company wide. I need the figure for jobs to appear in K6 and the figure for CVsent to appear in L6 an so on.

    Imagine I am adding new figures every month.

    I know the formula is something like =sum(3months)-previous month but this has to be running.

    I have attached the data. Please help. I hope I am making sense.
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: New to website... How to calculate the sum of last 3 months rolling over each new mont

    This one took a little research, but here you go:

    Plop this into K6:

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

  3. #3
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: New to website... How to calculate the sum of last 3 months rolling over each new mont

    try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    With most of the credit going to http://www.excelforum.com/excel-form...y-formula.html
    Don't just use the answers provided for you. Try to understand how it works by reverse engineering or asking about it.

    Please mark the thread as [SOLVED] (Thread Tools->Mark thread as Solved) when answered.
    If you're happy with an answer given, please click the * under the person's name to boost their reputation.

  4. #4
    Registered User
    Join Date
    08-09-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: New to website... How to calculate the sum of last 3 months rolling over each new mont

    Thanks Daffodil11. This was perfect and so easy to ammend!

  5. #5
    Registered User
    Join Date
    08-09-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: New to website... How to calculate the sum of last 3 months rolling over each new mont

    I appreciate the help Craig K - my friend had a look at your formula and she let me know this is the way she would do it to - so thanks!

  6. #6
    Registered User
    Join Date
    08-08-2013
    Location
    Frankfurt, Germany
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: New to website... How to calculate the sum of last 3 months rolling over each new mont

    Hi,


    I have thought about your problem for some time now and would believe the below/attached is a good solution.

    Instead of working with any date formulas I have simply counted the records to identify the last three values and built a INDEX around it.

    For the first value, formula would be
    =INDEX($B$3:$H$11,COUNT(B3:B11),1)+INDEX($B$3:$H$11,COUNT(B3:B11)-1,1)+INDEX($B$3:$H$11,COUNT(B3:B11)-2,1)

    I am sure there is a better way of doing it but at least it is one possibility. Hope that helps.

    Find my solutions also attached.
    Problem_Solution.xls

    Regards from Germany

  7. #7
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: New to website... How to calculate the sum of last 3 months rolling over each new mont

    Just glad you got the answer you were looking for.

    I, too, really liked Dafodil's solution. Cleaner and more compact than mine, that I had to take some time to understand how it worked. This just goes to show there is usually more than one way to solve any given problem.

  8. #8
    Registered User
    Join Date
    08-09-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: New to website... How to calculate the sum of last 3 months rolling over each new mont

    Thanks for the help Jonny

+ 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. Rolling sum of 12 months against each month based on two criteria
    By agupta5231 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-20-2013, 12:01 AM
  2. Calculate Rolling Sum for Last 12 Months - Variable Entry Intervals
    By jancer in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-10-2012, 03:51 PM
  3. Replies: 2
    Last Post: 06-21-2012, 08:17 PM
  4. Replies: 6
    Last Post: 08-30-2011, 08:47 AM
  5. Rolling 12 months
    By Chris Watson in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-05-2008, 01:58 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