+ Reply to Thread
Results 1 to 8 of 8

Can you seperate text from one cell into other cells?

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    US
    MS-Off Ver
    Excel Office 365
    Posts
    56

    Can you seperate text from one cell into other cells?

    Is it possible to that the contents of a single cell and and place text of that cell into separate cells?
    From a web output I have some like the following in my first cell

    asdfsdf|adkjoi|fdf234sd|fsf3ie43|||asdfjlkei393|dfjvie|d||adfjei|...goes on with 28 "|"

    The text is in A1 and I would like it to take the first string of characters up to the | and place it into cell A2
    Then take the next set of characters up to the next | and place into cell A3 and so on.
    Once the cell in A1 has been completely separated, go down to the next row and do the same until it reaches the end of the data.
    Normally I would create a text file with the web data and then import that in with "|" delimited fields but I don't want to create that extra step for the user.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Can you seperate text from one cell into other cells?

    Can you use Text-To-Columns with "|" as the delimiter?

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Can you seperate text from one cell into other cells?

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    06-07-2012
    Location
    US
    MS-Off Ver
    Excel Office 365
    Posts
    56

    Re: Can you seperate text from one cell into other cells?

    Nope, looks like it just dropped through with nothing. Below is a full line from my file.
    S5000378-1_MX_1301020|3PAR|3PAS3|NS1050F1013|AK01|AK17|5200399304|00130|12/12/12|02/01/13|S5000378-1|||A|PAT||||1||||||||F|TM|CLEAR|

  5. #5
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Can you seperate text from one cell into other cells?

    Works for me. Have you checked the worksheet reference?

  6. #6
    Registered User
    Join Date
    06-07-2012
    Location
    US
    MS-Off Ver
    Excel Office 365
    Posts
    56

    Re: Can you seperate text from one cell into other cells?

    Quote Originally Posted by JOHN H. DAVIS View Post
    Can you use Text-To-Columns with "|" as the delimiter?
    Ummm yep that worked great, but now I feel like a dunce. Thank you John

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Can you seperate text from one cell into other cells?

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Can you seperate text from one cell into other cells?

    You're welcome. Glad to help out.

+ 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. Trying to seperate a lot of vertical text from a single cell.
    By Wendy Collins in forum Excel General
    Replies: 5
    Last Post: 01-31-2013, 07:35 AM
  2. Seperate Values in single cell seperated by [alt+enter] into seperate cells
    By Coquito in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2012, 04:24 PM
  3. Filling cells with text in them based on a seperate source worksheet
    By MattLinkus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2007, 12:29 PM
  4. Replies: 2
    Last Post: 02-02-2006, 04:15 PM
  5. Replies: 3
    Last Post: 10-12-2005, 05:05 PM

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