+ Reply to Thread
Results 1 to 4 of 4

Use Master List to put names in mulitple worksheets

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Use Master List to put names in mulitple worksheets

    I am very new to VBA. I want to create a "Master List" with names and be able to insert the names from the list into multiple spreadsheets using a formula/VBA. The Master list will be the names of candidates and I want a name to be place into cell B1 of each worksheet, i.e. Worksheet 1, cell B1, name from master list Duck, Donald; Worksheet 2, cell B1, name from master list Mouse, Mickey, etc. Is this possible? Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Use Master List to put names in mulitple worksheets

    If you change in "MasterList" sheet in "A1" column mentioned "Name1" / "A2" = "Name2" ... so on & in column "B" mentioned name "B1" = Duck, Donald .... so on.
    in number sheet "1" use vlookup formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    same above formula copy paste into other sheets.
    Look attach file.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    09-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Use Master List to put names in mulitple worksheets

    Thanks AVK. I have never used the vlookup formula before but I think if I can understand it it is going to be VERY helpful to me at work. We work with these types of spreadsheets all of the time and have to enter sometimes 200 - 300 names. So I need to go into each worksheet and change "Name" to "Name1", "Name2", etc? Also, in the formula =VLOOKUP($A$1,MasterList!$A$1:$B$4,2,0), what is the 2 & 0 referencing. Thanks again.
    _____________________________________________________________________________________________________________________________

    AVK, I went back and looked at the formula again and I have figured it all out. Thank you so much for your help. This is going to be a life saver going forward.
    Last edited by onlyonekj; 05-26-2017 at 09:12 AM. Reason: Resolved my question

  4. #4
    Registered User
    Join Date
    03-15-2010
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Use Master List to put names in mulitple worksheets

    Please Login or Register  to view this content.
    $A$1 = the value you are searching for
    MasterList!$A$1:$B$4 = the data set / range that holds the data you are searching for and want to return. the first column of this data range MUST be the same as the value you are searching for.
    2 = the column number in the range selected that you want to return a value.
    0 = whether or not you want an Approximate or an Exact match. may also be set as TRUE or FALSE

    i.e.

    =vlookup("Green", $A$1:$C$3,2,0)
    Please Login or Register  to view this content.
    in this example you are looking for the value of "Green" and want to return whatever is in column 2 and don't need an exact match. In this case you would return "Block". if you had put 3 instead of 2 in your formula, you would return "Square"

+ 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] How to create a master list worksheet from lists of names on several worksheets
    By ESUCP Jamie in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 07-20-2015, 03:03 PM
  2. [SOLVED] 12 Months of Names to Master List
    By bodwhat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-07-2013, 03:23 PM
  3. [SOLVED] List names of other worksheets as data/text in a column of the "master worksheet"
    By ExcelHack3r in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 10-31-2013, 07:46 PM
  4. [SOLVED] I need to compare student quiz submission names/grades against a master list of names.
    By NoxExcel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-15-2013, 08:00 PM
  5. Copy several worksheets to a master worksheet with given names
    By howyahorse in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2013, 08:04 AM
  6. Need to Push a List of Names to Master Spreadsheet
    By BYizz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-15-2013, 01:10 AM
  7. Referencing mulitple names in a list?
    By evenings in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2010, 01:57 PM
  8. Bringing data from mulitple worksheets to a master sheet
    By kgkev in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 06-23-2008, 12:30 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