+ Reply to Thread
Results 1 to 10 of 10

YTD total from beginning of year to last month

  1. #1
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    YTD total from beginning of year to last month

    I'm using the formula below to total all the sales for 2015 from the beginning of the year through today. It works perfect

    =SUMIFS(Table_Query_from_P[HLn Total],Table_Query_from_P[Our Ref Trim],Dashboard!$B42,Table_Query_from_P[CustID],"<>KA",Table_Query_from_P[Year],$C$40,Table_Query_from_P[Ship Date],"<="&TODAY())


    For a separate report, I need to modify the formula to not count the days in the current month. Example, today is the 4 day of June. I need the formula to not included these 4 days of June in the total. My report title is "This Year To The End Of May"

    Any suggestion?

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: YTD total from beginning of year to last month

    Maybe remove the
    Please Login or Register  to view this content.
    from the end of the formula?

    Edit* Never mind, I didn't retain that you only wanted till may, so this wont work.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: YTD total from beginning of year to last month

    I have a Month column so I was trying to get this to work......
    =sumifs.......................,Table_Query_from_P[Month],"<"&MONTH((TODAY())

    but it didn't work

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: YTD total from beginning of year to last month

    Have you tried fitting EOMONTH into the formula somewhere? I don't know where to put it, but it seems to me (by my logic anyway, which has been wrong before) that it should work.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: YTD total from beginning of year to last month

    @rs1aj

    you get better help if you add a small excel file, without confidential information.

    Please also add the expected result manualy in the file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: YTD total from beginning of year to last month

    This is an example. I need the formula to not sum the sales in the current month we are in. So, I need it to add up all the sales from Jan 1, 2015 through the last day of May. I need this formula to be volatile so that when it is opened on July 1, the formula will only add up sales from Jan 1, 2015 through the last day of June.

    The title is ="This Year to the end of "&C4 and C4 has a volatile formula that displays the name of last month.
    Attached Files Attached Files
    Last edited by rs1aj; 06-04-2015 at 05:28 PM.

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: YTD total from beginning of year to last month

    With helpcolumns and a pivot table.

    I also added the running total in the file.

    See the attached file.

  8. #8
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: YTD total from beginning of year to last month

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

  9. #9
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: YTD total from beginning of year to last month

    Thank you jhren, the formula worked perfect.

  10. #10
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: YTD total from beginning of year to last month

    You're quite welcome!

+ 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. Running Totals from 24 hours to month, month to year without year decreasing
    By Safetyintern in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2015, 01:13 PM
  2. [SOLVED] Help with formula to give me a total by month and year end for each driver.
    By mhenders00 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-16-2015, 02:00 PM
  3. [SOLVED] How to calculate Year, Month and Day from total number of days?
    By Indra Rai in forum Excel General
    Replies: 4
    Last Post: 06-25-2014, 02:08 PM
  4. how to calculate the total absences within a year per month
    By paularhea09 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-31-2013, 08:32 AM
  5. If Column A Month and Year = ColumnB Todays Month and Year then send email
    By HACCStaff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2013, 12:47 AM

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