R
RASelkirk
Hello,
I have from 60 to 150 cells all containing mixed 3-digit alpha-numeri
characters that need to be sorted in a way that is foreign to Excel
These cells are in one column that the user enters these codes into.

For example, this is what I need:
- AC3
- AU9
- A31
- A90
- BX1
- BY4
- B24
- 1SC
- 19U
- 82C
- 829
- 95J
And I get this with the standard Excel sort (numbers 1st):
- 829
- 19U
- 1SC
- 82C
- 95J
- A31
- A90
- AC3
- AU9
- B24
- BX1
- BY4
I've built a VBA routine to move the cells that start with numerals t
the back of the list, but there is still a problem with the secon
"digit" being out of order as seen here after my VBA sort.
- A31
- A90
- AC3
- AU9
- B24
- BX1
- BY4
- 829
- 19U
- 1SC
- 82C
- 95J
I'm out of brainpower! There are maybe 600 total codes and I've though
about building a hash table, but surely there's a way to sort thes
cells as required?
Thanks!
Rus
I have from 60 to 150 cells all containing mixed 3-digit alpha-numeri
characters that need to be sorted in a way that is foreign to Excel
These cells are in one column that the user enters these codes into.
For example, this is what I need:
- AC3
- AU9
- A31
- A90
- BX1
- BY4
- B24
- 1SC
- 19U
- 82C
- 829
- 95J
And I get this with the standard Excel sort (numbers 1st):
- 829
- 19U
- 1SC
- 82C
- 95J
- A31
- A90
- AC3
- AU9
- B24
- BX1
- BY4
I've built a VBA routine to move the cells that start with numerals t
the back of the list, but there is still a problem with the secon
"digit" being out of order as seen here after my VBA sort.
- A31
- A90
- AC3
- AU9
- B24
- BX1
- BY4
- 829
- 19U
- 1SC
- 82C
- 95J
I'm out of brainpower! There are maybe 600 total codes and I've though
about building a hash table, but surely there's a way to sort thes
cells as required?
Thanks!
Rus