+ Reply to Thread
Results 1 to 3 of 3

Transfer data based on name entered into a cell

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Transfer data based on name entered into a cell

    On one sheet I will be entering employee names. On another sheet, a data sheet I will have a list of their names along with their employee numbers.

    Instead of looking up a employee number each time, I was trying to see if it was possible for it to be grabbed from this data sheet and populated into a cell next to the name.

    Attached is a sample sheet.

    Thanks for any help.

    Nick
    Attached Files Attached Files

  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: Transfer data based on name entered into a cell

    in b5 sheet entry!
    =VLOOKUP(A5,Data!$A$1:$B$20,2,FALSE)
    drag down
    if you don't want errors when blank
    use
    iferror(VLOOKUP(A5,Data!$A$1:$B$20,2,FALSE),"")
    "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-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Transfer data based on name entered into a cell

    that is perfect!

    Thanks,
    Nick

+ 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