Excel - Extract Test Between Semi-Colon -


i have list of data in column different lengths in following format:

abc radiologist 100; abc nurse 200; abc technologist 300; abc biller 400; abc coder 500 

i trying extract each line of data separate column show such:

course 1             course 2       etc abc radiologist 100  abc nurse 200 

i need each course name in separate column.

i used formula in column b:

=mid(a1,1,search(";",a1)-1)  

and formula in column c:

=trim(mid($a$1,len(b1)+2,find(";",$a$1,len(b1)))) 

this formula returns values, because of varying lengths of data, in column c, cuts data off or adds data after third ;

any suggestions?

i need repeat formula 9 times

with data in a1, enter in b1:

=trim(mid(substitute($a1,";",rept(" ",999)),columns($a:a)*999-998,999)) 

and copy across.

enter image description here

edit#1:

we copying b1 across. c1 contain:

=trim(mid(substitute($a1,";",rept(" ",999)),columns($a:b)*999-998,999)) 

and d1 contain:

=trim(mid(substitute($a1,";",rept(" ",999)),columns($a:c)*999-998,999)) 

etc.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -