+ 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
    2019
    Posts
    63

    #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
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,336

    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!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    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 * Add Reputation below to say thanks.

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

    Re: #NA error in Vlookup

    Thank you.

    It worked.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,336

    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
    2019
    Posts
    63

    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)

Similar Threads

  1. [SOLVED] Vlookup Error - unable to get the vlookup property of the worksheetfunction class
    By forrestgump1980 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-14-2019, 02:59 PM
  2. Error thrown by VLookup when not an error
    By mms in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-12-2019, 10:25 AM
  3. [SOLVED] application vlookup error runtime error 1004, unable to get the vlookup property of the.."
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 12-05-2018, 12:03 PM
  4. Concatenate error across 2 worksheets with vlookup error
    By COGICPENNY in forum Excel General
    Replies: 2
    Last Post: 11-30-2015, 07:56 PM
  5. Iferror vlookup if error vlookup if x=Y,
    By rwmeis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2013, 08:24 PM
  6. How to error trap a vlookup that returns an error or #N/A
    By kjy1989 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-06-2013, 12:01 PM
  7. [SOLVED] lookup - if(is error(vlookup and error messages meanings
    By grphillips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-18-2013, 07:03 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