Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Sort a column of email addresses by end portion of address

Hi Phil
Thanks very much for your help!
Jammie
Phil Sharpe wrote:

I think she means that if your full email address is in cell C3 then putting
then formula:
=MID(C3, SEARCH(".", C3) + 1, LEN(C3) - SEARCH(".",C3))
into D3 (for example) will give you the result you want.

If this is the case then it won't quite work for your example, because you
have a "." between john and smith.
If that's the case then try this:
=MID(C3,SEARCH(".",C3, SEARCH("@", C3))+1,LEN(C3)-SEARCH(".", C3,
SEARCH("@", C3, SEARCH("@", C3))))
it will start chopping text after the 1st "." that comes after the 1st "@"

HTH,
Phil

"Jammie" wrote in message
oups.com...
Thanks very much Kernow Girl, that is exactly what I want to do.
However I am a
bit of a novice at this. I have copied my column and replaced all the
@s with the formula you gave me, how do I now get the part after the
bracket of your formula to go into a seperate column so that I can sort
it (or am i doing this the wrong way round?)
Thanks

Kernow Girl wrote:
Hi Jammie - if you only want the .ac.uk part not @google.ac.uk this will
do
it ---
just change the @ to .

MID(C3, SEARCH(".", C3) + 1, LEN(C3) - SEARCH(".",C3))

Yours - Dika

"Jammie" wrote:

Hi
I am trying to sort a column of email addresses by the end part of the
address eg john.smith @google.ac.uk the .ac.uk part.

Does anyone know an easy way to do this..?

Thanks




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
How to extract email address and place into a new column Inquirer Excel Worksheet Functions 6 July 6th 06 09:44 PM
Sending email to addresses in a column starguy Excel Discussion (Misc queries) 2 June 30th 06 09:55 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Move a Column of 500 Email Addresses into BCC Field of an Email Mark Excel Worksheet Functions 9 July 27th 05 05:07 AM
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 12:50 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"