Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I don't use Excel much.
I would like the following document numbers sorted like this: AR4714a AR4714b AR4714z AR4714aa AR4714ab I'm getting them sorted like this: AR4714a AR4714aa AR4714ab AR4714b AR4714z Is there an easy solution to this? Thank you, Jabber |
#2
![]() |
|||
|
|||
![]()
Using your sample data, and assuming it is in cell A1:A5, enter this
formula in B1: =LEN(A1) Copy cell B1 and paste it into B2:B5. This generates the length- the number of columns- in your document number. Then when you sort, sort first on column B, and then on column A. |
#3
![]() |
|||
|
|||
![]()
What is wrong with that order?
-- HTH RP (remove nothere from the email address if mailing direct) "Jabber" wrote in message ... I don't use Excel much. I would like the following document numbers sorted like this: AR4714a AR4714b AR4714z AR4714aa AR4714ab I'm getting them sorted like this: AR4714a AR4714aa AR4714ab AR4714b AR4714z Is there an easy solution to this? Thank you, Jabber |
#4
![]() |
|||
|
|||
![]()
The letters following the number is a revision level for the document. When
we have reached the final letter "z" we go to "aa." I would like these listed in their sequential order. AR4714a AR4714b .... AR4714z AR4714aa AR4714ab Jabber "Bob Phillips" wrote: What is wrong with that order? -- HTH RP (remove nothere from the email address if mailing direct) "Jabber" wrote in message ... I don't use Excel much. I would like the following document numbers sorted like this: AR4714a AR4714b AR4714z AR4714aa AR4714ab I'm getting them sorted like this: AR4714a AR4714aa AR4714ab AR4714b AR4714z Is there an easy solution to this? Thank you, Jabber |
#5
![]() |
|||
|
|||
![]()
This did not work. Any other solutions?
"Dave O" wrote: Using your sample data, and assuming it is in cell A1:A5, enter this formula in B1: =LEN(A1) Copy cell B1 and paste it into B2:B5. This generates the length- the number of columns- in your document number. Then when you sort, sort first on column B, and then on column A. |
#6
![]() |
|||
|
|||
![]()
I sorted wrong. This DID resolve my problem.
Thank you so much. "Dave O" wrote: Using your sample data, and assuming it is in cell A1:A5, enter this formula in B1: =LEN(A1) Copy cell B1 and paste it into B2:B5. This generates the length- the number of columns- in your document number. Then when you sort, sort first on column B, and then on column A. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I sort by row instead of by column? | Excel Worksheet Functions | |||
Sort Ascending button - Excel 2003 | Excel Discussion (Misc queries) | |||
How do I sort a column of data and have each data row sort accordi | Excel Discussion (Misc queries) | |||
"-" ignored in sort | Excel Discussion (Misc queries) | |||
Data > Sort function amnesia? | Excel Discussion (Misc queries) |