+ Reply to Thread
Results 1 to 5 of 5

Transpose Column Data to Rows?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-15-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    141

    Transpose Column Data to Rows?

    Sadly, this isn't a simple Paste Special > Transpose problem.

    I have a table of data with certain values presented as columns. i.e. Price in one column, units in another column, etc. I need to transpose the data so that there is only one column for values, and another column that labels what the value is. I know how to do this in Pivot Tables, but Excel crashes when my dataset becomes too large (i.e. hundreds of thousands of rows).

    My attachment should clarify what I'm trying to do.

    TransposeExample.xlsx

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transpose Column Data to Rows?

    Try the attached.
    Attached Files Attached Files
    Last edited by AB33; 12-19-2013 at 07:01 PM.

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Transpose Column Data to Rows?

    Excel maybe crashing when you try and pivot the data as you may be running out of rows as you say there are hundreds of thousands of rows which, when transposed are 5 rows a piece. This will exceed Excel's 2007 and later row limit of 1,048,576 so a macro doing the same could cause the same issue (and probably take ages to run).
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transpose Column Data to Rows?

    If you delete the first row with word "Original" and the headings which go in to column 4 are in row1, see adjusted code.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-15-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Transpose Column Data to Rows?

    Thanks!

    Quick question...is VBA the most effective way to do this, or is there some normal Excel trick I'm not taking advantage of? I'm pretty sure it could be done with VLookups or Index/Matching, but that seems like it could be cumbersome. Would the transpose function have any application here?

+ 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. Transpose a list of 2 column data across rows
    By ral8088 in forum Excel General
    Replies: 1
    Last Post: 07-15-2013, 10:41 AM
  2. how to transpose data from one column into multiple rows?
    By gabrielemucho in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-11-2012, 11:11 AM
  3. [SOLVED] Transpose Data of 4 rows to column
    By me_melb in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-20-2012, 10:17 PM
  4. Insert rows, transpose data from column in to rows, in steps
    By mchevalier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2012, 08:14 PM
  5. Transpose Data from a column to several rows
    By stansdl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-30-2006, 05:45 PM

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