+ Reply to Thread
Results 1 to 5 of 5

Splitting string into multiple columns based on separator

  1. #1
    Registered User
    Join Date
    03-29-2017
    Location
    Florida
    MS-Off Ver
    2010
    Posts
    60

    Splitting string into multiple columns based on separator

    Say for example, if I need to split this text into 3 columns... "5221234/001-INSTALL x 1" or "5329093-011/004-BULK&CASE ASSY x 1" where the first separator is "/" and the second separator is "x".


    HTML Code: 

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Splitting string into multiple columns based on separator

    How about with a formula setup...

    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    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: Splitting string into multiple columns based on separator

    Enter in B1 and copy across and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C D
    1 5221234/001-INSTALL x 1 5221234 001-INSTALL 1
    2 5329093-011/004-BULK&CASE ASSY x 1 5329093-011 004-BULK&CASE ASSY 1
    Last edited by AlKey; 06-10-2017 at 10:20 AM.
    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

  4. #4
    Registered User
    Join Date
    03-29-2017
    Location
    Florida
    MS-Off Ver
    2010
    Posts
    60

    Re: Splitting string into multiple columns based on separator

    Thanks guys, but I need a macro, not formulas, I have the formulas already. I've solved it though and I'll post what I came up with later.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,552

    Re: Splitting string into multiple columns based on separator

    vba
    Please Login or Register  to view this content.

+ 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. [SOLVED] Splitting Text String Into Separate Columns
    By robertguy in forum Excel General
    Replies: 2
    Last Post: 02-06-2016, 01:26 PM
  2. splitting text string into different columns
    By lbm1978 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2013, 05:13 PM
  3. [SOLVED] Splitting Master Sheet Based on Different Columns Into Multiple Sheets
    By LISSANN in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2013, 06:22 PM
  4. [SOLVED] Splitting string and distributing to columns with VBA (conditional)
    By knutfh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-04-2013, 05:02 PM
  5. Replies: 6
    Last Post: 03-18-2013, 05:30 PM
  6. [SOLVED] Macro to Merge multiple columns together with separator
    By ucsutah in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-16-2012, 12:15 AM
  7. Splitting cells into multiple columns by specific string
    By KrNpRiDe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2009, 12:36 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