+ Reply to Thread
Results 1 to 7 of 7

Will VLookup work

  1. #1
    Forum Contributor bengaluru's Avatar
    Join Date
    06-10-2005
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    150

    Will VLookup work

    Hello friends

    I have two sheets as follows

    The first sheet contains Names of Employees of about 600 employees

    The second sheet contains Names and Employee Number of 1000 employees which also includes the above 600.

    I want to add a new column in the firs sheet as Employee Number and want to export the data against each of the 600 employees. How do I do this ?

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Will VLookup work

    Let's pretend you're working with Sheet1 and Sheet2.

    A1 = the first name

    B1 = VLOOKUP(A1,Sheet2!$A$1:$B$1000,2,0)


    and copy down
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Contributor bengaluru's Avatar
    Join Date
    06-10-2005
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    150

    Re: Will VLookup work

    Quote Originally Posted by daffodil11 View Post
    Let's pretend you're working with Sheet1 and Sheet2.

    A1 = the first name

    B1 = VLOOKUP(A1,Sheet2!$A$1:$B$1000,2,0)


    and copy down
    Thanks. it does not seem to work. Maybe I was not clear in my explanation. I have the following data in Sheet 1
    A1: A600 - Names of Employees

    Sheet2

    A1:A1000 - Names of Employees
    B1:B1000 - Employee Numbers

    I want to insert a new column B1 in Sheet1 and import the data from Sheet 2 for those names which matches the names of employees. In other words it should import only the 600 employee numbers that matches with the 600 names of employees.

    Can you or someone please help. I need this urgently to complete this morning.

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Will VLookup work

    Not sure what could be wrong. I'd recommend attaching an example.

    It worked fine for me. Are your names not exact matches?
    Attached Files Attached Files

  5. #5
    Forum Contributor bengaluru's Avatar
    Join Date
    06-10-2005
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    150

    Re: Will VLookup work

    Quote Originally Posted by daffodil11 View Post
    Not sure what could be wrong. I'd recommend attaching an example.

    It worked fine for me. Are your names not exact matches?
    I don't know what I am doing wrong. It is returning the values as 2 or 1 or N/A.

    Here is the example as requested.
    Attached Files Attached Files
    Last edited by bengaluru; 05-16-2014 at 09:22 AM.

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Will VLookup work

    Looks fine to me. I think maybe you were thrown off because your first few IDs have no matches.
    Attached Files Attached Files

  7. #7
    Forum Contributor bengaluru's Avatar
    Join Date
    06-10-2005
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    150

    Re: Will VLookup work

    Thanks my friend. I will try to figure it out. Your help is much apprecaited.

+ 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 for work
    By shanka in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-19-2013, 03:27 AM
  2. Vlookup how does it work
    By s.stanton in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-06-2010, 11:34 AM
  3. Vlookup does not work
    By excel_newbie123 in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 08-14-2009, 01:25 PM
  4. Cant get VLOOKUP to work
    By paulboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2009, 12:36 PM
  5. Vlookup help Or work around
    By grim in forum Excel General
    Replies: 3
    Last Post: 03-23-2009, 10:19 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