+ Reply to Thread
Results 1 to 3 of 3

Hopefully easy question

Hybrid View

  1. #1
    Registered User
    Join Date
    10-13-2011
    Location
    ireland
    MS-Off Ver
    Excel 2003
    Posts
    1

    Hopefully easy question

    Hi all,

    I am looking for some help. I am inputting data on a basic excel spread sheet. On sheet one is the form i am filling in,
    On sheet 2 is 2 colums, one with staff id numbers anf the second with names.

    To stop me constantly having to check the second sheet and manually inputting the staffs name, i want to be able to put the staff number into the first sheet and it automatically change to the Staff members name.

    Is it possible to do this were a formula checks for the staff id when inputted (sheet 1), finds it on sheet 2 (column A) then replaces it with staff name (column B sheet 2)

    Thanks for any help in advance.

    Paul

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Hopefully easy question

    i think you can do that using macro.
    Just an idea
    try this one.

    put the formula in a dummy cell you can use lookup in cell (O1)
    then run the macro to overwrite the data entered ( id )
    O1 - dummy cell ( formula)
    A1 - data entry ( id )
    enter first a value then run the macro
    Sub Macro()
        Range("O1").Select
        Selection.Copy
        Range("A1").Select
        Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
            :=False, Transpose:=False
        Application.CutCopyMode = False
    End Sub
    Hope this will start some reply on your thread.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Hopefully easy question

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ 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