+ Reply to Thread
Results 1 to 7 of 7

Fill in Names

  1. #1
    Registered User
    Join Date
    06-09-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    27

    Post Fill in Names

    Hi All!

    I am trying to create or use a formula for the below scenario.

    On an excel workbook, I have two sheets. Each have various identifiers or entity numbers. The first sheet is the formal sheet that is supposed to pair the entity numbers to employee names. The entity numbers are in ascending order. The employee names are blank.The second sheet has the matching numbers and corresponding employees. My task is to create a formula or function that matches the entity and fills in the corresponding name. For example, if I am needing to find out who works 118 site, I will pull 118 from sheet two and have the name appear next to the number in the first sheet.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Fill in Names

    Hi -

    Copy and paste this formula to Cell B4 on Sheet 1. Then copy down:

    =VLOOKUP(A4,Sheet2!$A$2:$B$176,2,0)

    Hope this helps.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Registered User
    Join Date
    06-09-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    27

    Re: Fill in Names

    It didn't work possibly due to a few columns before it. I can try to delete them, work the formula, copy and paste, and add the columns back that are prior

  4. #4
    Registered User
    Join Date
    06-09-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    27

    Re: Fill in Names

    When I drag it down on the example sheet, I get #N/A as seen many times. Thanks for any follow up help everyone!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Fill in Names

    Try this:

    =VLOOKUP(VALUE(A4),Sheet2!$A$2:$B$176,2,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Fill in Names

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here I will post the link for you this time: https://www.mrexcel.com/board/thread...mbers.1136673/)

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Fill in Names

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Auto Fill Out Names?
    By CaffeinatedPixels in forum Excel General
    Replies: 8
    Last Post: 06-15-2016, 12:31 PM
  2. VBA : Fill combobox with folders names from svn
    By bufoss in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-07-2015, 01:31 PM
  3. [SOLVED] fill state names using every fourth row
    By ammartino44 in forum Excel General
    Replies: 13
    Last Post: 06-04-2015, 01:58 PM
  4. [SOLVED] Auto fill for sheet names
    By leigh3980 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-24-2014, 07:51 PM
  5. Auto-Fill from list of names
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-15-2012, 04:16 PM
  6. Automatic fill in of names
    By BLKHWKPILOT74 in forum Excel General
    Replies: 1
    Last Post: 04-28-2010, 10:01 PM
  7. Fill ComboBox with File Names
    By Hal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2005, 08:05 AM

Tags for this Thread

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