ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sort a column (specifically email data) by end of text, not beginn (https://www.excelbanter.com/excel-worksheet-functions/50511-sort-column-specifically-email-data-end-text-not-beginn.html)

Zip code help

Sort a column (specifically email data) by end of text, not beginn
 
One of my files contains a field of Emails. I want to sort it by the ISP, not
the beginning of the text. so if an email is , I want to sort it
so I can view all the , etc. -- the only way I know how
to sort is by Ascending/descending and it sorts by the beginning of the text.
Thanks!

bpeltzer

Create a 'helper column' in which you tease out the ISP. Ex: if the email
address is in A2, enter =RIGHT(A2,LEN(A2)-FIND("@",A2)) in B2 to calculate
just the ISP. Autofill that formula to each row, then sort based on the new
column.

"Zip code help" wrote:

One of my files contains a field of Emails. I want to sort it by the ISP, not
the beginning of the text. so if an email is , I want to sort it
so I can view all the , etc. -- the only way I know how
to sort is by Ascending/descending and it sorts by the beginning of the text.
Thanks!


Domenic

Assuming that Column A contains your data, enter the following formula
in B1 and copy down:

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

Then, select Column A and Column B, and sort by Column B.

Hope this helps!

In article ,
"Zip code help" wrote:

One of my files contains a field of Emails. I want to sort it by the ISP, not
the beginning of the text. so if an email is , I want to sort it
so I can view all the , etc. -- the only way I know how
to sort is by Ascending/descending and it sorts by the beginning of the text.
Thanks!


Richard Buttrey

On Fri, 14 Oct 2005 09:14:09 -0700, "Zip code help"
wrote:

One of my files contains a field of Emails. I want to sort it by the ISP, not
the beginning of the text. so if an email is , I want to sort it
so I can view all the , etc. -- the only way I know how
to sort is by Ascending/descending and it sorts by the beginning of the text.
Thanks!


Use a helper column to extract the ISP. If email names are in A1 enter
in B1

=RIGHT(A12,LEN(A12)-FIND("@",A12))
copy down as appropriate then sort on column B

HTH

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________

Zip code help

I can not get it to auto fill. I put the code in and wanted to drag and drop
for the remaning fields, but will not copy to the next number. Any ideas?
Thanks

"bpeltzer" wrote:

Create a 'helper column' in which you tease out the ISP. Ex: if the email
address is in A2, enter =RIGHT(A2,LEN(A2)-FIND("@",A2)) in B2 to calculate
just the ISP. Autofill that formula to each row, then sort based on the new
column.

"Zip code help" wrote:

One of my files contains a field of Emails. I want to sort it by the ISP, not
the beginning of the text. so if an email is , I want to sort it
so I can view all the , etc. -- the only way I know how
to sort is by Ascending/descending and it sorts by the beginning of the text.
Thanks!



All times are GMT +1. The time now is 04:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com