![]() |
how do i sort a column numerically going from 01-01 to 225-99
when i sort my column in numerical order, it starts out fine, i.e 01-01,
01-02. However, when it gets to 10-01, i get 10-01, 100-01,100-02, etc, without any rhyme or reason. How do i set to sort 01-nn through 99-nn befor going to 100-nn and beyond |
how do i sort a column numerically going from 01-01 to 225-99
Excel's help explains it.
I searched for: Default sort orders Apostrophes (') and hyphens (-) are ignored, with one exception: If two text strings are the same except for a hyphen, the text with the hyphen is sorted last. One way around it (maybe???) is to use a helper column with a formula in it. Then sort your data by that helper column. If your data is in A1:Axx, put this in that helper column (row 1): =--SUBSTITUTE(A1,"-",".") And drag down. Then sort by that column. Since the data is now numeric, it should work ok. column sorting wrote: when i sort my column in numerical order, it starts out fine, i.e 01-01, 01-02. However, when it gets to 10-01, i get 10-01, 100-01,100-02, etc, without any rhyme or reason. How do i set to sort 01-nn through 99-nn befor going to 100-nn and beyond -- Dave Peterson |
All times are GMT +1. The time now is 03:24 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com