+ Reply to Thread
Results 1 to 5 of 5

Lookup or Matching

  1. #1
    Forum Contributor
    Join Date
    12-17-2008
    Location
    Vernon, CT
    Posts
    132

    Question Lookup or Matching

    I don't understand why I am having an issue. I have a column (A) of 4 digit numbers (Employee ID's). Next to it (Column B) I want it to automatically place the persons name there. So in column C I will have the employee ID numbers and in the adjacent cell in column D I will have their names. I tried in column B =lookup(A1,C1:C20,D1:D20). It only worked on two of them. So, A1 ID #'s (Manually entered), B1 formula placing persons name), C1 ID #, D1 Employee name. Columns A & B will continue to grow and reference C & D.


    Thanks for any help,
    Jay
    Last edited by jayclinton; 11-22-2010 at 09:57 PM.

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

    Re: Lookup or Matching

    post a workbook no one wants to build an example to try this out
    "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

  3. #3
    Forum Contributor
    Join Date
    12-17-2008
    Location
    Vernon, CT
    Posts
    132

    Re: Lookup or Matching

    Here is a basic example
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Lookup or Matching

    Hi

    Attached your sheet with code included.

    Regards

    Jeff
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-17-2008
    Location
    Vernon, CT
    Posts
    132

    Re: Lookup or Matching

    Awesome!! Thanks a bunch that is perfect!!!

+ 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