+ Reply to Thread
Results 1 to 6 of 6

SUMIF does not return sum value

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    8

    SUMIF does not return sum value

    Trying to calculate the monthly volume with sumif but the result still shows 0.
    Anyone can help?

    Capture.PNG

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,523

    Re: SUMIF does not return sum value

    You appear to be comparing a date (dd/mm/yy) with a month (10) so it will never match.

    Try

    =SUMIFS(C4:C7,A4:A7,">=" &DATE(YEAR(TODAY()),$B$1,1),A4:A7,"<=" &EOMONTH(DATE(YEAR(TODAY()),$B$1,1),0))

    or better

    put 01/10/2017 in B1

    format as "m"

    =SUMIFS(C4:C7,A4:A7,">=" &$B$1,A4:A7,"<=" &EOMONTH($B$1,0))

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: SUMIF does not return sum value

    Or you could use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: SUMIF does not return sum value

    Or even simpler:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-08-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: SUMIF does not return sum value

    Thank you for the explanation Olly and JohnTopley. Both method works.

    I'ver tried using the method intro by this web but it didn't work. Any idea why my my initial method doesn't work? date issue?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,700

    Re: SUMIF does not return sum value

    John explained why in post #2.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. SUMIF to return blank if value not available
    By maw230 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-21-2015, 03:11 PM
  2. SUMIF and Return text on 2 criteria
    By ABSTRAKTUS in forum Excel General
    Replies: 8
    Last Post: 10-10-2015, 01:36 PM
  3. [SOLVED] SUMIF - If there is no value to return, return "NO DATA TO DISPLAY"
    By Ben1985 in forum Excel General
    Replies: 3
    Last Post: 12-01-2013, 05:40 PM
  4. Fix SUMIF to return value of zero if match isn't found
    By chouston in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-04-2013, 11:04 AM
  5. SUMIF-incorrect return
    By ExcelNewby in forum Excel General
    Replies: 2
    Last Post: 11-08-2007, 04:42 AM
  6. [SOLVED] sumif to return an intersection?
    By EllenG in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-25-2006, 06:55 PM
  7. [SOLVED] return SUMIF
    By David French in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-17-2005, 02:06 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