
Originally Posted by
colgor
OK, Richard, I did it again and your course title formula worked so I must have typed or pasted it in wrong somehow the first time I tried it.
I am attaching a small sample of real data where there are still problems though. I have taken many of the correct rows out so there appears to be more incorrect than there actually are. I hope it is enough to see where the problem might be?
Thanks again!
Variations
O2:
Formula:
=MID(G2,IF(LEN(G2)-LEN(SUBSTITUTE(G2,"-",""))=1,FIND("-",G2)-4,FIND("^",SUBSTITUTE(G2,"-","^",2))-4),7)
P2:
Formula:
=RIGHT(G2,IF(LEN(G2)-LEN(SUBSTITUTE(G2,"-",""))=1,LEN(G2)-FIND("-",G2)-3,LEN(G2)-FIND("-",G2)-3))
Q2:
Formula:
=SUBSTITUTE(LEFT(G2,IF(LEN(G2)-LEN(SUBSTITUTE(G2,"-",""))=1,FIND("-",G2)-6,FIND("^",SUBSTITUTE(G2,"-","^",2))-6)),N2&" ","")
Bookmarks