+ Reply to Thread
Results 1 to 4 of 4

split string seperated by comma

  1. #1
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    split string seperated by comma

    hi, i have a string in A1 as
    HTML Code: 
    i want the output in B1 as
    108031052,108043871


    What functionality do i need to use??

    Thanks,

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: split string seperated by comma

    Can you post a few more examples, so we can see what kind of variations you have to deal with?

    Pete

  3. #3
    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,936

    Re: split string seperated by comma

    Assuming all your data is in the same format, try this...
    =MID(A1,FIND("(",A1,1)-10,9)&","&MID(A1,FIND("(",A1,FIND("(",A1,1)+1)-10,9)
    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

  4. #4
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    Re: split string seperated by comma

    Hi FDibbins,


    Thank u so much for your help.

    Sometime i have more than 2 strings seperated by a comma. Can we change the formula to split into depending on the string separated by commas.

+ 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] split a string of text in one cell into 2 new cells after occurance of second comma
    By syncguy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2015, 12:50 AM
  2. Comma Seperated Value Files
    By TheRevenant in forum Excel General
    Replies: 4
    Last Post: 06-12-2013, 01:22 AM
  3. Please Help - split a string having both comma (,) and semicolon(;)
    By Chandan.jha in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-06-2012, 01:53 AM
  4. convert excel column data to comma seperated string
    By faraz in forum Excel General
    Replies: 4
    Last Post: 04-28-2010, 03:40 AM
  5. Split comma seperated column in to new rows
    By singy33 in forum Excel General
    Replies: 1
    Last Post: 08-06-2009, 12:35 PM
  6. Have 300 cells, want them in one, seperated by comma
    By AdamParker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-04-2009, 01:58 PM
  7. How to split a value seperated by comma?
    By Ticktockman in forum Excel General
    Replies: 2
    Last Post: 03-23-2006, 12:25 PM

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