+ Reply to Thread
Results 1 to 4 of 4

Separate Multiple Lines in 1 Cell

  1. #1
    Registered User
    Join Date
    12-07-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2003
    Posts
    2

    Lightbulb Separate Multiple Lines in 1 Cell

    I need to parse multiple lines in 1 cell.

    For example, in A1 I have:

    123 Main Road
    Dallas, TX 75261
    USA

    I need to those multiple lines into 3 different rows in excel. So that the file can then read:

    A1: 123 Main Road
    B1: Dallas, TX 75231
    C1: USA

    Help please!!

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Separate Multiple Lines in 1 Cell

    Assume your multiple lines done through Al+Enter, If so select the range press Ctrl+H to activate Find/Replace.

    From the keyboard numeric side (right side of the keyboard, not the top row) in Find What: type Alt+010, then Replace with "|" (without quotes).

    Then do Text To columns & select other as "|" (without quotes)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    12-07-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Separate Multiple Lines in 1 Cell

    I tried your method above, and it didn't work for me.The multiple lines were not done through Alt+Enter. They were simply exported from a program (Tableau), that automatically combined them together. Here is what my spreadsheet looks like:


    A1: "123 Main St
    Dallas, TX 75261
    USA"
    B1: Dallas
    C1: TX
    D1: 75261
    E1: USA

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Separate Multiple Lines in 1 Cell

    In Find What: instead of Alt+010 enter Alt+0160

+ 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