+ Reply to Thread
Results 1 to 4 of 4

Ignore, or display blank for cell yielding #DIV/0!

  1. #1
    Registered User
    Join Date
    04-30-2010
    Location
    washington dc
    MS-Off Ver
    Excel 2007
    Posts
    51

    Ignore, or display blank for cell yielding #DIV/0!

    Hi - I am working on a sheet where I need to ignore, or leave blank, cells where #DIV/0! appears. I have tried several different equations including the ifiserror, however, because the cell which is displaying the #DIV/0! is already an if formula, excel is reminding me that I now have too many formulas. Here is the formula that is yielding #DIV/0!, (which it needs to because this is a template workbook), which I need to ignore:

    =STDEVP(IF(DZ7:DZ37 = 0,"",DZ7:DZ37))

    Thanks! Jacob

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Ignore, or display blank for cell yielding #DIV/0!

    Does this work?

    =IF(COUNT(DZ7:DZ37),STDEVP(IF(DZ7:DZ37<>0,DZ7:DZ37)),"")

    confirmed with CTRL+SHIFT+ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-30-2010
    Location
    washington dc
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Ignore, or display blank for cell yielding #DIV/0!

    Nope. Unfortunately it does not work. Any other ideas? I was thinking that if I include an IFISERROR statement in the source formula that is producing the zero... wonder if the STEDPIF and AVERAGEIF would also ignore?

    I'll give it a shot.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Ignore, or display blank for cell yielding #DIV/0!

    My formula was supposed to work if any of the cells in the range have a number... if all cells are blank, which would cause the #DIV/0 error, then it would return a blank.

    How did it not work?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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