#1   Report Post  
Posted to microsoft.public.excel.newusers
Kim Kim is offline
external usenet poster
 
Posts: 284
Default Sorting

I have a problem sorting in Excel. When I try to sort my list in Excel it
sorts like this:

1.1.1
1.1.11
1.1.2
11.1.1
2.1.1

I would like it to sort like this:
1.1.1
1.1.2
1.1.11
2.1.1
11.1.1

Is that possible?

--
Kim
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,290
Default Sorting

See this post from 1998 on sorting IP addresses...
http://tinyurl.com/y6696s
Especially the one from Dana at the bottom of the page.
--
Jim Cone
San Francisco, USA
http://www.officeletter.com/blink/specialsort.html



"Kim"
wrote in message
I have a problem sorting in Excel. When I try to sort my list in Excel it
sorts like this:

1.1.1
1.1.11
1.1.2
11.1.1
2.1.1

I would like it to sort like this:
1.1.1
1.1.2
1.1.11
2.1.1
11.1.1

Is that possible?
--
Kim
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 903
Default Sorting

I don't think you really want to use Text to Columns,
and then sort on three columns. The following will
work even though most IP addresses have four nodes,
the sort will aligned on left though for normalized numbers.
I think if you had a mix of 3 nodes and 4 nodes you would
not get what you want.

see Sorting TCP/IP Addresses, and the like
http://www.mvps.org/dmcritchie/excel/sorttcp.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Jim Cone" wrote in message ...
See this post from 1998 on sorting IP addresses...
http://tinyurl.com/y6696s
Especially the one from Dana at the bottom of the page.
--
Jim Cone
San Francisco, USA
http://www.officeletter.com/blink/specialsort.html



"Kim"
wrote in message
I have a problem sorting in Excel. When I try to sort my list in Excel it
sorts like this:

1.1.1
1.1.11
1.1.2
11.1.1
2.1.1

I would like it to sort like this:
1.1.1
1.1.2
1.1.11
2.1.1
11.1.1

Is that possible?
--
Kim



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Sorting Sorting Sorting Skydiver Excel Discussion (Misc queries) 4 June 3rd 06 02:42 PM
sorting non contiguous ranges gsh20 Excel Discussion (Misc queries) 1 September 8th 05 04:50 PM
sorting number in ascending order Janice Lee via OfficeKB.com Excel Discussion (Misc queries) 2 April 8th 05 10:31 PM
Adding a KeyID column for sorting Rebecca New Users to Excel 3 February 20th 05 07:09 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"