+ Reply to Thread
Results 1 to 8 of 8

#n/a errors

  1. #1
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    #n/a errors

    So I use V Look up and sometimes the cell populates with #n/a The problem I have is when I try and use conditional formatting with colors I can't get it to work. So I'm wondering 2 things.

    1, is there an easy way to change all #n/a cells with either a 0 or another word/text.

    2, is there a way to set up conditional formatting to highlight any cell with #n/a.

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: #n/a errors

    1. Use IFERROR(your formula,0)

    2. see 1


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Re: #n/a errors

    Quote Originally Posted by TMS View Post
    1. Use IFERROR(your formula,0)

    2. see 1


    Regards, TMS
    Confused here.

    I have a V Look up formula in the cell.

    =VLOOKUP(A2,'1530'!A:E,5,FALSE)

    Formula like that is either giving me a # or a #n/A. How can i incorporate IFERROR in there.

  4. #4
    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,929

    Re: #n/a errors

    Just as Trevor suggested, wrap your formula in IFERROR()...
    =IFERROR(VLOOKUP(A2,'1530'!A:E,5,FALSE),0)

    In CF, you can use "Format Cells That Contain" and then select Errors from the drop-down
    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

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: #n/a errors

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

  6. #6
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Re: #n/a errors

    Thank you both! Worked great!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: #n/a errors

    You're welcome. Thanks for the rep.

  8. #8
    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,929

    Re: #n/a errors

    Happy to help, thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. #DIV/0! Errors?
    By Jamer in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-06-2014, 11:05 AM
  2. Excel Throwing Circular Errors When No Errors Exist
    By MDW in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2006, 09:20 AM
  3. [SOLVED] Look for Errors
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2006, 11:15 AM
  4. #DIV/0! Errors
    By Cindy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-30-2006, 12:35 PM
  5. [SOLVED] Any errors in this?
    By Frazer in forum Excel General
    Replies: 0
    Last Post: 08-19-2005, 04:05 PM
  6. [SOLVED] sum errors
    By Mark Goodwin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-04-2005, 11:06 PM

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