+ Reply to Thread
Results 1 to 5 of 5

Split 2 Rows with 8 Columns into 4 Rows with 4 Columns?

  1. #1
    Registered User
    Join Date
    07-29-2013
    Location
    nyc
    MS-Off Ver
    Excel 2007
    Posts
    4

    Thumbs up Split 2 Rows with 8 Columns into 4 Rows with 4 Columns?

    I have a spreadsheet with data populated with the fields from A1 - D1 (4 columns) that are the same as fields populated from E1 - H1 (4 columns). This repeats on line 2 and 3 such that A2-D2 and E2-H2 also contain equivalent fields. How can this be converted in Excel 2013 so that I can eliminate duplicated fields on the same line and have a spreadsheet that has twice as many rows with half as many columns:

    An example is in this table:
    First name Last name Address Street First name Last name Address Street
    Bob Pine 123 Apple st. Robert Oak 234 Pear st
    Abe Maple 234 Orange st Ted Birch 345 Tomato st

    How can this be converted to:

    First name Last name Address Street
    Bob Pine 123 Apple st.
    Robert Oak 234 Pear st
    Abe Maple 234 Orange st
    Ted Birch 345 Tomato st

    This row is actually much longer and there are many rows.

    If there were only one row something this might work:
    Assuming your data is in row 1, A2 could have =INDEX($1:$1,(ROW()-1)*4+COLUMN()-1). Drag across to column D and down as necessary.

    But I am not sure how to do this when there are multiple rows involved.
    Last edited by polyocho; 08-27-2014 at 11:07 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Split 2 Rows with 8 Columns into 4 Rows with 4 Columns?

    If the order is not important can't you just cut and paste columns E-H at the bottom of columns A-D?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    07-29-2013
    Location
    nyc
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Split 2 Rows with 8 Columns into 4 Rows with 4 Columns?

    Can't because it is actually much longer. I edited the post (see above).

  4. #4
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Split 2 Rows with 8 Columns into 4 Rows with 4 Columns?

    Unless there are over 524,288 rows in each of the two columns, cut/paste would work and only take a few seconds.

    1. Select the First Name on the second data set (E2 if your data starts in A1)
    2. Hold Control + Shift
    3. Press the End Key. All data in the second column should be selected
    4. Ctrl + X
    5. Click cell A2
    6. Press the End key
    7. Press the Down Arrow twice
    8. Press Control + V


    Done!
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  5. #5
    Registered User
    Join Date
    07-29-2013
    Location
    nyc
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Split 2 Rows with 8 Columns into 4 Rows with 4 Columns?

    The actual situation is like this: Data spans from A-FR in rows 1-30. ABCDEFGABCDEFG... This pattern repeats ~20 times per row. The above example is an oversimplification. Copying and pasting in this case will take about 1200 operations. So I am really looking to learn if there is a faster way to do it.

+ 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. [SOLVED] Split Rows in multipe columns - VBA
    By Vikramravikumar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-16-2014, 12:11 PM
  2. split & transpose columns to rows?
    By toniv in forum Excel General
    Replies: 4
    Last Post: 05-18-2012, 03:26 PM
  3. Split one row of data to columns and rows
    By A7md in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-12-2011, 05:52 PM
  4. Help? Split table rows to columns.
    By anos in forum Access Tables & Databases
    Replies: 3
    Last Post: 07-04-2011, 03:24 AM
  5. Split rows into columns?
    By cubsfan334 in forum Excel General
    Replies: 4
    Last Post: 03-10-2010, 12:25 PM

Tags for this Thread

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