+ Reply to Thread
Results 1 to 9 of 9

SUMIFS function not recognizing a criteria

  1. #1
    Registered User
    Join Date
    05-31-2018
    Location
    Toronto
    MS-Off Ver
    2013
    Posts
    4

    SUMIFS function not recognizing a criteria

    I cannot get my SUMIFS function to recognize one of my criteria. My formula is
    =SUMIFS(A:A,B:B,"=1",C:C,"<="&TODAY(),D:D,"<>"&C:C)

    Total Status Dock_Date Ship_Date
    10 1 08/27/2018 09/01/2018
    20 2 08/25/2018 09/08/2018
    10 1 08/27/2018 08/27/2018


    Column A - TOTAL
    B - Status
    C - Dock Date
    D- Ship date

    The formula works fine if I leave out the last criteria. i.e. Ship date is not equal to DOCK date (D:D,"<>"&J:J)
    =SUMIFS(A:A,B:B,"=1",C:C,"<="&TODAY())

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: SUMIFS function not recognizing a criteria

    What is your expected result?

    BSB

  3. #3
    Registered User
    Join Date
    05-31-2018
    Location
    Toronto
    MS-Off Ver
    2013
    Posts
    4

    Re: SUMIFS function not recognizing a criteria

    Expected Result = 10
    What i get = 20

    It should ignore the last column since the ship is equal to dock date

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: SUMIFS function not recognizing a criteria

    It's not doing what you need. You could use SUMPRODUCT instead:

    =SUMPRODUCT(A1:A1000,(B1:B1000=1)*(C1:C1000<=TODAY())*(D1:D1000<>C1:C1000))

    Note: don't use entire columns!
    Rory

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

    Re: SUMIFS function not recognizing a criteria

    Works fine for me, I get 10.

    Your data is up the creek.
    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.

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: SUMIFS function not recognizing a criteria

    Rory beat me to it. SUMIFS doesn't let you compare a range against a range as per your last argument in the formula but SUMPRODUCT will.

    However, when I replicate your data and formula I get 10 rather than the 20 you get.

    BSB

  7. #7
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: SUMIFS function not recognizing a criteria

    Depends which row you enter the formula in, since you get an implicit intersection.

  8. #8
    Registered User
    Join Date
    05-31-2018
    Location
    Toronto
    MS-Off Ver
    2013
    Posts
    4

    Re: SUMIFS function not recognizing a criteria

    Thanks for the help. The SUMPRODUCT function works. I did not know that SUMIFS doesn't let you compare a range.

  9. #9
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: SUMIFS function not recognizing a criteria

    Quote Originally Posted by rorya View Post
    Depends which row you enter the formula in, since you get an implicit intersection.
    Aha, of course!

    BSB

+ 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. Using Sumifs when the criteria is a function of two columns
    By hatzopoulos in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-31-2015, 09:00 PM
  2. [SOLVED] SUMIFS Function with an OR Statement In One Criteria
    By nevi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-20-2014, 03:31 AM
  3. [SOLVED] =SUMIFS Function - mutliple criteria
    By tdsmith14 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2014, 05:19 PM
  4. [SOLVED] SumIfs function in VBA with Date as one criteria
    By Bezzie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-08-2013, 12:11 PM
  5. SUMIFS w/ multiple criteria and an or function
    By jacobkmc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2013, 09:22 PM
  6. SUMIFS function with calculated criteria
    By RollsWRangler in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2013, 11:35 AM
  7. 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