+ Reply to Thread
Results 1 to 8 of 8

12 month rolling total - Help!

  1. #1
    Registered User
    Join Date
    11-24-2016
    Location
    England
    MS-Off Ver
    2016
    Posts
    8

    12 month rolling total - Help!

    Hi there,

    So I am not the best when it comes to Excel. I need to calculate what the total income is for the past twelve months for VAT purposes.

    Please can some one explain how I can do this...or provide a formula? I am so confused by it.

    Basically we want the spreadsheet to run for a few years but only calculate the previous twelve months. So when a new month starts it will stop calculating the same month for the previous year and calculate from todays date. (I hope I am making sense with this!) This is just a texting spreadsheet so in the working one there will be several invoices each month with all differ.

    Its not letting me add an image or an attachment so I will do my best to describe it.....

    Invoice Date ¦ Invoice Number ¦ Invoice Amount ¦ Due Date(Set to be auto calculated from 30days from invoice date will turn red if passed this date) ¦ Paid? (will turn green once paid) ¦ Amount Paid ¦ 12 month rolling total. They are the column heads. So I want the last one to calculate everything from Amount Paid.


    https://imageshack.com/i/poOVHuKlj -(hopefully this is a link to an image showing the table I have done)

    Any help is greatly appreciated!!!

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: 12 month rolling total - Help!

    Using the formula: =SUM(G2:G16) in this example ...

    By the way: you can paste that formula into any location you want, it will still display the total amount of the range specified.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-24-2016
    Location
    England
    MS-Off Ver
    2016
    Posts
    8

    Re: 12 month rolling total - Help!

    Hi there,

    Thanks for this but unfortunately its not quite what I'm after.
    I can total cells but I need them to total based on date for only the dates twelve months previous. For VAT purposes we need to make sure we don't go over the threshold in a 12 month period.

    So what we need is based on the money into the business (amount paid) to know what that is total for the previous 12 months. So if it was based off today, we would want it to calculate November 2016 but not October 2015. Then in December it would only calculate the total back to December 2015.

    I am not the best when it comes to this..so I hope this is a little clearer.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: 12 month rolling total - Help!

    Images are pretty useless to work with and the one posted was impossible for me to see much.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: 12 month rolling total - Help!

    Not seeing your data this sumifs should work with adjustments for your columns and dates...
    =SUMIFS(B1906:B1921,C1906:C1921,">3/1/2015",C1906:C1921,"<4/1/2016")
    cells b1906:b1921 are those you sum, C1906:c1921 are where I put my dates and you can adjust them as needed.
    you can change ">" to ">=" if needed, same with the less than. My formula is based on mm/dd/yyyy whereas yours might be dd/mm/yyyy so you may also have to adjust that, and your regional settings might mean you change the commas to semicolons.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: 12 month rolling total - Help!

    This will give you a 12 month running total. The way that the file is set up, the current month isn't included. For example if you choose a month in the date list, that month isn't included.

    =SUMPRODUCT(($A$2:$A$100 > = EDATE(A2,-12))*($A$2:$A$100 < EDATE(A2,0)),$B$2:$B$100)

    The enclosed file also allows you to enter a date and have the calculation performed.
    Attached Files Attached Files
    Last edited by newdoverman; 11-24-2016 at 03:50 PM.

  7. #7
    Registered User
    Join Date
    11-24-2016
    Location
    England
    MS-Off Ver
    2016
    Posts
    8

    Re: 12 month rolling total - Help!

    Hi newdoverman,

    I cannot thank you enough!!

    It works perfectly

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: 12 month rolling total - Help!

    Thank you for the feedback and the rep.

+ 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. Replies: 3
    Last Post: 11-11-2016, 07:46 PM
  2. Calculating Total Sickness in a rolling 12 month Period
    By china in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-08-2015, 08:04 AM
  3. [SOLVED] Fix Formula to total a row by month for a rolling 12 months
    By heresteve2 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-04-2014, 03:52 PM
  4. Replies: 3
    Last Post: 07-16-2014, 02:53 PM
  5. Sum Data in Col B, Add % of Total Col C, Add Rolling % of Total Co
    By SteveC in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2006, 08:50 PM
  6. [SOLVED] How do I set up 12-month rolling month cells in excel?
    By jbh in forum Excel General
    Replies: 2
    Last Post: 11-30-2005, 04:15 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