=Find("@", Substitute(A1, "/", "@", Len(A1) - Len(Substitute(A1, "/", ""))))
Hello,
I am trying to stay out of VBA.
Just want to return the last bit of text..
firstbit\secondbit\lastbit
delimiters will always be \ but could be many. Just need that last bit after the last \.
Thanks in advance!
[COLOR=#0000ff]=TRIM(RIGHT(SUBSTITUTE(A1,"\",REPT(" ",99)),99))[/COLOR]
Try This:
=TRIM(RIGHT(SUBSTITUTE(A1,"",REPT(" ",255)),255))
Try this:
Code:[COLOR=#0000ff]=TRIM(RIGHT(SUBSTITUTE(A1,"\",REPT(" ",99)),99))[/COLOR]
Markmzz
Oops, left out the "", So as above would be:
=TRIM(RIGHT(SUBSTITUTE(A1,"",REPT(" ",255)),255))
Hi!
Try to use the Code option (#) to post the formula in this case.
Look at my post above.
Markmzz
Thanks Markmzz, I see it is dropping the slash without it.