+ Reply to Thread
Results 1 to 8 of 8

Parse data into new table?

  1. #1
    Registered User
    Join Date
    06-05-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    24

    Parse data into new table?

    Don't know how to really describe it. I have a list of names, some of which are multiple listings. I want to create a table with 2 columns, one with the names of people listed more then once, and the second with the amount of times that they are listed. Can anyone help?

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Parse data into new table?

    Can you provide a mock workbook with mock data (no personal information) with a before and an after (result) of what it is you want done with the data. If you do that it will remove a lot of guess work from the valuable members of this forum.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Registered User
    Join Date
    06-05-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Parse data into new table?

    Here is an attachment of what I wanted. The second table is where I need the code to dynamically get the names, and the times listed.
    Attached Files Attached Files

  4. #4
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Parse data into new table?

    Is this what you are after?
    Attached Files Attached Files
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  5. #5
    Registered User
    Join Date
    06-05-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Parse data into new table?

    Quote Originally Posted by JapanDave View Post
    Is this what you are after?
    Thanks for the effort, but it doesn't seem to be dynamic. If I add a name to the list, the count doesn't update. Is it possible to do that?

  6. #6
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Parse data into new table?

    No it is not dynamic, you didn't specify that you wanted it dynamic. So I guess you want an example that is dynamic? If so, will the Columns or rows where the data starts change in any way? Is there any new information I should know about?

  7. #7
    Registered User
    Join Date
    06-05-2010
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Parse data into new table?

    The starting data shouldn't change. Just where it ends (end of the table). I don't know if you noticed, but the first example I gave actually already has a list of names with it if you scroll to the left a bit. The second table was just a prototype for where the dynamically generated data would go based on how many times a name is listed.

  8. #8
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Parse data into new table?

    I did not notice that , sorry.

    Ok I have some code that will do what you are after. It creates a new sheet with any updated data. Just click the "Add Data" button and the new data will be added. BTW, if the data is difficult to look at, let me know what style table you want and I will change it.

    Code:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JapanDave; 12-05-2011 at 10:02 PM.

+ 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