Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

Remove some text from a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JW - 16 Aug 2006 22:09 GMT
I am attempting to update an email list.  I have exported from Outlook all of
the emails that were returned to me because of a bad email address.  Some of
the address' are in a column along with a bunch of other words.  My goal is
to "pull" only the email address' out of that column.  The only thing that I
see that is consistent in each cell is the @ of the email address.

Your help is greatly appreciated.....
Biff - 16 Aug 2006 22:56 GMT
Hi!

Try this:

=TRIM(RIGHT(SUBSTITUTE(LEFT(A1,FIND(" ",A1&" ",FIND("@",A1))-1)," ",REPT("
",LEN(A1))),LEN(A1)))

Seems to work on the following possibilities:

please note that Joe<at>Microsoft.com is no longer
Bob<at>Aol.com email is undeliverable
if you can read this buffy<at>netscape.net
Tom01<at>comcast.rr text text
me<at>you.org

Note: I've replaced the "at" sign so the examples won't hyperlink.

Biff

>I am attempting to update an email list.  I have exported from Outlook all
>of
[quoted text clipped - 7 lines]
>
> Your help is greatly appreciated.....
Biff - 16 Aug 2006 23:12 GMT
Well, I can see that line wrap is going to cause problems with formula so
here it is in chunks:

=TRIM(RIGHT(SUBSTITUTE(LEFT
(A1,FIND(" ",A1&" ",FIND("@",A1))-1)
," ",REPT(" ",LEN(A1))),LEN(A1)))

Biff

> Hi!
>
[quoted text clipped - 26 lines]
>>
>> Your help is greatly appreciated.....
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.