+ Reply to Thread
Results 1 to 9 of 9

Split out text into new rows

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    29

    Split out text into new rows

    Dear Excel Experts,

    I have a spreadsheet with multiple rows and columns, some of the data in column F for example has the following in a single field separated out with comma;

    Server A,Server B,
    Test Server a,

    I want to split this out with a VBA script or a formula and insert a new row below so it then appears like;

    Server A
    Server B
    Test Server a

    Can anyone help?

    Thanks again

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Split out text into new rows

    Do you want to copy what's in the rest of the row to each of the new rows?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    02-05-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Split out text into new rows

    Quote Originally Posted by Norie View Post
    Do you want to copy what's in the rest of the row to each of the new rows?
    Actually yes that would be useful, thank you.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,590

    Re: Split out text into new rows

    This code splits data in F column. See file.
    Please Login or Register  to view this content.
    Attached Files Attached Files

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

    Re: Split out text into new rows

    A formula way. With the text string in A1 and this in A2 filled down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I have interpreted correctly.
    Attached Files Attached Files
    Dave

  6. #6
    Registered User
    Join Date
    02-05-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Split out text into new rows

    Quote Originally Posted by kvsrinivasamurthy View Post
    This code splits data in F column. See file.
    Please Login or Register  to view this content.
    This is excellent thanks very much, solved my problem.

  7. #7
    Registered User
    Join Date
    02-05-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Split out text into new rows

    Quote Originally Posted by FlameRetired View Post
    A formula way. With the text string in A1 and this in A2 filled down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I have interpreted correctly.
    Thanks also for your input FlameRetired this is also very useful

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

    Re: Split out text into new rows

    You're welcome. Thanks for the feedback.

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,590

    Re: Split out text into new rows

    Thanks for feed back.

+ 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: 4
    Last Post: 11-11-2015, 03:00 PM
  2. [ask] split text with comma to new rows
    By qiyusi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2015, 09:27 PM
  3. Split rows by bold text
    By skrtzi in forum Excel General
    Replies: 1
    Last Post: 10-07-2013, 04:27 PM
  4. Split text into new rows on a seperate sheet
    By Mrqaman in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-25-2013, 11:53 PM
  5. split the text in a cell into rows
    By rrakkki in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-13-2011, 11:23 AM
  6. Split text string into individual rows
    By cmb80 in forum Excel General
    Replies: 2
    Last Post: 06-30-2011, 10:39 AM
  7. Split text , uniformly paste in rows and columns.
    By nshanmugaraj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2006, 09:15 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