+ Reply to Thread
Results 1 to 6 of 6

#NA error in Vlookup

  1. #1
    Registered User
    Join Date
    08-04-2019
    Location
    India
    MS-Off Ver
    2007
    Posts
    30

    #NA error in Vlookup

    I have a query for VLOOKUP with attached file.
    I need data in sheet name-Sheet2 from sheet name-ria.
    So i have applied VLOOKUP formula in Sheet2 in column B.
    But i am getting #NA error.
    Please help me for this error.

    Thank You

    Kapil
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2019 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    32,526

    Re: #NA error in Vlookup

    Welcome to the forum.

    The issue is the apostrophe.

    Try this:

    =VLOOKUP(SUBSTITUTE(A1,"'",""),ria!$B$2:$E$2618,4,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Seattle, WA, USA
    MS-Off Ver
    MS Office 365 Excel 2016
    Posts
    14,367

    Re: #NA error in Vlookup

    Hi Kapil,

    You need to remove the single quote mark on the second sheet to have a match. See the attached where I've inserted a new column, removed the "'" and then some match.

    VLookup match problem.xls
    One test is worth a thousand opinions.
    Click the * below to say thanks.

  4. #4
    Registered User
    Join Date
    08-04-2019
    Location
    India
    MS-Off Ver
    2007
    Posts
    30

    Re: #NA error in Vlookup

    Thank you.

    It worked.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2019 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    32,526

    Re: #NA error in Vlookup

    What worked? My solution or Marvin's? Actually both do.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Registered User
    Join Date
    08-04-2019
    Location
    India
    MS-Off Ver
    2007
    Posts
    30

    Re: #NA error in Vlookup

    Thank You

+ 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