+ Reply to Thread
Results 1 to 11 of 11

Vlook up doesn't give correct result

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    Lubumbashi, RDC
    MS-Off Ver
    Excel 2010 (mac)
    Posts
    29

    Vlook up doesn't give correct result

    Hi!

    I have an excel sheet where I want to use the Vlookup function but when I apply it, it always gives me "N/A". While, when I verify myself, there are actually results that match.
    Could someone tell me what I did wrong here?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlook up doesn't give correct result

    Hi Fabiennee88,

    See the attached file where I have done some formulation on column to vlookup
    excelsheet a.xlsx


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    01-22-2013
    Location
    Lubumbashi, RDC
    MS-Off Ver
    Excel 2010 (mac)
    Posts
    29

    Re: Vlook up doesn't give correct result

    Hey dilipandey!

    Thanks for your help but I would like to have the number mentioned in the E column from sheet 2009 in C column ('AV') in sheet 2009! but excel won't give me that

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlook up doesn't give correct result

    Excel can give that as well if you update the formula references accordingly.. see below:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Try this and you'll get the results as you mentioned in above post


    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Registered User
    Join Date
    01-22-2013
    Location
    Lubumbashi, RDC
    MS-Off Ver
    Excel 2010 (mac)
    Posts
    29

    Re: Vlook up doesn't give correct result

    Hi Dilipandey,

    I changed it but it still keeps saying N/A all the time while I know there are matches... Do you know why excel won't give me the correct result?

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlook up doesn't give correct result

    But in my attachment in post#2, it has given correct result.. can you upload your workbook and make sure you manually write your expected results in next column. Thx



    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Registered User
    Join Date
    01-22-2013
    Location
    Lubumbashi, RDC
    MS-Off Ver
    Excel 2010 (mac)
    Posts
    29

    Re: Vlook up doesn't give correct result

    excelsheet a.xlsxexcelsheet a.xlsx

    Hi Dilipandey,

    Okay, I put the expected results in the next column.

    Thanks for your help!

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Vlook up doesn't give correct result

    Hi,
    Your 2009! sheet 'numbers' are in fact strings.
    Your 2009 sheet numbers are numbers.

    For a VLOOKUP to work the value being looked up needs to be the same as the value in the object table.

    Either change your 2009! formulae to

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or convert all the 2009 sheet numbers to text.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  9. #9
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlook up doesn't give correct result

    Okay.. C318 is in text format... use below formula in D318:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards,
    DILIPandey
    <click on below * if this helps>

  10. #10
    Registered User
    Join Date
    01-22-2013
    Location
    Lubumbashi, RDC
    MS-Off Ver
    Excel 2010 (mac)
    Posts
    29

    Re: Vlook up doesn't give correct result

    Dilipandey, that works! Thank you!!

  11. #11
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlook up doesn't give correct result

    cheers

    you are welcome..

    Regards,
    DILIPandey
    <click on below * if this helps>

+ 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