+ Reply to Thread
Results 1 to 5 of 5

Automatic Transposing of data

Hybrid View

wilfordsy Automatic Transposing of data 06-03-2010, 02:04 AM
arthurbr Re: Automatic Transposing of... 06-03-2010, 03:10 AM
wilfordsy Re: Automatic Transposing of... 06-03-2010, 03:10 AM
wilfordsy Re: Automatic Transposing of... 06-03-2010, 03:12 AM
DonkeyOte Re: Automatic Transposing of... 06-03-2010, 03:19 AM
  1. #1
    Registered User
    Join Date
    06-03-2010
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Automatic Transposing of data

    Hi everyone. I'm a new user and I'm having a hard time transposing some data in excel.

    I found this thread (http://www.excelforum.com/excel-work...matically.html) on transposing data automatically but I have a different setup and I don't understand fully the codes in that thread.

    basically I have 5 different topics with 40 items.

    topic1 topic2 topic3 topic4 topic5
    a1 b1 c1 d1 e1
    a2 b2 c2 d2 e2
    a3 b3 c3 d3 e3
    a4 b4 c4 d4 e4
    etc

    So what I want to happen is transpose everything getting 2 from each topic.

    a1
    a2
    b1
    b2
    c1
    c2
    d1
    d2
    e1
    e2
    a3
    etc...

    or at the very least (if its too hard) into something like this:

    a1
    b1
    c1
    d1
    e1
    a2
    b2
    c2
    d2
    e2

    All help will be greatly appreciated. :-)

    thanks a lot!

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Automatic Transposing of data

    Hi and welcome to the board
    several solutions are presented here

  3. #3
    Registered User
    Join Date
    06-03-2010
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Automatic Transposing of data

    Thanks a lot for the time guys. I found the solutions here:

    http://www.ozgrid.com/forum/showthread.php?t=32501

    Many thanks!

  4. #4
    Registered User
    Join Date
    06-03-2010
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Automatic Transposing of data

    Woah. We posted at the same exact time arthurbr.

    Anyway, the link your provided is also a big help. I'm also brushing up on some basic excel coding.

    Thanks a lot!

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Automatic Transposing of data

    Late to the party... but going forward: always a good idea to post sample files in these cases.

    For sake of demo. let's assume your pseudo table appears in A1:E5 with headers in row 1.

    With header in G1 we can get the desired output listed in G2 onwards using:

    =INDEX($A$2:$E$5,1+2*FLOOR((ROWS(G$2:G2)-1)/10,1)+MOD(ROWS(G$2:G2)-1,2),1+MOD(CEILING(ROWS(G$2:G2)/2,1)-1,5))
    copied down

    (or something along those lines)

+ 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