+ Reply to Thread
Results 1 to 10 of 10

Help - Moving data from across multiple columns into rows

  1. #1
    Registered User
    Join Date
    08-29-2017
    Location
    San Jose, CA
    MS-Off Ver
    MS Office 2010
    Posts
    5

    Help - Moving data from across multiple columns into rows

    I am looking for help on how to move data for every 6 columns into a consecutive row: (all data is currently in Row 1 only, across thousands of columns!)

    For example

    Column: A B C D E F G H I J K L
    Row 1: Joe Blow 123 Easy Street San Jose CA 95124 (408) 123-4567 Mary Sue 456 Glover Street Cupertino CA 95014 (408) 253-1234

    I would like for this to convert to:

    Column: A B C D E F
    Row 1: Joe Blow 123 Easy Street San Jose CA 95124 (408) 123-4567
    Row 2: Mary Sue 456 Glover Street Cupertino CA 95014 (408) 253-1234

    Please help!

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Help - Moving data from across multiple columns into rows

    Hi cadler1, welcome to the forum! Paste this formula in A2, then copy across to F2. Now select all 6 of THOSE cells and copy down.:
    Please Login or Register  to view this content.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Registered User
    Join Date
    08-29-2017
    Location
    San Jose, CA
    MS-Off Ver
    MS Office 2010
    Posts
    5
    Quote Originally Posted by leelnich View Post
    Hi cadler1, welcome to the forum! Paste this formula in A2, then copy across to F2. Now select all 6 of THOSE cells and copy down.:
    Please Login or Register  to view this content.
    I must not be doing something correctly. Because this is not working for me. Can you provide a little more detail?

  4. #4
    Registered User
    Join Date
    08-29-2017
    Location
    San Jose, CA
    MS-Off Ver
    MS Office 2010
    Posts
    5
    Quote Originally Posted by cadler1 View Post
    I must not be doing something correctly. Because this is not working for me. Can you provide a little more detail?
    Nevermind! Thank you! It worked, I messed something up the first time.

  5. #5
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Help - Moving data from across multiple columns into rows

    You're most welcome! If you're satisfied w the answer, please mark your thread as SOLVED (Thread Tools up top). Thanks -Lee
    Last edited by leelnich; 08-29-2017 at 08:24 PM.

  6. #6
    Registered User
    Join Date
    08-29-2017
    Location
    San Jose, CA
    MS-Off Ver
    MS Office 2010
    Posts
    5
    Quote Originally Posted by cadler1 View Post
    Nevermind! Thank you! It worked, I messed something up the first time.
    What about rather than having the data separate every 6th row, would it be possible separate the data by by specific word in column? For example after every separate address in Row 1 is the word "map". Would it be possible to separate the addresses using that word? I ask that because not all addresses are separated by 6 columns. Most are, but some are missing fields. But all have the word "map" in the column after them.

  7. #7
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Help - Moving data from across multiple columns into rows

    Perhaps you could upload a small, sanitized version of your workbook. That would really simplify the solution process.

    To attach a workbook:
    Click Edit Post (or just start a new reply.)
    Click Go Advanced
    Scroll down to Manage Attachments and click.
    Now just Browse for your file, then click Upload. Simple!

  8. #8
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Help - Moving data from across multiple columns into rows

    Barring an upload, at least post an example string showing "map" in context. Is it in the first cell of each "section", or the final cell, or what? Is it the first word in the cell, or somewhere in the middle?
    Last edited by leelnich; 08-29-2017 at 09:56 PM.

  9. #9
    Registered User
    Join Date
    08-29-2017
    Location
    San Jose, CA
    MS-Off Ver
    MS Office 2010
    Posts
    5
    Quote Originally Posted by leelnich View Post
    Barring an upload, at least post an example string showing "map" in context. Is it in the first cell of each "section", or the final cell, or what? Is it the first word in the cell, or somewhere in the middle?

    Thank for your help so far. Actually, I was able to delete two columns in row 1 (where all the data is) that I don't need. Now I just need to apply your original offset code to move data for every 4 columns now in a consecutive row. However, no your off set code is not working. Even when I change it from "=OFFSET(A$1,,(ROWS(A$2:A2)-1)*6)" to =OFFSET(A$1,,(ROWS(A$2:A2)-1)*4). I paste that code in A2 and drag across to D2. Then I copy those fields and drag them down. However, all it does is repeat the same content of A2 all the way down. What am I missing?

  10. #10
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Help - Moving data from across multiple columns into rows

    1) I assume you mean you deleted two columns OUT OF EVERY SIX, reducing the "section size" to 4 columns each.
    2) Your conversion worked perfectly for me. Select D4 and look at the formula; it should read =OFFSET(D$1,,(ROWS(D$2:D4)-1)*4). If not, you've accidentally added a "$" dollar sign somewhere, turning a relative address into an absolute address.

+ 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] Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns
    By Emmax in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-03-2016, 01:23 PM
  2. Replies: 5
    Last Post: 01-04-2016, 01:42 PM
  3. Replies: 7
    Last Post: 02-05-2015, 03:20 PM
  4. [SOLVED] Moving data from Rows to columns and delete repeated rows
    By mikearmanios in forum Excel General
    Replies: 5
    Last Post: 04-20-2014, 06:25 AM
  5. Moving data from columns to rows
    By jodes78 in forum Excel General
    Replies: 3
    Last Post: 10-31-2012, 07:01 PM
  6. Issue moving data with multiple rows into columns
    By fguardia in forum Excel General
    Replies: 2
    Last Post: 07-30-2010, 11:53 AM
  7. Moving multiple customers in columns to rows
    By jordan.lawrance in forum Excel General
    Replies: 1
    Last Post: 05-18-2009, 04:16 AM

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