+ Reply to Thread
Results 1 to 5 of 5

Individual worksheet generation from list of names and data

  1. #1
    Registered User
    Join Date
    10-30-2012
    Location
    Calgary, AB
    MS-Off Ver
    Excel 2003
    Posts
    11

    Individual worksheet generation from list of names and data

    Hi,

    There is a list of names in column A with related data in remaining columns. The goal is to copy all data related to a given name, copy into a new worksheet, and give the worksheet the same name (doing this for multiple names and sets of data in the list). The list it's taken from will be different every time it's used but the format will be the same. So what I was planning on doing was finding the non blank cells in Column A, storing the value to name the sheet, copying all data until the next nonblank cell, and pasting that into a new sheet.

    Side note: The list is copied from a pivot table that pulls data from another database. I am assuming that the method I'm attempting above is the best way to do this.

    Here is an example of said dataset:
    NPT Summary - HELP.xls

    Here is what I have so far but it is nowhere close to working:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Individual worksheet generation from list of names and data

    Hi K.J.Dub,
    try it
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-30-2012
    Location
    Calgary, AB
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Individual worksheet generation from list of names and data

    Thank you nilem! that worked perfectly on my test sheet and will likely work perfectly on the other one. However, the names used are not in a format that is compatible with the sheet naming rules.

    If I could add something to the code to modify each name it would work.. should I create another thread for that? The names have a / in them for example, "First Middle Last B-063-H/035-O-09" It would be acceptable for this workbook to just delete the "/035-O-09"

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Individual worksheet generation from list of names and data

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-30-2012
    Location
    Calgary, AB
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Individual worksheet generation from list of names and data

    Thanks again for the input. I love coming here for such quick, concise and knowledgable answers. The names without the "/" were also too long to be a tab name so I used a replace function to remove unnecessary part of the name. Not exactly clean, but it does its job.

    Please Login or Register  to view this content.
    Last edited by K.J.Dub; 04-15-2013 at 03:37 PM. Reason: mistake

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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