Extract Text--Hopefully Easy!

  • Thread starter Thread starter rae820
  • Start date Start date
R

rae820

i have an e-mail address that I would like to extract the text after the
@ sign. Cannot use text to columns. Need a function so that way every
time I enter an email address, it will continually be updating instead
of actually going through and using the text to columns option each
time.

Any help would be great!
 
Try this (if the address is in cell A1):

=IF(ISERROR(FIND("@",A1)),"Invalid Email",MID(A1,FIND("@",A1)+1,255))
Does that help?

Regards,
Ron
 
it worked...however i was wondering if you could explain *why* it
worked???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top