ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel 2003 can't do case sensitive sorting! (https://www.excelbanter.com/excel-discussion-misc-queries/86649-excel-2003-cant-do-case-sensitive-sorting.html)

TelcordiaJack

Excel 2003 can't do case sensitive sorting!
 
Contrary to the documentation, sorting an alpha column containing: Cat, dog,
apple,
and Aardvark (with the case sensitive option selected) results in: Aardvark,
apple, Cat, dog. With a case sensitive (ASCII colating sequence) sort, the
results should be: Aardvark, Cat, apple, dog. FWIW, I notice that this
problem has been reported in newsgroups in the past.

Dave O

Excel 2003 can't do case sensitive sorting!
 
As a workaround, you might insert a column next to the column that
contains Cat dog apple Aardvark, and enter the formula
=CODE(A1) where A1 is the word in question. CODE returns the ascii
number of the first character; you can then sort on this for ascii case
sensitivity.


pfuller

Excel 2003 can't do case sensitive sorting!
 
Doesn't always work. Code only works on the first character of a string,
which will usually be the only one capitalized, but not always. I'm trying to
do a case sensitive sort of a list of filenames/paths, so there could be
capitals anywhere in the string.

"Dave O" wrote:

As a workaround, you might insert a column next to the column that
contains Cat dog apple Aardvark, and enter the formula
=CODE(A1) where A1 is the word in question. CODE returns the ascii
number of the first character; you can then sort on this for ascii case
sensitivity.



Marc

Excel 2003 can't do case sensitive sorting!
 
See: http://www.worldstart.com/tips/tips.php/2036


"pfuller" wrote in message
...
Doesn't always work. Code only works on the first character of a string,
which will usually be the only one capitalized, but not always. I'm trying

to
do a case sensitive sort of a list of filenames/paths, so there could be
capitals anywhere in the string.

"Dave O" wrote:

As a workaround, you might insert a column next to the column that
contains Cat dog apple Aardvark, and enter the formula
=CODE(A1) where A1 is the word in question. CODE returns the ascii
number of the first character; you can then sort on this for ascii case
sensitivity.






All times are GMT +1. The time now is 09:00 PM.

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