+ Reply to Thread
Results 1 to 9 of 9

Removing #N/A

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Removing #N/A

    Hi All

    I got this code from browsing around the web looking for an answer.....

    Please Login or Register  to view this content.
    What i want is for the code to remove any #N/A cells in my sheet, i have used a index and match formula to look up values for me, and it returns a lot of #N/As but because this sheet can change at any time i dont want to delete out the #N/As i want the formula to stay in the cells, but cant build in an isna or iserror formula with the index and match formula.

    Basically i want this code to turn any #N/As in the worksheet to 0 or - but only by clicking the command button?

    Would anyone know how this can be done?

    Dan

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Removing #N/A

    Use Iferror function with your formula

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: Removing #N/A

    ok il give that a go thanks

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Removing #N/A

    May also be

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-15-2013
    Location
    Makati, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Removing #N/A

    Hi,

    Can you help me with how to use remove n/a to my vlookup formula?

    My formula is =VLOOKUP(C100,'MCS Agents list'!$D$5:$G$23,2,1)....

    pleeeeeeese!!!!!!!!!!!!!!!
    Last edited by jevelvel; 06-15-2013 at 07:24 PM. Reason: SOLVED

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Removing #N/A

    Hi jevelvel and welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: Removing #N/A

    Try.....

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Or

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by shiftyspina; 06-15-2013 at 07:27 PM. Reason: formula wrap

  8. #8
    Registered User
    Join Date
    06-15-2013
    Location
    Makati, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Removing #N/A

    thanks!

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Removing #N/A

    shiftyspina...
    Your post does not comply with Rule 7 of our Forum RULES. Please do not ignore requests by Administrators, Moderators and senior forum members regarding forum rules.

    If you are unclear about the request or instruction then send a private message to them asking for clarification. Do not post a reply in a thread where a moderator has requested an action that has not yet been complied with e.g Title change or Code tags...etc

+ 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