Right function variable length
To extract everything to the right:
=RIGHT(A2,LEN(A2)-FIND("\",A2,FIND("\",A2)+1))
To get rid of everything to the right:
=LEFT(A2,FIND("\",A2,FIND("\",A2)+1))
--
Best Regards,
Luke M
*Remember to click "yes" if this post helped you!*
"lundquic" wrote:
I have a column of data that looks like:
54432\27982\UNIV 20080701
I am looking to remove everything to the right of the second \. The length
of those charaters is variable. I know this is an easy one but I can not
seem to get it to work.
Thanks for the help
Mike
|