+ Reply to Thread
Results 1 to 10 of 10

SUMIFS date range problem

  1. #1
    Registered User
    Join Date
    04-19-2015
    Location
    Durham
    MS-Off Ver
    Excel 2020
    Posts
    26

    Question SUMIFS date range problem

    Hi everyone,

    I'm currently creating a spreadsheet that calculates Payments and Expenses, on Excel 2013.

    I am using a SUMIFS formula to calculate values within a data range (monthly) and matches another criteria, and it works for the majority of cells. However, it does not appear to work for some months such as April, June, September, November and February, and I cannot work out why.

    The Excel spreadsheet is attached, and any help would be hugely helpful!

    Cheers!

    Simple personal cash flow statement1.xlsx
    Last edited by heyryy; 04-19-2015 at 09:24 AM.

  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: SUMIFS date range problem

    Your date format for those months (April, June etc.) in the end column are formatted DD/MM/YYYY whereas all the other dates are formatted as MM/DD/YYYY

    Wait, that didn't change anything.
    Last edited by gmr4evr1; 04-19-2015 at 09:35 AM.
    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
    Registered User
    Join Date
    04-19-2015
    Location
    Durham
    MS-Off Ver
    Excel 2020
    Posts
    26

    Re: SUMIFS date range problem

    I have formatted all months to be DD/MM/YYYY, though there are no changes to the result.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: SUMIFS date range problem

    Do you know the rhyme: 30 days hath September, April, June and November, the rest have 31, except February, which has 28 ... except in a Leap Year when it has 29. OK, it's not much of a rhyme.

    But, what do you notice about the months listed? Have a look at your table of end dates and fix it

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Registered User
    Join Date
    04-19-2015
    Location
    Durham
    MS-Off Ver
    Excel 2020
    Posts
    26

    Re: SUMIFS date range problem

    That never even entered my mind actually.

    I knew it would be something simple, but thanks!

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

    Re: SUMIFS date range problem

    I was just looking at that myself TMS. I'm not the OP, but I have no clue why it matters in this case.

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

    Re: SUMIFS date range problem

    Never mind, I figured it out, duh

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: SUMIFS date range problem

    You're welcome. Thanks for the rep.

  9. #9
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS date range problem

    Quote Originally Posted by gmr4evr1 View Post
    ..... but I have no clue why it matters in this case.....
    If you have a value in a cell like 31/02/2015 then Excel recognises that as a text value, not a date, so the SUMIFS doesn't work because those type of functions will only compare text to text and numbers to numbers
    Audere est facere

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: SUMIFS date range problem

    Just use this formula to get the last date of the month in cell C3 sheet Dates, then drag down:

    =EOMONTH(B3,0)
    Quang PT

+ 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. [SOLVED] sumifs function to calculate dynamic range sum problem
    By xs2deepak in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-25-2013, 04:24 PM
  2. MAXA & SUMIFS data range problem
    By rwabennett in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-26-2012, 07:44 AM
  3. Sumifs with date range - help please!
    By RuthieRu in forum Excel General
    Replies: 4
    Last Post: 08-14-2012, 05:50 AM
  4. [SOLVED] Using SUMIFS with a date range
    By millerman6566 in forum Excel General
    Replies: 3
    Last Post: 05-08-2012, 10:33 AM
  5. SUMIFS recognizing date problem....
    By Kenny07 in forum Excel General
    Replies: 2
    Last Post: 03-11-2008, 03:41 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