View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Big UT Fan Big UT Fan is offline
external usenet poster
 
Posts: 34
Default Parsing text containing a tilde "~"?

Not working for me...

"L. Howard Kittle" wrote:

Try this

=MID(F10,FIND("~",F10)+1,99)&" - "&LEFT(F10,FIND(" ~",F10))

HTH
Regards,
Howard

"Big UT Fan" wrote in message
...
I have text in column A which I want to manipulate. The format of the text
on the left, text on the right, seperated by " ~ " (space-tilde-space).
The
text on either sides of the space-tilde-space may contain spaces, slashes,
backslashes, pound signs, ampersands, etc. What I'd really like to do is
swap the positions of the the text on the other side of the tilde and
replace
the tilde with a hyphen. In other words, all the left-side text up to the
space-tilde-space delimiter moves to the right of the space-tilde-space
delimiter and the right-side text moves to the left of the
space-tilde-space.
For example,

Butterfield 8 ~ Elizabeth Taylor

becomes

Elizabeth Taylor - Butterfield 8

Any help is appreciated.



.