+ Reply to Thread
Results 1 to 14 of 14

vlookup text + number not working

  1. #1
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    vlookup text + number not working

    Hi,

    I have 2 worksheets. Need to look up B col description (contains text and numbers) in worksheet 1, and match with Col B in worksheet 2, return value from col G. If I use match partial text, it returns wrong value from col G. If I match exact description, it returns #N/A.

    Please help me. Thanks.

    Vinnie

  2. #2
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: vlookup text + number not working

    If it returns #N/A, then no match was found. Check your columns for trailing spaces or other invisible characters that would prevent an exact match.

  3. #3
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: vlookup text + number not working

    upload the file
    Regards,
    Khaled Elshaer
    www.BIMcentre.com

    Remember To Do the Following....
    1. Thank those who have helped you by clicking the Star below their post.
    2. Mark your post SOLVED if it has been answered satisfactorily:
    • Select Thread Tools (on top of your 1st post)
    • Select Mark this thread as Solved

  4. #4
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: vlookup text + number not working

    Hi,

    I can't file the "attached file" icon.
    Please show me. Thanks.

    Vinnie

  5. #5
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: vlookup text + number not working

    Click the "Go Advanced" button in the quick reply box below. Click the paperclip icon (to the right of the smiley and to the left of the Undo arrow).

  6. #6
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: vlookup text + number not working

    press the "Go Advanced" button and you will find it

  7. #7
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: vlookup text + number not working

    Hi,

    Here is the file. Thank you so much for your help.

    Vinnie
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: vlookup text + number not working

    I think you mean column "E" instead of "G"
    Please find the file attached with the correct formula
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: vlookup text + number not working

    Hi Kelshaer,

    Can you please let me know why you're using _xlfn. in front of IFERROR?

    Thanks very much for your help.

    Vinnie

  10. #10
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: vlookup text + number not working

    I am guessing that you have Excel 2003. IFERROR is an Excel 2007+ function. Try this:

    =IF(ISERROR(VLOOKUP(B7,'NAT 52 WKS'!B:E,4,FALSE)),"NOT FOUND",VLOOKUP(B7,'NAT 52 WKS'!B:E,4,FALSE))

  11. #11
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: vlookup text + number not working

    Hi Kelshaer,

    I use your file and copy the formula down, I got #Name? Didn't get what you have there.
    Please help. Thanks a lot.

    Vinnie

  12. #12
    Forum Contributor
    Join Date
    05-01-2008
    Posts
    165

    Re: vlookup text + number not working

    Hi,

    Thank you very much for everyone who helped me to solve my problem.

    I can't find the prefix "SOLVED".

    Please tell me where to find it.

    Thanks again.

    Vinnie

  13. #13
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: vlookup text + number not working

    well... please use this file instead (vlookup_2007.xlsx). You should be using excel 2007 and up.
    if you are using previous excel then use the file (vlookup_2003.xls)
    Attached Files Attached Files

  14. #14
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: vlookup text + number not working

    read my siganture to mark it as SOLVED

+ 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