excel - Extract Name from a Data String -


i have unstructured data in a1 , want extract name string can suggest excel formula same

enter image description here

=if(isnumber((find("(",c5))),mid(c5,(find("(",c5)+1),(find(" ",c5,(find(" ",c5,(find("(",c5))))+1))-find("(",c5)-1),left(c5,(find(" ",c5,(find(" ",c5))+1)-1))) 

this code check text "(". if text contain one, gives first 2 "word" after it. if not, gives first 2 word of text.

(in row #4 need handle result manually.)

to handle 1 word after "(" need modify above formul :

=if(isnumber((find("(",c7))),(if(isnumber(find(" ",c7,find(" ",c7,find("(",c7))+1)),mid(c7,(find("(",c7)+1),(find(" ",c7,(find(" ",c7,(find("(",c7))))+1))-find("(",c7)-1),mid(c7,find("(",c7)+1,(find(" ",c7,find("(",c7))-find("(",c7))-1))),left(c7,(find(" ",c7,(find(" ",c7))+1)-1))) 

Comments

Popular posts from this blog

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

github - Git errors while pushing -

c++ - How can I delete a QSharedPointer -