W
wal
Excel 2007
Our organization numbers a certain set of items in the following
format:
3B08-####
where 3B is constant, 08 is the year the item was entered (i.e,.
changing from year to year), and #### is a number up to four digits.
#### is written with the appropriate digits without leading zeroes,
e.g.:
3B08-9
3B08-81
3B08-623
3B08-7345
Question: Is there a way to format and Sort these numbers so that the
#### numeric portion is sorted numerically? Using the above four
entries as an example: The only Sort choices are "A to Z", "Z to A"
and "Custom list" (the choice "Smallest to largest" etc. is not
available). With the sort choice "A to Z", the above list will sort
as:
3B08-622
3B08-7333
3B08-81
3B08-9
This results whether the cells are formatted as Text or as Number.
I would like the result to be as shown in the original list, with the
#### numeric portion sorted numerically. Is there any way in Excel to
do this? (I could add leading 0s, but that is cumbersome and not how
we express the numbers on labels, etc.)
Interestingly, when we name files using the above numbers, in list
view Windows will sort the files by "Name" as in the first list above--
i.e., Windows recognizes that numeric quality of the #### portion
notwithstanding the interfering "B" text. So there must be some
underlying code that can do this--but not available in Excel?
Thanks.
Our organization numbers a certain set of items in the following
format:
3B08-####
where 3B is constant, 08 is the year the item was entered (i.e,.
changing from year to year), and #### is a number up to four digits.
#### is written with the appropriate digits without leading zeroes,
e.g.:
3B08-9
3B08-81
3B08-623
3B08-7345
Question: Is there a way to format and Sort these numbers so that the
#### numeric portion is sorted numerically? Using the above four
entries as an example: The only Sort choices are "A to Z", "Z to A"
and "Custom list" (the choice "Smallest to largest" etc. is not
available). With the sort choice "A to Z", the above list will sort
as:
3B08-622
3B08-7333
3B08-81
3B08-9
This results whether the cells are formatted as Text or as Number.
I would like the result to be as shown in the original list, with the
#### numeric portion sorted numerically. Is there any way in Excel to
do this? (I could add leading 0s, but that is cumbersome and not how
we express the numbers on labels, etc.)
Interestingly, when we name files using the above numbers, in list
view Windows will sort the files by "Name" as in the first list above--
i.e., Windows recognizes that numeric quality of the #### portion
notwithstanding the interfering "B" text. So there must be some
underlying code that can do this--but not available in Excel?
Thanks.