Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default How to separate user name and domain name in email id?

I have many mail ids in excell sheet in column A. I want to separate the
username and domain name in Column B and Column C respectively. e.g. Column
A: , Column B: abcde and Column C: gmail.com


thanks in advance

Harshad
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default How to separate user name and domain name in email id?

On Feb 16, 11:00*pm, Harshad wrote:
I have many mail ids in excell sheet in column A.
I want to separate the username and domain name in
Column B and Column C respectively. e.g. Column
A: , Column B: abcde and Column C:
gmail.com


Several ways to do this. One way ....

If A1 is text of the form "username@domainname", then:

B1: =left(A1,find("@",A1)-1)

C1: =substitute(A1,B1&"@","")
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to separate user name and domain name in email id?


Harshad;233734 Wrote:
I have many mail ids in excell sheet in column A. I want to separate
the
username and domain name in Column B and Column C respectively. e.g.
Column
A: , Column B: abcde and Column C: gmail.com


thanks in advance

Harshad


Try Data-Text to columns - Check " delimited" enter @ as delimiter - OK


--
Pecoflyer

Cheers -
*'Membership is free' (
http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=65249

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default How to separate user name and domain name in email id?

Dear all,

All of your attampt is working very nicely.

Thanks

Harshad

"Pecoflyer" wrote:


Harshad;233734 Wrote:
I have many mail ids in excell sheet in column A. I want to separate
the
username and domain name in Column B and Column C respectively. e.g.
Column
A: , Column B: abcde and Column C: gmail.com


thanks in advance

Harshad


Try Data-Text to columns - Check " delimited" enter @ as delimiter - OK


--
Pecoflyer

Cheers -
*'Membership is free' (
http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=65249


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract domain names from email IDs sl24 Excel Worksheet Functions 2 August 21st 07 05:05 PM
How can I get the domain name out a email adress? Gauthier Excel Worksheet Functions 1 September 7th 05 04:51 PM
How do you sort a column of email addresses by domain name in Exc. Andy R Excel Discussion (Misc queries) 5 December 10th 04 09:26 PM


All times are GMT +1. The time now is 09:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"