+ Reply to Thread
Results 1 to 6 of 6

Splitting data based on delimiter

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Splitting data based on delimiter

    Hi All,

    I have a few data in column A which is contains title and company. Here I need to separate the title and company. There is special character "," between title and company. But in few cases it is having more delimiter. Please find the attachment.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-17-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Splitting data based on delimiter

    I'd use text-to-columns with a delimiter of comma. You'd have to do some manual processing if you're wanting to not have more than two columns but it seems like the easiest way.

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Re: Splitting data based on delimiter

    I have huge set of data to be done.

  4. #4
    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
    53,048

    Re: Splitting data based on delimiter

    For the part, use this in E2 copied down...
    =LEFT(A2,FIND("xx",SUBSTITUTE(A2,",","xx",LEN(A2)-LEN(SUBSTITUTE(A2,",",""))))-1)
    Then in F2, copied down...
    =MID(A2,LEN(E2)+3,99)
    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

  5. #5
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Re: Splitting data based on delimiter

    Thank You I Had Got The Result

  6. #6
    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
    53,048

    Re: Splitting data based on delimiter

    Happy to help and thanks for the feedback

+ 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. Replies: 2
    Last Post: 01-29-2013, 02:46 PM
  2. [SOLVED] Splitting worksheets based on a column Data
    By Deventus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-17-2012, 06:40 AM
  3. [SOLVED] Splitting a string into a vertical list based on delimiter?
    By Flabbergaster in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-19-2012, 08:47 AM
  4. Splitting of data based on condition
    By arurun in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2012, 04:58 AM
  5. Splitting a Cell (no useable delimiter).....
    By Puggy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-17-2005, 11:31 AM

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