ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   sorting columns (https://www.excelbanter.com/new-users-excel/186348-sorting-columns.html)

dean d.

sorting columns
 
i want to srt a column in the following order a-1,a-2,a-3 and so on. as of
now excel is sorting a-1 ,a-10 a-11 and so on

Peo Sjoblom

sorting columns
 
You would need a help column for that, if the numbers are always after the
hyphen then you could use

=--TRIM(MID(A2,FIND("-",A2)+1,255))


copy down then sort ascending on the help column


--


Regards,


Peo Sjoblom




"dean d." <dean wrote in message
...
i want to srt a column in the following order a-1,a-2,a-3 and so on. as of
now excel is sorting a-1 ,a-10 a-11 and so on





All times are GMT +1. The time now is 04:01 PM.

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