+ Reply to Thread
Results 1 to 5 of 5

Matrix to single column

  1. #1
    Registered User
    Join Date
    04-27-2010
    Location
    Nova Scotia, Halifax
    MS-Off Ver
    Excel 2007
    Posts
    6

    Matrix to single column

    I have a 15X26 matrix in an excel sheet. How do I quickly put each column under the first with out copy>paste? End result I am looking for is a 390 row long colum with all the data. Thanks

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

    Re: Matrix to single column

    It would help if you specified some ranges but if we assume the matrix is A1:Z15 and results are to be listed in AB1:AB390 then

    AB1:
    =INDEX($A$1:$Z$15,CEILING(ROWS(AB$1:AB1)/26,1),1+MOD(ROWS(AB$1:AB1)-1,26))
    copied down to AB390

  3. #3
    Registered User
    Join Date
    04-27-2010
    Location
    Nova Scotia, Halifax
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Matrix to single column

    That's basically what I want, but I want it to read down the colums. So the first 15 numbers are A1:A15, then after that B1:B15, C1:C15 etc.

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

    Re: Matrix to single column

    In which case simply invert the logic

    AB1:
    =INDEX($A$1:$Z$15,1+MOD(ROWS(AB$1:AB1)-1,15),CEILING(ROWS(AB$1:AB1)/15,1))
    copied down

  5. #5
    Registered User
    Join Date
    04-27-2010
    Location
    Nova Scotia, Halifax
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Matrix to single column

    Awesome, thanks for your help!

+ 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