+ Reply to Thread
Results 1 to 4 of 4

Split Cell by Delimiter, Move to New Row, Copy contents of cells on original row

  1. #1
    Registered User
    Join Date
    11-24-2011
    Location
    London,UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Split Cell by Delimiter, Move to New Row, Copy contents of cells on original row

    I was wondering if anyone can help me with the following.

    My excel sheet has 1413 rows with data in columns A - K

    Column K contains a string of characters separated by ; delimiter.(approx 8 max or as few as 1). Where there is only 1 there is no ; deliminator.

    Columns A - J contain additional information about the ; delimitated data in column K

    For reference the name of column K is called "Location"
    This column needs to be split apart by ; and the separate Locations that result from splitting apart by ; needs to be placed on a separate line. Once each Location is on a separate line, all of the Locations need to be lined up in Column K, one under another.
    Next, i need all of the data that is contained in each originating row (so text from columns A - J to be copied down to each of newly created rows)

    I've tried the "text to columns" option but this splits to contents of column K across to the right and not down onto a new line. I need the delimitated text to appear on new lines underneath in column K along with the contents of columns A-J

    Any help would be greatly appreciated

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Split Cell by Delimiter, Move to New Row, Copy contents of cells on original row

    Please attach a sample file so its easier to understand and help you better.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    11-24-2011
    Location
    London,UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Split Cell by Delimiter, Move to New Row, Copy contents of cells on original row

    Hi
    Thanks for your help, here is a example..
    Last edited by soph; 11-28-2011 at 11:40 AM.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Split Cell by Delimiter, Move to New Row, Copy contents of cells on original row

    Your example has vanished. Please attach again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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