#1   Report Post  
jem
 
Posts: n/a
Default SORT MIXED DATA

I am trying to sort a spreadsheet which has part numbers as the main
description (ie: 500111, 500123, 500111A, 500111B, 500123A ...) I want the
sort option to sort the part number column with it's associated data in
numerical order including the letters (ie: 500111, 500111A, 500111B, 500123,
500123A ... )
Anyone know how I can achieve this goal?
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

If your alpha numeric part number is always 6digits number and the rest
alphabet(s) then
insert a column next to the part list and trype

=--(left(a1,6)) and copy it down
Now sort based on this new column selecting all the columns




"jem" wrote in message
...
I am trying to sort a spreadsheet which has part numbers as the main
description (ie: 500111, 500123, 500111A, 500111B, 500123A ...) I want the
sort option to sort the part number column with it's associated data in
numerical order including the letters (ie: 500111, 500111A, 500111B,
500123,
500123A ... )
Anyone know how I can achieve this goal?



  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

Use a helper column with the following formula:

=IF(ISERROR(A1*1),LEFT(A1,LEN(A1)-1),A1&"")

where A1 contains the part #. Fill the formula down,
select both columns, and sort ascending, first on the
formula column, then on the part column.

HTH
Jason
Atlanta, GA

-----Original Message-----
I am trying to sort a spreadsheet which has part numbers

as the main
description (ie: 500111, 500123, 500111A, 500111B,

500123A ...) I want the
sort option to sort the part number column with it's

associated data in
numerical order including the letters (ie: 500111,

500111A, 500111B, 500123,
500123A ... )
Anyone know how I can achieve this goal?
.

  #4   Report Post  
d
 
Posts: n/a
Default

you can use an @mid function to "strip off" the first 6
numeric characters and put into a new column, sort on this
formula with a secondary sort on the alphanumeric part
number to order the alpha numbers.


-----Original Message-----
I am trying to sort a spreadsheet which has part numbers

as the main
description (ie: 500111, 500123, 500111A, 500111B,

500123A ...) I want the
sort option to sort the part number column with it's

associated data in
numerical order including the letters (ie: 500111,

500111A, 500111B, 500123,
500123A ... )
Anyone know how I can achieve this goal?
.

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 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
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Keeping Row 1 at the top during a Data Sort... bro. Billy Excel Worksheet Functions 2 December 13th 04 06:43 AM
Data > Sort function amnesia? Dave D Excel Discussion (Misc queries) 1 November 29th 04 10:44 PM
Data Sort Allan Excel Worksheet Functions 3 November 24th 04 03:23 PM


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