+ Reply to Thread
Results 1 to 2 of 2

Convert data from column layout to row layout

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Convert data from column layout to row layout

    I receive a weekly spreadsheet and I am trying to change the layout from rows to columns. Column A contains a list of invoice numbers. Column E contains a list of Agent IDs for each invoice. As an example, it is formated as follows:

    Invoice Number......Agent ID
    333-444....................35-55
    333-444....................652-355
    66-22641..................43-355-442
    66-22641..................12-344-111
    66-22641..................25-359-877

    I want to reformat so there is only one unique invoice number per row and the Agent IDs would be in same row. Desired output would be as follows:

    Invoice Number.......Agent ID 1........Agent ID 2.......Agent ID 3
    333-444....................35-55.................652-355
    66-22641..................43-355-442 .....12-344-111.....25-359-877

    Attached is example of data (in sheet 1) and desired output (in sheet 2). Any assistance is appreciated. Thanks.
    Attached Files Attached Files
    Last edited by maacmaac; 07-29-2010 at 09:08 AM.

  2. #2
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: Convert data from column layout to row layout

    Try this. On the RunSheet "Input Sheet" is the name of the input worksheet. "Output Sheet" is the name of the output sheet. Push the DoIt button and the macro will run.
    Agent%20Split%20-%20Reformat%20Example(1).xls
    Bob
    Click my star if my answer helped you. Mark the thread as [SOLVED] if it has been.

+ 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