+ Reply to Thread
Results 1 to 11 of 11

Help With transposing massive data file

Hybrid View

  1. #1
    Registered User
    Join Date
    06-02-2015
    Location
    Seattle, wa
    MS-Off Ver
    2013
    Posts
    5

    Help With transposing massive data file

    I have a massive file of format:
    Title 1
    Data point 1
    Data point 2
    Data point 3
    ......................
    Data point n
    Title 2
    Data point 1
    Data point 2
    Data point 3
    ......................
    Data point n
    ........................
    ...........................
    Title n
    Data point 1
    Data point 2
    Data point 3
    ......................
    Data point n

    And I need to some how get it to be transposed to:

    Title 1 Data 1 Data 2 ..... Data n
    Title 2 Data 1 Data 2 ..... Data n
    Title n Data 1 Data 2 ..... Data n

    I know about the transpose option on paste, but I would have to go through and do that about 10000 times or so. I really hope I don't have to do that.
    I really appreciate any help you can give me!

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,512

    Re: Help With transposing massive data file

    My recommendation would be to import it into access then run a crosstab query for it.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    06-02-2015
    Location
    Seattle, wa
    MS-Off Ver
    2013
    Posts
    5

    Re: Help With transposing massive data file

    Well I've already learned something! I have a program called access on my computer! I'll go try and see if that works for me. Thanks!

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,512

    Re: Help With transposing massive data file

    so, assuming your data begins in cell A1 and goes down, put this in B1 and drag right. You also might need to repeat it in cell B2 and drag right. Not given a sample to test against so I had to wing it.
    =INDEX($A$1:$A$260,(ROWS($B$1:B260)-1)*4+CEILING(COLUMNS($B$1:B260)/1,1),MOD(COLUMNS($B$1:B260)-0,1)+1)&""
    (in case the access attempt doesn't work out.) And, you may have to move the bottom numbers (A260 and B260 etc to cover your large data set.

  5. #5
    Registered User
    Join Date
    06-02-2015
    Location
    Seattle, wa
    MS-Off Ver
    2013
    Posts
    5

    Re: Help With transposing massive data file

    Unfortunately I get a # Ref with that.

  6. #6
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Help With transposing massive data file

    Same layout as Sambo kid...
    Formula: copy to clipboard
    =IFERROR(IF(IFERROR((MATCH("Title "&ROW(),$A$1:$A$20,0)+COLUMNS($B$1:B1)-1)>=MATCH("Title "&ROW()+1,$A$1:$A$20,0),FALSE),"",INDEX($A$1:$A$20,MATCH("Title "&ROW(),$A$1:$A$20,0)+COLUMNS($B$1:B1)-1)),"")

    Drag right and down as needed.

    May have to be tweaked as I only tested it on a small sample (attached).
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-02-2015
    Location
    Seattle, wa
    MS-Off Ver
    2013
    Posts
    5

    Re: Help With transposing massive data file

    Maybe I'm having trouble with the type of data, and should have given you more info. This is a more accurate example.
    TCRBV01-01
    0.034897
    0.239874
    0.987363
    0.473826
    .
    .
    .
    TCRBV01-02
    0.023874
    0.928374
    0.984727
    .
    .
    .
    .

    I've tried adding "Title " to the titles as such "Title TCRBV01-01" and I tried changing the "Title " term of the equation to "TCR." In both cases still just got blank cells.

  8. #8
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Help With transposing massive data file

    Try this...
    Formula: copy to clipboard
    =IFERROR(IF(IFERROR((MATCH("*"&ROW(),$A$1:$A$20,0)+COLUMNS($B$1:B1)-1)>=MATCH("*"&ROW()+1,$A$1:$A$20,0),FALSE),"",INDEX($A$1:$A$20,MATCH("*"&ROW(),$A$1:$A$20,0)+COLUMNS($B$1:B1)-1)),"")

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,512

    Re: Help With transposing massive data file

    If Jhren's doesn't work, try this... =INDEX($A1:B1,,COLUMNS($A:B)) dragged right then down.

  10. #10
    Registered User
    Join Date
    06-02-2015
    Location
    Seattle, wa
    MS-Off Ver
    2013
    Posts
    5

    Re: Help With transposing massive data file

    Hum so maybe I'm doing Something wrong but, with jhren's eq I get blank cells and with the The Sambo kid i get zeros

  11. #11
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,512

    Re: Help With transposing massive data file

    If jhren's doesn't work try uploading a sample sheet with before and after and enough examples so we can account for your variations.

+ 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. Massive and Sluggish Excel File
    By tom.mat.walker in forum Excel General
    Replies: 2
    Last Post: 05-08-2015, 08:20 AM
  2. Moving cell data from columns to rows in massive file
    By aaroninbna in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-22-2012, 09:22 AM
  3. Massive file size even when empty
    By talksalot81 in forum Excel General
    Replies: 16
    Last Post: 03-19-2010, 05:41 AM
  4. MASSIVE FILE - chart won't update
    By rasonline in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-04-2009, 05:22 PM
  5. Massive file, chart won't update?
    By rasonline in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-27-2008, 03:19 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