+ Reply to Thread
Results 1 to 3 of 3

Using VLOOK to Match Data - Not Working As Expected

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    32

    Using VLOOK to Match Data - Not Working As Expected

    Hello-

    I just realized a VLOOK I have been using is not working like I thought it was. I have attached an example that shows how I am matching a name in Column A with a name in Column C, and then pasting the value in Column B into column D.

    You'll see that it's not working for "John." It appears that if a name in Column C appears in a higher row number that its match does in Column A, it won't work. Is there a way to make this work regardless of what rows the names are in? Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Using VLOOK to Match Data - Not Working As Expected

    hi there. you are very close. just have to fix the reference of A2:B5. you realize that changes when you copy it to the cell below. it becomes A3:B6. when it reaches D5, it is looking at A5:B8. A5:B8 has no "John" in it and hence it returns an NA. fix the row by using this formula in D2:
    =VLOOKUP(C2,A$2:B$5,2,FALSE)
    this is so that when you copy it downwards or upwards (to the row), the row reference wont change

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    04-04-2013
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    32

    Re: Using VLOOK to Match Data - Not Working As Expected

    Ahh! Thank you so much!

+ 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. Replies: 3
    Last Post: 07-29-2017, 04:32 AM
  2. subtract data using match and vlook
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-25-2017, 05:07 PM
  3. VLook up not Working
    By LastJedi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2017, 09:51 AM
  4. VLook up not working
    By LastJedi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2015, 10:26 AM
  5. Replies: 0
    Last Post: 08-09-2013, 05:54 PM
  6. Problem with INDEX/MATCH Functions... Not working as expected.
    By seimeion1208 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2013, 10:26 AM
  7. Replies: 6
    Last Post: 05-07-2012, 10:49 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