+ Reply to Thread
Results 1 to 4 of 4

Rows of Users to rearrange in Columns

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    2

    Rows of Users to rearrange in Columns

    Hi everyone,

    I am new in this forum and I need your help...

    I have a file which contains the following data (please see attached)

    Excel Forum Question.JPG

    The companies and users are currently listed by row.
    I need to transpose the data such that the each row contains one company and the users are listed by column.

    I have 100 thousands of records so I cannot do it manually.

    If you have encountered this before, please help by providing a formula or a macro program.

    Hope somebody can help before Friday, 21 Sept 2012.

    Thanks a lot in advance.

  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: Rows of Users to rearrange in Columns

    It will be good if you post a sample excel file. The png will not help.
    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
    09-18-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Rows of Users to rearrange in Columns

    Thanks.
    I have attached a sample Excel file.
    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: Rows of Users to rearrange in Columns

    Try this code
    Please Login or Register  to view this content.
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose Tools | Macro | Macros
    Select a macro in the list, and click the Run button
    Last edited by arlu1201; 09-18-2012 at 07:31 AM.

+ 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