+ Reply to Thread
Results 1 to 3 of 3

IF Function-Logical Vlookup Error

  1. #1
    Registered User
    Join Date
    09-11-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    3

    IF Function-Logical Vlookup Error

    Hi,

    I am trying to lookup J3 to see if it is also in the VSN spreadsheet and if it is there, then pull it into the current spreadsheet. However, if it is not in the VSN spreadsheet then, the use the original value/word in J3.

    The logical function works if the item is in the VSN spreadsheet, but I get N/A# when it is not. I have formatted the columns as numbers even if they contain text.

    Can someone please help?

    =IF(J3=(VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,1,FALSE)),VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,3,FALSE),J3)

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: IF Function-Logical Vlookup Error

    Try

    =iferrror(IF(J3=(VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,1,FALSE)),VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,3,FALSE),J3),"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    09-11-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    3

    Cool Re: IF Function-Logical Vlookup Error

    It worked! Thank you so much!


    Quote Originally Posted by Fotis1991 View Post
    Try

    =iferrror(IF(J3=(VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,1,FALSE)),VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,3,FALSE),J3),"")

+ 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