• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Return elements between commas

Tarheel8181

New Member
Hi -- Please see attached. I need a formula that can separate out elements between commas. Any ideas?
 

Attachments

  • Excel question.xlsx
    8.4 KB · Views: 7
upload_2017-7-19_14-14-2.png

Here is a copy down formula solution.

In C2, formula copy down :

=IF(A2="",TRIM(MID(SUBSTITUTE(", "&MID(LOOKUP("zzz",A$1:A2),FIND(":",LOOKUP("zzz",A$1:A2))+2,99),", ",REPT(" ",99)),COUNTIF(INDEX(A$1:A2,MATCH("zzz",A$1:A2)):A2,"")*99,99)),"")

Regards
Bosco
 

Attachments

  • Split Data(2).xlsx
    10 KB · Views: 4
Back
Top