Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default alphanumeric sorting

Hello there,
I have this little prob in Excel:

Alphanumeric Sorting is done from left to right, as default, in Excel:

"Alphanumeric sort When you sort alphanumeric text, Excel sorts left to
right, character by character. For example, if a cell contains the text
"A100," Excel places the cell after a cell that contains the entry "A1" and
before a cell that contains the entry "A11."

I want to change that. Is there a way to treat the "A" as irrelevant and so
that A11 actually comes between A1 And A100?

Thx a bunch in advance,
DK.

PS: i've read the previous responses, but i thought it was too specific. I
want to know if i'm missing sthing obvious here. Is there a simple command to
switch the alphanumeric sorting?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default alphanumeric sorting

One work-around would be to extract the left-most character, A, then sort the
numbers, and re-concatenate the sorted strings.

Example:

If cells A1:A100 contain A1...A100, then in column B put the formula
=RIGHT(A1,3) to extract the numbers, copy, paste special values, sort that
column numerically, and then in column C: =CONCATENATE(A1,B1) and fill down.

Of course there may be a more elegant way.

I think you're running into a quirk in the way Windows (not Excel) sorts
data. You can see the same issue in folders with dozens of files.

"Dhinakaran" wrote:

Hello there,
I have this little prob in Excel:

Alphanumeric Sorting is done from left to right, as default, in Excel:

"Alphanumeric sort When you sort alphanumeric text, Excel sorts left to
right, character by character. For example, if a cell contains the text
"A100," Excel places the cell after a cell that contains the entry "A1" and
before a cell that contains the entry "A11."

I want to change that. Is there a way to treat the "A" as irrelevant and so
that A11 actually comes between A1 And A100?

Thx a bunch in advance,
DK.

PS: i've read the previous responses, but i thought it was too specific. I
want to know if i'm missing sthing obvious here. Is there a simple command to
switch the alphanumeric sorting?

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
Sorting rows with alphanumeric starter cells axlmastr Excel Worksheet Functions 8 September 9th 05 03:28 PM
Sorting alphanumeric KWBock Excel Discussion (Misc queries) 4 June 22nd 05 11:57 PM
Sorting alphanumeric Joanne Excel Discussion (Misc queries) 3 April 28th 05 10:07 PM
sorting an alphanumeric list - please someone help! Joanne Excel Discussion (Misc queries) 1 April 27th 05 03:41 PM
alphanumeric sorting dancefle Excel Discussion (Misc queries) 3 April 25th 05 02:30 AM


All times are GMT +1. The time now is 12:39 AM.

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"