+ Reply to Thread
Results 1 to 4 of 4

Thread: Help? Split table rows to columns.

  1. #1
    Registered User
    Join Date
    07-03-2011
    Location
    Rome, Italy
    MS-Off Ver
    Excel 2003
    Posts
    1

    Help? Split table rows to columns.

    Hello,
    can u help me?

    I have a list with rows like this:
    A B
    1a
    2a
    3a
    4a
    5a
    6a

    and i want automatically turn into this:

    A B
    1a 2a
    3a 4a
    5a 6a

    I have excel 2007, and i i'm new user.

    THANX in advance.

    (p.s. admins: hope i post it in the right category)

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010
    Posts
    474

    Re: Help? Split table rows to columns.

    Hi

    Welcome to the forum

    I assumed your data was starting in row 1 of column A.
    In C1 enter
    =INDEX($A:$A,((ROW()-2)*2)+2)
    in D1 enter
    =INDEX($A:$A,((ROW()-2)*2)+2)

    copy down as far as required
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Forum Guru ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    traded up
    MS-Off Ver
    2003 & 2010
    Posts
    1,905

    Re: Help? Split table rows to columns.

    Small correction to Roger's formulae:

    assuming your data was starting in row 1 of column A.

    In C1 enter:

    =INDEX($A:$A,((ROW()-1)*2)+1)
    in D1 enter:

    =INDEX($A:$A,((ROW()-1)*2)+2)
    Cheers,
    “To sin by silence when they should protest makes cowards of men.” ~ Abraham Lincoln

  4. #4
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010
    Posts
    474

    Re: Help? Split table rows to columns.

    Quote Originally Posted by ConneXionLost View Post
    Small correction to Roger's formulae:

    assuming your data was starting in row 1 of column A.

    In C1 enter:

    =INDEX($A:$A,((ROW()-1)*2)+1)
    in D1 enter:

    =INDEX($A:$A,((ROW()-1)*2)+2)
    Cheers,
    Thank you. My bad

    I had set it up with data starting in row 2 of a sheet, then foolishly told the OP to enter it in C1 and D1 rather than C2 and D2

    Lucky somebody was wide awake!!
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

+ 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.2.0