Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kj
 
Posts: n/a
Default sort in excel using end of email address

I need to sort 8300 email addresses by division which is indicated in the
later part of the email. Any idead how I can do this?
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default sort in excel using end of email address

Without knowing the exact structure of the email addresses, it is
difficult to answer. However, you can use the MID and/or RIGHT
functions to split apart the email addresses in a new column and
sort by that column.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"kj" wrote in message
...
I need to sort 8300 email addresses by division which is
indicated in the
later part of the email. Any idead how I can do this?



  #3   Report Post  
Don Guillett
 
Posts: n/a
Default sort in excel using end of email address

a helper column with just that part

--
Don Guillett
SalesAid Software

"kj" wrote in message
...
I need to sort 8300 email addresses by division which is indicated in the
later part of the email. Any idead how I can do this?



  #4   Report Post  
tiah
 
Posts: n/a
Default sort in excel using end of email address

hello !

put this in another column, it will retrieve the right part of the
email. then sort that result column

=RIGHT(A1;LEN(A1)-SEARCH("@";A1))

  #5   Report Post  
kj
 
Posts: n/a
Default sort in excel using end of email address

The formula didn't work can you explain it to me in a different way?

Thanks

Kj

"tiah" wrote:

hello !

put this in another column, it will retrieve the right part of the
email. then sort that result column

=RIGHT(A1;LEN(A1)-SEARCH("@";A1))




  #6   Report Post  
Ann Scharpf
 
Posts: n/a
Default sort in excel using end of email address

KJ just had a syntax problem. S/he used semicolons instead of commas. This
formula does what s/he was aiming for:

=RIGHT(A1,LEN(A1)-SEARCH("@",A1))

This formula says to take the rightmost X number of characters from cell A1
display it in the cell with the formula. It calculates X by taking the
length of the full string in A1, finding the position number of the "@",
subtracting that number of characters from the string. So take a couple of
addresses:



Length of the string: 21
Position of @: 7
Rightmost # characters: 14 ... which is disney.fla.com



Length of the string: 19
Position of @: 6
Rightmost # characters: 13 ... which is disney.ca.com

For every email address, the formula will grab just the part that follows
the @. If your company's email addresses follow a standard format, with the
division always in the same position within the address, sorting this column
should do what you need.

"kj" wrote:

The formula didn't work can you explain it to me in a different way?

Thanks

Kj

"tiah" wrote:

hello !

put this in another column, it will retrieve the right part of the
email. then sort that result column

=RIGHT(A1;LEN(A1)-SEARCH("@";A1))


  #7   Report Post  
Ann Scharpf
 
Posts: n/a
Default sort in excel using end of email address

OK, so in my reply, I used the wrong reference name. It was tiah's solution
.... not kj's. Sorry for any confusion.

"kj" wrote:

I need to sort 8300 email addresses by division which is indicated in the
later part of the email. Any idead how I can do this?

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
Copy Name and email address from web sites to excel sheet Philip Excel Discussion (Misc queries) 0 August 10th 05 11:02 AM
How do I automatically send daily email of updated Excel workbook. How to automate emails with excel file. Excel Discussion (Misc queries) 1 May 9th 05 08:55 PM
How do I stop e-mail address from turning into link in Excel? Wowie Excel Discussion (Misc queries) 3 May 4th 05 11:00 PM
How do I sort for the maximum values in each year in excel? The Wrightster Excel Discussion (Misc queries) 3 February 24th 05 05:43 PM
how do I sort email address, dedupes,check for errors in a docume. varun Excel Discussion (Misc queries) 2 January 14th 05 11:41 PM


All times are GMT +1. The time now is 08: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"