+ Reply to Thread
Results 1 to 5 of 5

How to truly hide an error?

  1. #1
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2003
    Posts
    129

    Red face How to truly hide an error?

    Hi,

    I use formulas that can come across errors such as divide by zero occasionally, it's just the nature of the data not being available on occasion.

    Previously i have used conditional formatting to make the text white if there is an error. This is a very, ermm, dumb, way to do it. But it works. Kinda.

    "Kinda" is the issue here. When iIwent to print my smart looking powerpoint presentation that made use of my excel tables, to my horror, the printer decided to ignore that the text was white on white formatting and just print it black, so these usgly errors are visible in my table!

    Alright to cut the rant short and get to the point, is there a way to truly ignore these errors, including when transferring the data into powerpoint and when printing? (I assume theres an option when printing to not do this, but still it makes more sense to solve the root of the problem instead.) to either show a blank box, or a 0.

    Thanks.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: How to truly hide an error?

    use

    =IFERROR(YourFormula,"")

    or for 2003 and under

    =IF(ISERROR(YourFormula),"",YourFormula)

    that will show a blank box for both situations
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: How to truly hide an error?

    You need to put it in the formula:
    PHP Code: 
    IF(ISERROR(A1/2),"",A1/2

  4. #4
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: How to truly hide an error?

    Thanks so much twiggy. Works exactly as intended, very simple, too!

    Only complaint now, is that with my Excel 2003, it's quite a lot of effort to copy paste + amend the formula for every time it's required. But I'll cope, haha. (I am aware of Excels ability to autofill lots of cells that would allow me to do this very easily in some cases. Unfortuantely my tables are built with no sense of pattern so the autofill would not really help (There being no pattern can't be helped, either, again, just the nature of the data i am dealing with.))

    Thanks again Twiggy.

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: How to truly hide an error?

    glad i could help. sorry i cant really help with the rest but sounds liek you could possibly have a macro to do the work for you (but youd need to ask someone else for that as my macro skills are very poor at the moment)

+ 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