Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Displays the number in text. (One thousand two hundred thirty four | Excel Worksheet Functions | |||
Currency to Text | Excel Worksheet Functions | |||
VBA | Excel Worksheet Functions | |||
Loop for VBA code? | Excel Worksheet Functions | |||
Spellnumber | Excel Worksheet Functions |