+ Reply to Thread
Results 1 to 5 of 5

Why my Vlookup doesn't work?

Hybrid View

ypurcaro Why my Vlookup doesn't work? 03-06-2014, 07:54 PM
Olly Re: Why my Vlookup doesn't... 03-06-2014, 07:57 PM
ypurcaro Re: Why my Vlookup doesn't... 03-06-2014, 08:23 PM
martindwilson Re: Why my Vlookup doesn't... 03-06-2014, 08:12 PM
ypurcaro Re: Why my Vlookup doesn't... 03-06-2014, 08:25 PM
  1. #1
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Why my Vlookup doesn't work?

    I used Vlookup all the time but I don't know what is wrong this time because it just doesn't work. When I type the employee id on cell D2 the employee name should pop up in cell E2. However, it gives me this #N/A error. Can you help please? Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Why my Vlookup doesn't work?

    Is calculation set to manual?

    Sorry, just read properly: I thought you were entering name in D2, and retrieving ID.

    Vloookups work left to right, not right to left. Put id in col A, name in col B.
    Last edited by Olly; 03-06-2014 at 08:01 PM.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Why my Vlookup doesn't work?

    Wow...it works!! Thank you very much. I didn't know Vlookup is that sensitive.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Why my Vlookup doesn't work?

    or
    =VLOOKUP(D2,CHOOSE({1,2},B2:B4,A2:A4),2,FALSE) or
    =INDEX(A2:A4,MATCH(D2,B2:B4,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Why my Vlookup doesn't work?

    Martindwilson,

    Thanks for the suggestion. I've never used the Index but it seems pretty neat. Thanks again.

+ 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. VLOOKUP sometimes doesn't work.
    By berdar in forum Excel General
    Replies: 3
    Last Post: 06-13-2013, 06:41 AM
  2. vlookup doesn't work
    By Phil205 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2013, 04:34 AM
  3. Vlookup doesn't seem to want to work!
    By misterman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-17-2012, 05:00 PM
  4. [SOLVED] VLOOKUP doesn't work for me
    By senorkevin in forum Excel General
    Replies: 10
    Last Post: 11-12-2012, 07:58 PM
  5. Why doesn't this VLOOKUP work?
    By thedon_1 in forum Excel General
    Replies: 2
    Last Post: 02-17-2011, 08:09 AM

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