+ Reply to Thread
Results 1 to 3 of 3

VLookup, Named Ranges and IF

  1. #1
    Registered User
    Join Date
    10-24-2005
    Location
    Lake Forest, CA
    MS-Off Ver
    2007
    Posts
    56

    Thumbs up VLookup, Named Ranges and IF

    =VLOOKUP('ITEM ADD-CHG Form'!Z19,Brand_V,2,FALSE)

    Another wrench!

    If the value in cell Z19 is not found in the named range "Brand_V", the formula returns #N/A

    I need to replace #N/A with the verbiage DEF while leaving the other results intact.
    Last edited by amthyst826; 02-19-2010 at 07:15 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: VLookup, Named Ranges and IF

    Which version of Excel are you using? In Excel 2007 you can use IFERROR, i.e.

    =IFERROR(VLOOKUP('ITEM ADD-CHG Form'!Z19,Brand_V,2,FALSE),"DEF")

    or in earlier versions

    =IF(ISNA(VLOOKUP('ITEM ADD-CHG Form'!Z19,Brand_V,2,FALSE)),"DEF",VLOOKUP('ITEM ADD-CHG Form'!Z19,Brand_V,2,FALSE))

  3. #3
    Registered User
    Join Date
    10-24-2005
    Location
    Lake Forest, CA
    MS-Off Ver
    2007
    Posts
    56

    Re: VLookup, Named Ranges and IF

    Awesome! Thank you very much!!!

+ 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