+ Reply to Thread
Results 1 to 9 of 9

SUMIFS Between 2 dates

  1. #1
    Registered User
    Join Date
    02-28-2019
    Location
    Peterborough
    MS-Off Ver
    2013
    Posts
    94

    SUMIFS Between 2 dates

    Hi,

    I am trying to SUMIFS between 2 dates using criteria also but don't seem to be able to get I to work. its a very simple formula I know but hitting a brick wall. I don't think it needs much explaining so I have attach a data set to show the data set and what the expected answer is.

    Hopefully someone can help.

    Regards,
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: SUMIFS Between 2 dates

    1. Column D is text and not dates
    2. None of your column D dates lie within the range specified
    3. Column h is also text and not numbers
    Last edited by Special-K; 09-18-2019 at 07:00 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: SUMIFS Between 2 dates

    I think problem is that values in col D is not a date. It is text which looks like date.
    So there is no possibility to create math criteria like <>.
    And additionally all your 'dates' is May and June 2019 so you can't expect any result for your range 14 Aug - 14 Sep.
    Last edited by KOKOSEK; 09-18-2019 at 06:54 AM.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: SUMIFS Between 2 dates

    Replace the SUMIFS with this

    =SUMPRODUCT((DATEVALUE(D2:D70)>=M3)*(DATEVALUE(D2:D70)<=M4)*(B2:B70=M6)*((H2:H70)+0=M5)*(C2:C70))

  5. #5
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: SUMIFS Between 2 dates

    Format the date using the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and give the right date parameters.

    Attached sheet FYR.
    Attached Files Attached Files
    Last edited by Shareez Saleem; 09-19-2019 at 12:52 AM.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: SUMIFS Between 2 dates

    Quote Originally Posted by Shareez Saleem View Post
    Check this out.
    Date formatted.
    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: SUMIFS Between 2 dates

    Thank you. I have edited.

  8. #8
    Registered User
    Join Date
    02-28-2019
    Location
    Peterborough
    MS-Off Ver
    2013
    Posts
    94

    Re: SUMIFS Between 2 dates

    Hi Guys,

    Oh MY WORD! What a rookie mistake! apologies, such an obvious mistake on my behalf. I hope I didn't waste too much of anyone's time pointing this out (Head in hands in embarrassment). That's what I get for juggling pieces of work at the same time.

    FDibbins - Ill make sure I do this in future. didn't realise of that un-official rule, but makes sense.

    Thanks again all

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: SUMIFS Between 2 dates

    Quote Originally Posted by Kcroft9 View Post
    Hi Guys,

    Oh MY WORD! What a rookie mistake! apologies, such an obvious mistake on my behalf. I hope I didn't waste too much of anyone's time pointing this out (Head in hands in embarrassment). That's what I get for juggling pieces of work at the same time.

    FDibbins - Ill make sure I do this in future. didn't realise of that un-official rule, but makes sense.

    Thanks again all
    That was more directed at Shareez, but it is always a good idea to explain what you want, in words. Oftentimes, that alone, lets you see what you need to do

+ 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. SUMIFS using dates
    By dmoyle2019 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-22-2019, 02:00 PM
  2. SUMIFS between 2 Dates
    By s0nicstang in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-04-2016, 04:06 PM
  3. [SOLVED] SUMIFS with two dates
    By Reapz in forum Excel General
    Replies: 8
    Last Post: 04-16-2015, 04:54 PM
  4. [SOLVED] SUMIFS between dates
    By ed2row5 in forum Excel General
    Replies: 4
    Last Post: 02-16-2015, 11:22 AM
  5. [SOLVED] Sumifs using dates help
    By shivernoz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2014, 12:41 PM
  6. Sumifs between dates
    By rpiggott in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-11-2013, 03:40 PM
  7. [SOLVED] SUMIFS Between two dates
    By nsens in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-17-2013, 06:28 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