+ Reply to Thread
Results 1 to 4 of 4

split cells with multiple types of delimiter

  1. #1
    Forum Contributor
    Join Date
    02-28-2013
    Location
    NY, USA
    MS-Off Ver
    Excel 2019
    Posts
    101

    split cells with multiple types of delimiter

    Is there a way to select multiple delimiters (not provided by the DataTools Wizard) when splitting the data within a cell? Excel Data Tools Wizard provides Tab, Semicolon, Comma, Space and ONE other delimiter to separate data within one cell. But if my data contains 1/2|2\a-b-d, is there a way to split the data into individual elements ? Thank you very much.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: split cells with multiple types of delimiter

    Try this in B1 and pull formula to the right until you see blanks

    =TRIM(MID(SUBSTITUTE("-"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE($A1,"/","-"),"|","-"),"\","-"),"-",REPT(" ",50)),50*COLUMNS($A:A),50))

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    1
    1/2|2\a-b-d 1 2 2 a b d
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: split cells with multiple types of delimiter

    I'd probably use a text editor on your data and change one of the odd delimiters to one that is more Excel friendly. Something like, edit, find, replace all. Save as text, and do the Data Tools Wizard thingey.

    Pete

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: split cells with multiple types of delimiter

    Or this formula:
    =MID($A$1;2*COLUMN()-3;1)
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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. Split multiple Delimiter field with Header into Multiple Columns and Rows
    By omershafiq2012 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2015, 08:01 AM
  2. Split Text using numbers as Delimiter.
    By ksalsaadi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-26-2012, 12:42 AM
  3. Replies: 3
    Last Post: 11-28-2011, 03:08 PM
  4. Split contents of a cell into several cells (space as a delimiter)
    By ramky79 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-03-2011, 04:50 AM
  5. Split function VBA, space delimiter
    By mkvassh in forum Excel General
    Replies: 3
    Last Post: 10-25-2011, 12:19 PM
  6. Split Cell by Delimiter, Move to New Row...
    By jpfulton in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2008, 03:43 AM
  7. Split Cell by Delimiter, Move to New Row...
    By jpfulton in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 09-08-2008, 03:53 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