ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I sort a large column of data by length? (https://www.excelbanter.com/excel-worksheet-functions/91123-how-do-i-sort-large-column-data-length.html)

blange

How do I sort a large column of data by length?
 
I have an excel spreadsheet with about 20,000 rows of domain names in one
column. I need to sort the huge list by the length of each domain name --
shortest first. Example:

d4.com
tyu.com
dh4.net
sjrh.com
h669.com
short.com
shorter.com

and so on........ all the way down through 20K names. Thank you for any help!

Ron Rosenfeld

How do I sort a large column of data by length?
 
On Mon, 29 May 2006 09:39:02 -0700, blange
wrote:

I have an excel spreadsheet with about 20,000 rows of domain names in one
column. I need to sort the huge list by the length of each domain name --
shortest first. Example:

d4.com
tyu.com
dh4.net
sjrh.com
h669.com
short.com
shorter.com

and so on........ all the way down through 20K names. Thank you for any help!


If your domain names are in A2:A20000, then

B2: =LEN(A2)

Fill down to B20000

Sort on Column B.

--ron

blange

How do I sort a large column of data by length?
 
Thank you very much Ron!
Perfect results....


"Ron Rosenfeld" wrote:

On Mon, 29 May 2006 09:39:02 -0700, blange
wrote:

I have an excel spreadsheet with about 20,000 rows of domain names in one
column. I need to sort the huge list by the length of each domain name --
shortest first. Example:

d4.com
tyu.com
dh4.net
sjrh.com
h669.com
short.com
shorter.com

and so on........ all the way down through 20K names. Thank you for any help!


If your domain names are in A2:A20000, then

B2: =LEN(A2)

Fill down to B20000

Sort on Column B.

--ron


Ron Rosenfeld

How do I sort a large column of data by length?
 
On Mon, 29 May 2006 10:52:02 -0700, blange
wrote:

Thank you very much Ron!
Perfect results....




You're welcome. Thanks for the feedback.
--ron


All times are GMT +1. The time now is 06:06 AM.

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