+ Reply to Thread
Results 1 to 11 of 11

split cell with wrapped text into two columns

  1. #1
    Registered User
    Join Date
    05-18-2012
    Location
    Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    7

    split cell with wrapped text into two columns

    I have a many rows that contain cells with wrapped text; the cell looks like this, for example

    laboratory
    room a, house a, campus


    can I split the information, i.e move "room a, house a, campus" into a separate column.

    thanks

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: split cell with wrapped text into two columns

    Hi

    Use text to columns command with "," as separator
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    05-18-2012
    Location
    Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: split cell with wrapped text into two columns

    apologies, I was not clear; I would like 'laboratory' in one cell and 'room a, house a, campus' in the adjacent cell

  4. #4
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: split cell with wrapped text into two columns

    Try this
    =RIGHT(A1,LEN(A1)-FIND(" ",A1))

    or

    =RIGHT(A1,LEN(A1)-FIND(CHAR(10),A1))
    Last edited by tom1977; 05-18-2012 at 09:59 AM.

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: split cell with wrapped text into two columns

    Do you mean the text is wrapped or is on two lines in the formula bar?

    If the latter try ...

    With your data in A2
    In B2
    Please Login or Register  to view this content.
    In C2
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Registered User
    Join Date
    05-18-2012
    Location
    Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: split cell with wrapped text into two columns

    Super, thank you to both! I can work with all of these suggestions.

  7. #7
    Registered User
    Join Date
    07-25-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: split cell with wrapped text into two columns

    Hi I was wondering if someone could please expand further on this. I am trying to separate an address in to separate columns, which at the momemnt has been wrapped so using the Text to columns is not working.

    I have used this formula - =RIGHT(A1,LEN(A1)-FIND(CHAR(10),A1))
    which has worked so far in that is has separated each new part away from what went before but it still takes with it what follows it.

    For example.

    CELL A1 - Address 1, Address 2, City, Postcode
    CELL A2 - Address 2, City, Postcode
    CELL A3 - City, Postcode
    CELL A4 - Postcode

    How do I make it so that its:

    CELL A1 - Address 1
    CELL A2 - Address 2
    CELL A3 - City
    CELL A4 - Postcode

    I'm guessing that it is going to be a slight variation on the formula I have already used. If you have any ideas I would really appreciate your help.

    Thanks,

    Jen

  8. #8
    Registered User
    Join Date
    08-28-2012
    Location
    Kuala Lumpur
    MS-Off Ver
    Excel 2007
    Posts
    6

    Unhappy Re: split cell with wrapped text into two columns

    Hello there,

    I have a similar issue whereby I need to split a cell that contains multiple lines, into multiple cells.

    What I have is, cell-A1 contains the below:
    data1
    data2
    data3

    I need to split them to 3 cells B1, C1 and D1:
    Cell-B1 = data1
    Cell-C1 = data2
    Cell-D1 = data3

    I tried the below formula but it is only working for a cell that contains 2 lines..
    =RIGHT(D3014,LEN(D3014)-FIND(CHAR(10),D3014))

    I really hope someone can help me..

    Many thanks,
    CSMiin

  9. #9
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: split cell with wrapped text into two columns

    Hello csmiin, and welcome to the forum.

    Unfortunately you have inadvertently broken one of the forum rules. Please read the following and make the necessary change. Thanks.

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

  10. #10
    Registered User
    Join Date
    08-28-2012
    Location
    Kuala Lumpur
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: split cell with wrapped text into two columns

    I'm sorry, it's my first time using a forum.
    Last edited by Cutter; 08-28-2012 at 09:49 PM. Reason: Removed whole post quote

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: split cell with wrapped text into two columns

    Same goes for jen2412

    Unfortunately you have inadvertently broken one of the forum rules. Please read the following and make the necessary change. Thanks.

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

+ 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