+ Reply to Thread
Results 1 to 5 of 5

Excel 2003: Hide #N/A error

Hybrid View

  1. #1
    Registered User
    Join Date
    01-12-2009
    Location
    boston
    MS-Off Ver
    Excel 2003
    Posts
    58

    Excel 2003: Hide #N/A error

    Hi,

    I know how to "hide" this error, per se, Viz. conditional formatting. But there's still that stupid little red triangle in the upper left corner of the cell -- this is what I need to get rid of! I really don't care if I need to disable this error for the entire sheet. Anyone know how???

    Thanx a lot,
    Jeff
    Last edited by gandolff; 01-15-2009 at 10:05 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Knowing there is an error is actually useful, but if you want to suppress it altogether, you can wrap whatever formula is in there into an IFERROR formula.

    Let's say the formula in there now is:

    =A1/B1*3

    To test that for an error, wrap it like so:

    =IF(ISERROR(A1/B1*3),"",A1/B1*3)


    The only downside is that formula has to run twice every time it's successful. But it's a small sin.

    Another way is to know WHERE the error is coming from, such as no data in B1. In that case just check that cell first:

    =IF(B1,A1/B1*3,"")
    or
    =IF(B1=0,"",A1/B1*3)

    You get the idea.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    01-12-2009
    Location
    boston
    MS-Off Ver
    Excel 2003
    Posts
    58
    Thanx, bud. I was using =ISNA() w/CF, but this created adscititious problems, erg!... "All is one, and one is all".

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Great!

    If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED]

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    What problems were caused by Conditional Formatting?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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