+ Reply to Thread
Results 1 to 6 of 6

move data from rows into separate columns

  1. #1
    Registered User
    Join Date
    06-09-2014
    Location
    Hawaii
    MS-Off Ver
    Office 365
    Posts
    75

    move data from rows into separate columns

    Hello, I'm trying to move the first row of data into a new sheet and column and it's corresponding row of data into a second column then separate the second column into the two different data points. Attached is the spreadsheet with original and modified tab of how the original looks and end result would look. Hopefully I'm making sense! Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: move data from rows into separate columns

    Run time is appoximately 3 seconds.

    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    06-09-2014
    Location
    Hawaii
    MS-Off Ver
    Office 365
    Posts
    75

    Re: move data from rows into separate columns

    God like! Works perfect thanks so much!!!

  4. #4
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: move data from rows into separate columns

    Quote Originally Posted by augr View Post
    God like! Works perfect thanks so much!!!
    You're welcome,
    regards, JLG

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Hi ! Try this ‼


    According to the attachment an instant result demonstration to paste to the modified worksheet module :

    PHP Code: 
    Sub Demo1()
        
    Dim VW(), L&, R&, S
            Me
    .UsedRange.Clear
            V 
    Sheets(1).UsedRange.Columns(1).Value2
            ReDim W
    (1 To UBound(V) \ 22)
        For 
    1 To UBound(VStep 2
            R 
    1
            S 
    Split(V(11), ", ")
            
    W(R0) = V(L1)
            
    W(R1) = S(0)
            
    W(R2) = S(1)
        
    Next
            
    [A1:C1].Resize(R).Value2 W
    End Sub 
    Do you like it ? So thanks to click on bottom left star icon « Add Reputation » !

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,352

    Re: move data from rows into separate columns

    Hi augr,

    If you have a newer version of Excel, that has Power Query, you can use that tool to do your work. See the attached that uses Power Query, Index Column, Modulo function and Fill down to get your answer.

    Email Domains Power Query Mod Fill Down.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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] Move Data from Multiple Rows to One Row in Separate Columns
    By djpinson in forum Excel General
    Replies: 2
    Last Post: 05-13-2019, 09:20 AM
  2. move data from rows into columns
    By Queenie Balb in forum Excel General
    Replies: 2
    Last Post: 05-24-2016, 09:20 PM
  3. [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
  4. How do I move multiple rows of similar into one row of data on separate sheet
    By luciedefreitas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2014, 08:00 PM
  5. [SOLVED] To move Data rows to columns against one cell so can write separate SQL insert statments
    By hadster016 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2014, 09:52 AM
  6. [SOLVED] Move data on duplicate rows (different columns) to one row and delete extra rows?
    By Sagwa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2014, 08:25 AM
  7. 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

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