+ Reply to Thread
Results 1 to 13 of 13

Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

  1. #1
    Registered User
    Join Date
    03-02-2016
    Location
    Sydney
    MS-Off Ver
    2016
    Posts
    7

    Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Hello
    I have data that are in multiple columns in 8 sets of 3 columns, with data in separate rows. I would like to combine the columns, so I end up with 3 columns. All of the headings are different except, the first of a set always contains "Body", the second "Feet", the third "Head". How do I combine the columns?
    Attached Files Attached Files
    Last edited by Emmax; 03-02-2016 at 08:11 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Probably you could use some combination of OFFSET, MOD and ROW functions, but if you fail with your tries, consider attaching a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    02-24-2016
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    92

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Hi,

    You can use this formula to add all *_Body columns.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Likewise for *Feet and *Head.

    Hoop this helps,
    WouterM
    The Netherlands

  4. #4
    Registered User
    Join Date
    03-02-2016
    Location
    Sydney
    MS-Off Ver
    2016
    Posts
    7

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    That would make sense as there is only one occurrence of each column type in each row, but Excel didn't accept it.

  5. #5
    Registered User
    Join Date
    02-24-2016
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    92

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Hi,

    This is how i suggested it with my formula.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-02-2016
    Location
    Sydney
    MS-Off Ver
    2016
    Posts
    7

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Thanks, but I can't seem to download the Excel sheet. This forum is hard to use.

  7. #7
    Registered User
    Join Date
    03-02-2016
    Location
    Sydney
    MS-Off Ver
    2016
    Posts
    7

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Nope, it's fine. It didn't like Google Chrome.

  8. #8
    Registered User
    Join Date
    03-02-2016
    Location
    Sydney
    MS-Off Ver
    2016
    Posts
    7

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    I still couldn't get it to work with the real data unfortunately

  9. #9
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    try for instance in N2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    other option (if headers follow some rules) (headers in columns B:M start with texts from one of columns N:P
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down/right
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    03-02-2016
    Location
    Sydney
    MS-Off Ver
    2016
    Posts
    7

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Hello
    That first one worked! I couldn't get the second one to work though. Fantastic stuff! That will save me a lot of time today.
    Thanks a million!

  11. #11
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Another way using INDEX / MATCH. Array enter this in N2 fill down and across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Dave

  12. #12
    Registered User
    Join Date
    03-02-2016
    Location
    Sydney
    MS-Off Ver
    2016
    Posts
    7

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    Yes this worked fantastically well too. Thanks very much!

  13. #13
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Moving multiple columns (8 x sets of 3) with data in separate rows into 3 columns

    You're welcome. Thanks for the feedback and rep.

+ 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. Replies: 7
    Last Post: 02-05-2015, 03:20 PM
  2. [SOLVED] Moving mass rows to separate columns.
    By Bailey_Thomas in forum Excel General
    Replies: 4
    Last Post: 12-19-2014, 04:09 PM
  3. Macro/Script for Moving Groups of Data in to Separate Columns
    By JustinSxcel in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 07-05-2012, 01:56 AM
  4. To convert data in multiple sets of columns to multiple rows
    By Dhanya_nair in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-13-2012, 02:49 PM
  5. Issue moving data with multiple rows into columns
    By fguardia in forum Excel General
    Replies: 2
    Last Post: 07-30-2010, 11:53 AM
  6. Moving data from 2 rows to 3 separate columns
    By sandra08 in forum Excel General
    Replies: 1
    Last Post: 04-01-2008, 04:50 PM
  7. Replies: 1
    Last Post: 06-29-2006, 04:25 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