+ Reply to Thread
Results 1 to 3 of 3

Blank out some cells with certain outputs

  1. #1
    Forum Contributor
    Join Date
    05-12-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    219

    Blank out some cells with certain outputs

    Hi all,

    I have few formulas in some cells. Is there anything that can help me turn any cell with #DIV/0! or #Value! symbol into blank?

    Thank you all,
    VBisgreat

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Blank out some cells with certain outputs

    VBisgreat,

    What you're looking for is the ISERROR formula. ISERROR will check if a value returns an error, and if so, outputs true (if not, it outputs false). Using this knowledge, you can combine it with an IF formula to take advantage of the true/false output and set the output to desired. In this case, if it returns true, the output should be "".

    Using an example:
    • If you are dividing cell B1 by cell A1, you would use =B1/A1
    • However, if A1 = 0 then the result will be an error.
    • To avoid the error ouput, you can change the formula to the following:
    • =IF(ISERROR(B1/A1),"",B1/A1)
    • Now the formula will only show the result if A1 is not 0, and if it is 0, the formula will show a blank cell

    Hope this helps,
    ~tigeravatar

  3. #3
    Forum Contributor
    Join Date
    05-12-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    219

    Re: Blank out some cells with certain outputs

    Thank you very much!!!
    VBisgreat

+ 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