+ Reply to Thread
Results 1 to 2 of 2

Summing YTD and Last 12 months

  1. #1
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Summing YTD and Last 12 months

    I may be may be over thinking this more than is necessary, but can't get my head around the formula to sum up a dynamic range of columns.

    Essentially, I am placing a date into a cell. And have a table of data that shows the last 24 months of data.

    I am trying that when the user enters a date, it would return the following information

    the current month vs the prior year month
    The sum of last 12 months (TTM) vs the prior year last 12
    the year to date (Jan is first month, vs the prior year YTD

    And I would restrict the user input to only allow a date in the last 12 months. Thus, including 24 months of data should cover the time frame.

    I'm not sure if some type Sum function with an Index/Match or Offset is the way to go or not?

    Little sample attached with 24 months of data for a row of the data.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Re: Summing YTD and Last 12 months

    I think I got it figured out with a SumIf function like such:

    [code
    =SUMIFS(G7:AE7, G6:AE6, ">"&EDATE(A2,-12), G6:AE6, "<="&A2)
    [/code]

+ 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. Summing for months and customer
    By kjohnson6 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2018, 05:53 PM
  2. [SOLVED] Summing Totals in Months
    By yuenk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2017, 05:33 PM
  3. Summing Months Together
    By skillsguy in forum Excel General
    Replies: 19
    Last Post: 01-03-2015, 09:36 PM
  4. [SOLVED] Help With Summing The Total $ Between Months
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-06-2014, 06:28 PM
  5. [SOLVED] Summing Specific Months Using Checkboxes
    By bbg22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2013, 02:10 AM
  6. Summing 12 Months of Data Per Account
    By qdub in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2011, 05:02 PM
  7. Summing months from weeks
    By eyebitter in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2006, 05: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