+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : sumifs formula resulting in 0

  1. #1
    Registered User
    Join Date
    06-12-2011
    Location
    Eilat, Israel
    MS-Off Ver
    Excel 2007
    Posts
    4

    sumifs formula resulting in 0

    I am trying to use sumifs to sum number values under multiple criteria. The formula is valid yet I receive 0 as the solution which it defintely is not. This is the formula:

    =SUMIFS(DEKLAIM!C:C,DEKLAIM!A:A,F7+0,DEKLAIM!B:B,"work")
    Any ideas or suggestions would really be appreciated.

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

    Re: sumifs formula resulting in 0

    If you use COUNTIFS to check the two conditions what do you get?

    =COUNTIFS(DEKLAIM!A:A,F7+0,DEKLAIM!B:B,"work")

    If that gives zero too then your problem is presumably with one or both of those conditions, what's in F7, why are you adding zero?

    If the above gives a non-zero result then possibly the "numbers" in the sum range are formatted as text....in which case they won't sum. Try converting that range to numeric values, select column C and use

    Data > Text to columns > Finish
    Audere est facere

  3. #3
    Registered User
    Join Date
    06-12-2011
    Location
    Eilat, Israel
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: sumifs formula resulting in 0

    One of the criteria comes from a pivot table that queries an erp database. adding +0 changes the text format to number. When I apply the sumifs with only one criterion I receive a proper result regardless of which criterion I use. I tried your suggestion with countifs as well with the same result - one criterion brings a proper result, two criteria bring a result of 0.

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

    Re: sumifs formula resulting in 0

    OK, Rich, that sounds like everything is working OK - are you aware that SUMIFS will only sum the rows where both criteria are satisfied? Are you sure you have some rows where both criteria apply?

  5. #5
    Registered User
    Join Date
    06-12-2011
    Location
    Eilat, Israel
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: sumifs formula resulting in 0

    Yes, I am aware. I am quit sure that in my example both criteria are satisfied. I wonder if this being a foreign language, right to left array ( Hebrew ) can effect the sumifs. I doubt it but I am going to try a few controlled experiments. Thanks for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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