ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sorting Columns by number of characters (https://www.excelbanter.com/excel-discussion-misc-queries/263202-sorting-columns-number-characters.html)

NicoleS

Sorting Columns by number of characters
 
I'm using Excel 2007.

Is it possible to sort a column by the number of characters on the line?
I track part numbers - which vary in length and can include letters and
hyphens.

Using just sort (smallest to largest) sorts by the beginning numbers.

Being able to do a sort like this could cut down the time it takes me to do
the next step in my tracking.

Thanks!
Nicole

Fred Smith[_4_]

Sorting Columns by number of characters
 
Just add a column with the formula:
=len(a1)
then sort on that.

Regards,
Fred

"NicoleS" wrote in message
...
I'm using Excel 2007.

Is it possible to sort a column by the number of characters on the line?
I track part numbers - which vary in length and can include letters and
hyphens.

Using just sort (smallest to largest) sorts by the beginning numbers.

Being able to do a sort like this could cut down the time it takes me to
do
the next step in my tracking.

Thanks!
Nicole




All times are GMT +1. The time now is 11:56 PM.

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