+ Reply to Thread
Results 1 to 5 of 5

Is Error with Sumifs to return blank not 0

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Is Error with Sumifs to return blank not 0

    Hi all

    I have found similar questions on this for Vlookups but not with Sumifs so here's my problem.
    I have this formula and I need it to return blank not 0 , using other threads I added another level but to no avail - please help! :-)

    Original:

    =IF(ISERROR(SUMIFS(Data!$E:$E,Data!$C:$C,'Own Brand Data New'!AA$1,Data!$A:$A,'Own Brand Data New'!$B2)),"""",(SUMIFS(Data!$E:$E,Data!$C:$C,'Own Brand Data New'!AA$1,Data!$A:$A,'Own Brand Data New'!$B2)

    Then tried:

    =IF(ISERROR(SUMIFS(Data!$E:$E,Data!$C:$C,'Own Brand Data New'!AA$1,Data!$A:$A,'Own Brand Data New'!$B2)),"""",IF(SUMIFS(Data!$E:$E,Data!$C:$C,'Own Brand Data New'!AA$1,Data!$A:$A,'Own Brand Data New'!$B2)="""","""",SUMIFS(Data!$E:$E,Data!$C:$C,'Own Brand Data New'!AA$1,Data!$A:$A,'Own Brand Data New'!$B2)))

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Is Error with Sumifs to return blank not 0

    The problem is that a 0 (Zero) is NOT an error, it's a perfectly valid numerical value.
    So the ISERROR function returns FALSE.

    So instead, try

    =IF(SUMIFS(...)=0,"",SUMIFS())

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Is Error with Sumifs to return blank not 0

    Or

    =IFERROR(1/(1/SUMIFS(...)),"")

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Is Error with Sumifs to return blank not 0

    Try this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    You can simplify (with Excel 2007 and up)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Do either of those work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    10-17-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Is Error with Sumifs to return blank not 0

    Hi all

    I know 0 isn't technically an error but to me it is lol!

    I went for ChemistB's answer of =IFERROR(IF(SUMIFS(Data!$E:$E,Data!$C:$C,'Own Brand Data New'!AB$1,Data!$A:$A,'Own Brand Data New'!$B2)=0,"",SUMIFS(Data!$E:$E,Data!$C:$C,'Own Brand Data New'!AB$1,Data!$A:$A,'Own Brand Data New'!$B2)),"")

    and this works great thanks - I should have been able to work this out myself but sometimes I am too clsoe to the problem I can't see the wood for the trees!!! :-)

+ 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: 5
    Last Post: 07-02-2017, 10:25 AM
  2. [SOLVED] SUMIFS error with blank cells. Fix or workaround?
    By AshleyCooper in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-22-2013, 01:44 AM
  3. [SOLVED] sumifs excel 2007 error return 0
    By marian3232 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-18-2013, 04:15 PM
  4. [SOLVED] Return Blank instead of $0.00 in sumifs
    By guyrs in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-27-2010, 05:07 AM
  5. Return blank instead of error
    By Pupil in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-13-2007, 12:23 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