#1   Report Post  
jb
 
Posts: n/a
Default sort data in columns

I have a spreadsheet with a large amount of data, I want to sort on a column
that has part codes in it. ie. 1xxx11111zzz, some codes have the following
code structure 1xxx11111zzz@aaa who do I sort on the @aaa part of the code

  #2   Report Post  
Niek Otten
 
Posts: n/a
Default

Insert a column with the formula =RIGHT(A1,3), fill down, and use that
column as your sort key

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"jb" (donotspam). wrote in message
...
I have a spreadsheet with a large amount of data, I want to sort on a
column
that has part codes in it. ie. 1xxx11111zzz, some codes have the following
code structure 1xxx11111zzz@aaa who do I sort on the @aaa part of the code



  #3   Report Post  
KL
 
Posts: n/a
Default

use the following formula in a separate column and use that column to sort
your data:

=MID(A1,FIND("@",A1)+1,LEN(A1))

or even:

=MID(A1,FIND("@",A1)+1,255)

as I guess the domain is unlikely to be 255 characters long.

Regards,
KL


"jb" (donotspam). wrote in message
...
I have a spreadsheet with a large amount of data, I want to sort on a
column
that has part codes in it. ie. 1xxx11111zzz, some codes have the following
code structure 1xxx11111zzz@aaa who do I sort on the @aaa part of the code



  #4   Report Post  
KL
 
Posts: n/a
Default

I guess +1 is redundant so:

=MID(A1,FIND("@",A1),255)

Regards.
KL


"KL" wrote in message
...
use the following formula in a separate column and use that column to sort
your data:

=MID(A1,FIND("@",A1)+1,LEN(A1))

or even:

=MID(A1,FIND("@",A1)+1,255)

as I guess the domain is unlikely to be 255 characters long.

Regards,
KL


"jb" (donotspam). wrote in message
...
I have a spreadsheet with a large amount of data, I want to sort on a
column
that has part codes in it. ie. 1xxx11111zzz, some codes have the
following
code structure 1xxx11111zzz@aaa who do I sort on the @aaa part of the
code





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
Convert data from rows to columns boksic Excel Discussion (Misc queries) 4 July 4th 05 11:40 AM
Text to Columns / Importing Data John Thomson Excel Discussion (Misc queries) 0 May 4th 05 08:21 PM
How do I sort a column of data and have each data row sort accordi Oedalis Excel Discussion (Misc queries) 1 March 17th 05 11:52 PM
How do I sort data into 2 worksheets in excel vba? luk_sr Excel Worksheet Functions 1 February 23rd 05 12:13 AM
Comparing Data in two columns Marianne Excel Worksheet Functions 3 November 5th 04 10:26 PM


All times are GMT +1. The time now is 12:50 PM.

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

About Us

"It's about Microsoft Excel"