+ Reply to Thread
Results 1 to 9 of 9

How to move selected data from column 1 to a different row in column 2?

  1. #1
    Registered User
    Join Date
    08-18-2013
    Location
    Highlands
    MS-Off Ver
    Excel 2010
    Posts
    19

    How to move selected data from column 1 to a different row in column 2?

    I have Excel 10.0 in Windows 10 Pro.

    I have one column of text values in Excel. I want to split that column into 2 separate columns.

    The values were a single copy-paste from a web page.

    A1 contains a title. A2 contains a few lines of text corresponding to A1

    A3 contains a title. A4 contains the text corresponding to A3. And so on.

    So, the contents of A2 must be moved to B1

    The contents of A4 must be moved to B3. And so on.

    I would like all the resulting empty rows to be deleted.

    Thanks.
    Last edited by AliGW; 07-29-2019 at 09:33 AM. Reason: Solved tag added - no need to edit thread title or add solved to post. Thanks.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: How to move selected data from column 1 to a different row in column 2?

    Do you have the PowerQuery add-in?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,844

    Re: How to move selected data from column 1 to a different row in column 2?

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  4. #4
    Registered User
    Join Date
    03-01-2013
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: How to move selected data from column 1 to a different row in column 2?

    if you have data starting from cell A1. Enter the below code.If you have header in A1, replace A1 with A2 in the code and use it.
    create a module and paste the below code.
    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: How to move selected data from column 1 to a different row in column 2?

    Please Login or Register  to view this content.
    Last edited by jindon; 07-28-2019 at 11:07 AM.

  6. #6
    Registered User
    Join Date
    08-18-2013
    Location
    Highlands
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to move selected data from column 1 to a different row in column 2?

    .
    As a courtesy to the generous volunteers, I tried all 3 macros.

    Macros by @Mumps1 and @vshukla produced identical results - and exactly satisfied the requirements spec.

    The macro by @jindon produced peculiar results. A description would be too time-consuming - sorry !!

    Thanks to all contributors.

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,844

    Re: How to move selected data from column 1 to a different row in column 2?

    Glad to help.

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: How to move selected data from column 1 to a different row in column 2?

    Quote Originally Posted by OldGrantonian View Post
    The macro by @jindon produced peculiar results. A description would be too time-consuming - sorry !!
    What are you talking about?
    Attached Files Attached Files
    Last edited by jindon; 07-29-2019 at 08:36 AM.

  9. #9
    Registered User
    Join Date
    08-18-2013
    Location
    Highlands
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to move selected data from column 1 to a different row in column 2?

    Quote Originally Posted by jindon View Post
    What are you talking about?
    With your code, some cells with free text are converted to links, and some links are converted to free text.

    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] Button or formula to automatically move to a selected column
    By novicealan in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-16-2018, 09:19 AM
  2. [SOLVED] Convert column B as multiple column titles and move data in column C into new columns?
    By princesscathryn in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 06-30-2014, 07:31 PM
  3. [SOLVED] Macro to move any selected cell to a specific column on the same row
    By Jonah Mulski in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-30-2013, 12:23 PM
  4. Find Duplicates and move a selected cell to another column
    By scottie72 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-24-2012, 09:33 AM
  5. Move rows from one sheet to another if a word in column is selected
    By rwood540 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2012, 10:54 AM
  6. Move selected column to end of dynamic range
    By RedWing in forum Excel General
    Replies: 1
    Last Post: 09-10-2011, 05:19 PM
  7. Selected cell move one column to the right
    By marksuza in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-12-2009, 04:26 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