+ Reply to Thread
Results 1 to 3 of 3

splitting a cell that has many values separated by a carriage return

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    38

    splitting a cell that has many values separated by a carriage return

    Back again cause I'm stumped: I have many many tables that have data in a single cell separated by a carriage return. I would eventually like each of those 'row entries' to have their own cell. See attached file for before/after clarification. I think it will have something to do with the CHAR(10) and find/search combos but I'm not sure how to do this for as many 'row' entries as my data has.

    Temporarily i have found that if I highlight/copy the values in the cell then paste into a txt file I can then import back into Excel with the values separated the way I want, I just think that there's got to be a way with fewer steps for the process. Any help/insight appreciated! split cell into many rows.xlsx

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: splitting a cell that has many values separated by a carriage return

    copy paste special into word as unformatted text
    find ^p replace with ^|
    copy paste back into excel
    essentially the same but didnt work when i used a text file

    or text to columns delimited choose other enter ctrl+j that will put then across columns then copy paste special transpose
    other than that you'll need code to do it
    Last edited by martindwilson; 06-28-2013 at 09:18 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    09-22-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: splitting a cell that has many values separated by a carriage return

    Thanks for the help! I'll have to play around with the ctrl+J never knew you could do that...and maybe record a macro. However it's looking like I'll have to save to a file then import.

+ 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