+ Reply to Thread
Results 1 to 3 of 3

Create List of X Variables Repeated Y Times

  1. #1
    Registered User
    Join Date
    10-09-2009
    Location
    Cambridge, MA
    MS-Off Ver
    Excel 2003
    Posts
    61

    Create List of X Variables Repeated Y Times

    I couldn't figure out how to shorten my problem into a neat header...sorry.

    I have two columns, one with a name in it, and one with a number in it (e.g. A1=Jim, B1=4, A2=Rachel, B2=2....).

    I would ideally like to "look" at those columns and create a list that has in one column the name listed the amount of times in colum B (e.g. Jim, Jim, Jim, Jim, Rachel, Rachel) and the other list couting from 1 on how many times it's listed (1,2,3,4,1,2) so that in the end I have two much longer lists. Attached is what I hope to do, but I don't know how to do it automatically. Eventually I'll have a lot of names and a lot of numbers that will change, so I would hope to do this automatically somehow.

    Please let me know if I am not clear enough or if you have questions. Thanks!!
    Attached Files Attached Files
    Last edited by nofzinger; 05-11-2010 at 07:37 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Create List of X Variables Repeated Y Times

    Hi

    See how this goes.
    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    10-09-2009
    Location
    Cambridge, MA
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Create List of X Variables Repeated Y Times

    Perfect!! Thank you so much!

+ 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