+ Reply to Thread
Results 1 to 8 of 8

How to make error formula (#NA) to blank column

  1. #1
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    How to make error formula (#NA) to blank column

    Example :

    MATCH(TRUE,ISNUMBER(SEARCH(C2,$A$1:$A$5)),0) - no match thus appear #NA

    How to make #NA to blank column?
    Last edited by Shermaine2010; 09-29-2011 at 05:39 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: How to make error formula (#NA) to blank column

    You can try putting an "if" formula. If the cell contains #N/A, then "", otherwise the formula.

  3. #3
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,077

    Re: How to make error formula (#NA) to blank column

    Quote Originally Posted by Shermaine2010 View Post
    Example :

    MATCH(TRUE,ISNUMBER(SEARCH(C2,$A$1:$A$5)),0) - no match thus appear #NA

    How to make #NA to blank column?
    This might work:
    =IF(ISNA(MATCH(TRUE,ISNUMBER(SEARCH(C2,$A$1:$A$5)),0)),"",MATCH(TRUE,ISNUMBER(SEARCH(C2,$A$1:$A$5)),0))
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  4. #4
    Registered User
    Join Date
    09-29-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: How to make error formula (#NA) to blank column

    Hi,
    A blank cell appears when "c2" is not found in "A1:A5", but a blank cell appears even when c2 is found in a1:a5. A bit confusing. Could someone explain?

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How to make error formula (#NA) to blank column

    Use this formula:

    =IF(ISNA(MATCH(TRUE,ISNUMBER(SEARCH(C2,$A$1:$A$5)),0)),"",MATCH(TRUE,ISNUMBER(SEARCH(C2,$A$1:$A$5)),0))
    Do not just press "Enter" but Press "Ctrl" + "Shift" + "Enter"

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: How to make error formula (#NA) to blank column

    Here's a non-array formula that might do the same trick.

    Please Login or Register  to view this content.
    Hope this helps.

    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How to make error formula (#NA) to blank column

    Hi Abousetta,

    I must admit that I would also prefer your non-Array formula, but that would depend on the what the situation warrants. i.e. Array Formula shows 1 if C2 And A1:A5 were to be empty, whilts non-array formula shows nothing at all.

  8. #8
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: How to make error formula (#NA) to blank column

    Everything in life depends on so many variables . Some are volatile and others constant... (most are volatile)...

    abousetta

+ 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