+ Reply to Thread
Results 1 to 5 of 5

Split rows into columns?

  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    1

    Split rows into columns?

    Hello,

    I have a very long row of data in excel. I'd like to split it into 3 columns, like so:

    A B C D E F G H I J K L

    becomes

    A B C
    D E F
    G H I
    J K L

    Because my row is around a thousand cells long, it would be nice to do this automatically. Is this possible?

    Thank you,
    Tom

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Split rows into columns?

    Assuming your data is in row 1, A2 could have =INDEX($1:$1,(ROW()-1)*3+COLUMN()-1). Drag across to column C and down as necessary. Then copy and paste as values, and delete D1:end of range.

  3. #3
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Split rows into columns?

    Hi,

    Among many possibilities, with Offset() function ...
    See attached

    HTH
    Attached Files Attached Files

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Split rows into columns?

    JeanRage, in general, it's better to avoid Offset when possible, as it's a volatile function. See here for a better explanation. Non-volatile Index or Index/Match combos can be used in place of Offset most, if not all, the time.

  5. #5
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Split rows into columns?

    @ darkyam ...

    Thanks for the info ...
    Never had to deal with very large databases with volatile functions ...

+ 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