Extracting text from a cell

S

Shane Devenshire

Hi,

Try this

=SUBSTITUTE(MID(B1,FIND("@",B1)+1,99),".com",)

Where B1 contains the email address.
 
A

Ashish Mathur

Hi,

IF you want to use a non formula based approach, you can use Data > Text to
columns as well. Just that you will have to use it twice over - one with a
delimiter of @ and other with a delimiter of .

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
R

Reitanos

Did you try using Find/Replace?

Use *@ in the Find What box,
put nothing in the Replace With box,
and click Replace All

That should do it pretty darn quickly. Just make sure to keep a copy
of your data in case you might need it later.

Note that if the addresses are hyperlinks they will continue to link
to the original address and not just the domain name that remains
after the replace.
 
Top