Try "Text To Columns" *first*.
With your data list in column A, select the data, then:
<Data> <TextToColumns> <Delimited> <Next>
Check "Other" and type in the @ sign, then <Next>
In the "Destination" box, enter B:B, then <Finish>
This should give you:
Column A - your original data,
Column B - all data that was in front of the @,
Column C - all data that followed the @.
Now select *all* the three columns, and choose to sort on column C first,
then on column B.
You should now have column A sorted as you wish, and be able to delete
column B and C.
--
HTH,
RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
Santistas said:
I think you need to give some examples of the data.
I have 600 e-mails addresses in a column.
I have to classify them by country (@yy.zz) or if they are commercial
(.com) or not commercial (.org).
To do this, they should be classified from right-to-left and, after sort,
look something like this:
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
....
Thanks for any help
Santistas
------------