+ Reply to Thread
Results 1 to 8 of 8

Transpose 2 separate blocks of info into 1 row.

  1. #1
    Registered User
    Join Date
    09-12-2008
    Location
    Texas
    Posts
    8

    Transpose 2 separate blocks of info into 1 row.

    Hello to all,

    I have been sitting here trying to figure out a coding to rearrange from file. My spreadsheet is as follows...

    product title,
    stat1:info,
    stat2:info, price title, quality title, set1title, set2 title, set3 title,
    stat3:info, price #, quality #, set #, set #, set #,
    stat4:info,
    stat5:info,
    stat6:info,
    stat7:info,
    stat8:info,

    product title,
    stat1:info,
    stat2:info, price title, quality title, set1title, set2 title, set 3 title,
    stat3:info, price #, quality #, set #, set #, set #,
    stat4:info,
    stat5:info,
    stat6:info,
    stat7:info,
    stat8:info,
    and I need it to look as follows

    product title, stat1:info, stat2 :info, stat3 :info, stat4 :info, stat5 :info, stat6 :info, stat7 :info, stat8:info, price title: price#, quality title: quality#, set1title:set#, set2 title:set#, set3 title:set#,
    product title, stat1:info, stat2 :info, stat3 :info, stat4 :info, stat5 :info, stat6 :info, stat7 :info, stat8:info, price title: price#, quality title: quality#, set1title:set#, set2 title:set#, set3 title:set#,

    Each COMMA represents a cell by itself. The example shows the exact amount of columns and rows for each cell of info.

    The one block of information needs to be one row going across the top of the worksheet and so on with the all of the second block of information becoming the second row of information. I have a code to make the first column transpose all into a row but haven't figured out a way to add on the information in the middle, combine the content in the cells in the middle and then list them behind the information in the row at the top. PLLEEEAASSEEE someone help me! I have alot of worksheets similar to this that all of the products informaton needs to be in one row. Thank you so much in advance for all of your assistance. Below is the coding that I have to make the 1st column read every 10 cells and make the information into rows.

    [#}
    Please Login or Register  to view this content.
    [#]

    Thank you all again!

    James
    Last edited by davesexcel; 09-13-2008 at 12:20 PM. Reason: Click the # icon to wrap code

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    James,

    Please edit your post to add Code Tags.

    Is your data always arranged exactly as shown? An example workbook would be helpful.

  3. #3
    Registered User
    Join Date
    09-12-2008
    Location
    Texas
    Posts
    8
    Yes all of my documents in this particular case comes exactly that way. Here's an example of the workbook and what I need it to look like. Thanks for your assistance.
    Attached Files Attached Files
    Last edited by jamesb01; 09-13-2008 at 03:25 PM. Reason: place in attachment

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    No attachment.

  5. #5
    Registered User
    Join Date
    09-12-2008
    Location
    Texas
    Posts
    8
    Just added the attachment to the post

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Maybe like this. It's very dumb code, and assumes all data is laid out exactly as your example.
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-12-2008
    Location
    Texas
    Posts
    8

    Deepest Thanks!

    That did solve my dilemma. I really appreciate you and this forum. Thank you so much and it's great being part of a place like this. Take care and have a wonderful day.

    Best regards,

    James

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    You're welcome, glad it worked for you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 06-02-2015, 12:28 AM
  2. How do i count blocks of data..???
    By drgogo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2008, 12:17 PM
  3. Transposing blocks of cells
    By parkinsc in forum Excel General
    Replies: 1
    Last Post: 10-05-2007, 01:29 PM
  4. pull header into column
    By MoLaw in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2007, 10:17 AM
  5. Insertrow macro
    By asimsid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2007, 12:20 PM

Tags for this Thread

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