View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Cone Jim Cone is offline
external usenet poster
 
Posts: 3,290
Default How to sort, based upon the length of the data ?


You will need a helper column (a blank column adjacent to the data).
In the top cell enter = Len(A2) and fill down.
(assumes your data starts in cell A2)
Sort using the new column as the key column and the original column as
the secondary sort column.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins... two dozen ways to sort with Special Sort)



"Mark246" wrote in message
I LOVE This Forum. You people are Terrific !

In Excel 2007,
How can I sort the data in a column,
so that the SHORTEST pieces of data come out on top? Like...
a
k
z
aa
dd
ccccc
bbbbbbbb

Thanks very much, people.

Mark246