+ Reply to Thread
Results 1 to 9 of 9

SUMIFS not working with a negative value

  1. #1
    Registered User
    Join Date
    12-10-2010
    Location
    Singapore
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    51

    SUMIFS not working with a negative value

    I’m using formula =SUMIFS (sum_range, range1, criteria1)
    In specific =SUMIFS($F$5:$F$57,$K$5:$K$57,">0"), which works fine when the values in range1 $K$5:$K$57 are all positive. With negative values in range1 $K$5:$K$57 and matching negative values in the sum_range $F$5:$F$57, it evidently doesn't provide the correct outcome with a negative value in range1 ">0". (All cells in sum_range, range1 are numbers).

    I’ve tried, all to no avail:
    =SUMIFS($F$5:$F$57,$K$5:$K$57,"<>0")
    =SUMIFS($F$5:$F$57,$K$5:$K$57,"*")
    =SUMIFS($F$5:$F$57,$K$5:$K$57,">0",$K$5:$K$57,"<0")

    How do I redefine criteria1 “>0” to ensure the SUMIFS includes a negative value in sum_range and range1?

    Can anyone help me?
    Gijs

  2. #2
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: SUMIFS not working with a negative value

    For me it work =SUMIFS($F$5:$F$57,$K$5:$K$57,">0").
    Upload a workbook .

    Try =SUMIFS($F$5:$F$57,$K$5:$K$57,"<>")
    Last edited by Indi_Ra; 07-24-2016 at 03:33 AM.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,731

    Re: SUMIFS not working with a negative value

    >0
    means greater than zero
    so will not sum negative values

    =SUMIFS($F$5:$F$57,$K$5:$K$57,">0",$K$5:$K$57,"<0")
    is saying the values are less than 0 AND greater than zero

    =SUMIF($K$5:$K$57,"<>0",$F$5:$F$57)
    should work - but will also sum blank cells

    Also to avoid any blank cells being included
    =SUMIFS($F$5:$F$57,$K$5:$K$57,"<>",$K$5:$K$57,"<>0")

    i assume you do not want to include zero
    Last edited by etaf; 07-24-2016 at 03:49 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    12-10-2010
    Location
    Singapore
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    51

    Re: SUMIFS not working with a negative value

    WONDERFUL! Works like a charm, thank you Indi_Ra

    have a great rest of the weekend!

  5. #5
    Registered User
    Join Date
    12-10-2010
    Location
    Singapore
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    51

    Re: SUMIFS not working with a negative value

    Greatly appreciated etaf! Thank you for the various solutions and education.

    Have a great rest of the weekend,
    Gijs

  6. #6
    Registered User
    Join Date
    12-10-2010
    Location
    Singapore
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    51

    Re: SUMIFS not working with a negative value

    Greatly appreciated etaf! Thank you for the various solutions and education.

    Have a great rest of the weekend,
    Gijs

  7. #7
    Registered User
    Join Date
    07-01-2019
    Location
    New Jersey
    MS-Off Ver
    2016
    Posts
    18

    Re: SUMIFS not working with a negative value

    Hello,
    Leila has a video on 'sumifs' between dates
    youtube.com/watch?v=XIhbL20jTHc&t=426s

    I have the same type of sheet i'm testing on - with NEGATIVE numbers, and it returns 0

    So if you had her exact sheet - how would the formula look?

    Thank you

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: SUMIFS not working with a negative value

    Administrative Note:

    Hi RLONG98 & Welcome to the forum.

    We are happy to help, however; while you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    HTH
    Regards, Jeff

  9. #9
    Registered User
    Join Date
    07-01-2019
    Location
    New Jersey
    MS-Off Ver
    2016
    Posts
    18

    Re: SUMIFS not working with a negative value

    OK Jeff,
    Thank you -
    I didn't think it was 'hijacking' - but rather furthering a conversation, so I didn't want to inundate searches on SUMIFS and have to many come up.

    I'll post new
    Thank you

+ 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. Replies: 2
    Last Post: 09-30-2015, 11:10 AM
  2. Sumifs not working
    By Rob K in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-26-2015, 03:05 PM
  3. COUNTIFS & SUMIFS Not Grabbing Negative Values
    By boynejs in forum Excel General
    Replies: 4
    Last Post: 11-06-2014, 01:07 PM
  4. SUMIFS not working
    By Luther.King in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2014, 08:02 PM
  5. [SOLVED] SUMIFS not working
    By Krishnab4u in forum Excel General
    Replies: 3
    Last Post: 11-21-2013, 06:31 AM
  6. sumifs not working
    By amartino44 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-07-2013, 08:31 PM
  7. [SOLVED] sumifs not working quite right
    By benoj2005 in forum Excel General
    Replies: 13
    Last Post: 09-19-2012, 10:41 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