ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   First key sort order (https://www.excelbanter.com/excel-discussion-misc-queries/214456-first-key-sort-order.html)

M

First key sort order
 
Under sort options, I have selected a first key sort order of "1, 1A, 1B". I
would like to be able to sort in the order "1, 2, 2B, 3, 4A, 4B, etc." It
seems that no matter how I format the cells in the colum, alphanumerics
always are sorted AFTER numbers. Keep in mind, this is the second sort
criteria and some cells in this column are blank. What am I missing?

Bob Umlas, Excel MVP

First key sort order
 
Once you formatted them as text, you would need to reenter the numbers. OR,
in a helper column, enter =A1&"" and fill down, then copy/paste special
values on top of A and they'll sort as you want.

"M" wrote:

Under sort options, I have selected a first key sort order of "1, 1A, 1B". I
would like to be able to sort in the order "1, 2, 2B, 3, 4A, 4B, etc." It
seems that no matter how I format the cells in the colum, alphanumerics
always are sorted AFTER numbers. Keep in mind, this is the second sort
criteria and some cells in this column are blank. What am I missing?



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

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