+ Reply to Thread
Results 1 to 4 of 4

Macro to transpose rows into column

  1. #1
    Registered User
    Join Date
    06-01-2012
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    1

    Macro to transpose rows into column

    I need to rearrange data into from rows into cloumns so I can use it in pivot table:

    Original Data
    Name Org
    Jordan,Michael NBA
    (space) Chicago
    (space) Shooting Guard
    Bryant, Kobe NBA
    (space) LA
    (space) Shooting Guard
    (space) (space)
    P., Greg NBA
    (space) SA
    (space) Staff
    (space) Coach
    Parker, Tony NBA
    (space) SA
    (space) Point Guard

    I would like to become:
    Name. Org. Team. Position. Title.
    Michael Jordon NBA Chicago Shooting Guard
    Kobe Bryant NBA LA Shooting Guard
    Greg P. NBA SA Staff Coach
    Tony Parker NBA SA Point Guard



    I know how to do the name switch. I need help on the team arrangement.

    Thanks for the help
    Last edited by yukycg; 06-01-2012 at 10:33 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro to transpose rows into column

    Why dont you attach a sample file? It will be much easier for us to work on and provide you a solution quickly.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-25-2012
    Location
    Chennai,TamilNadu,India
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    61

    Re: Macro to transpose rows into column

    Hi,

    Please find attached the file where i have worked out to extract the information. Check out and let me know your thoughts..4

    Regards,
    Hariharan R
    Attached Files Attached Files

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro to transpose rows into column

    What are the numbers that you have provided in column L of the file? Also you do not need the name to be visible in the output?

+ 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