Sub string in excel -


i substring tow strings tow different columns

how first string in column a1 looks like: a76 transfer conditions tools , equipment

how string in column b1 looks like: documents/z_documentation/pdf/circular-a76.pdf

what have

from second string last bit after last /

=left(b1,find("@",substitute(b1,"/","@",len(b1)-len(substitute(b1,"/",""))))) 

and first string have hole thing

so string @ , should like: circular-a76.pdf | a76 transfer conditions tools , equipment

thanks help

write in c1 cell =right($b1,small(if(mid($b1,large(row(indirect("1:"&len($b1))),row(indirect("1:"&len($b1)))),1)="/",row(indirect("1:"&len($b1))),""),1)-1) & " | " & $a1

then press ctrl + shift + enter

you enter image description here


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -