Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
alslm
 
Posts: n/a
Default sort by section number

I am trying to sort a list of bulleted numbered sections.

Excel sorts it like this: 2.7.1, 2.7.10, 2.7.12,...,2.7.2,...

How do I sort it like this: 2.7.1, 2.7.2, ..., 2.7.10, 2.7.12, ...
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Assuming none of the numbers every exceed 99 and there is
always 3 parts to each section, try this in a open col.:

=TEXT(LEFT(A1,FIND(".",A1)-1),"00")&TEXT(MID(A1,FIND
(".",A1)+1,2),"00")&TEXT(SUBSTITUTE(RIGHT
(A1,2),".",""),"00")

and fill down. Now select both columns and sort on this
new column.

If your col. of data in not in A, change the formula
references.

HTH
Jason
Atlanta, GA

-----Original Message-----
I am trying to sort a list of bulleted numbered sections.

Excel sorts it like this: 2.7.1, 2.7.10,

2.7.12,...,2.7.2,...

How do I sort it like this: 2.7.1, 2.7.2, ..., 2.7.10,

2.7.12, ...
.

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
How do you change sort defaults for combined text number & hyphen. Anna Excel Discussion (Misc queries) 1 April 8th 05 05:01 AM
How do I sort a column a unique number? ChelleA Excel Worksheet Functions 7 February 19th 05 10:38 AM
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 10:05 PM
How to format a number in Indian style in Excel? Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 04:21 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 10:13 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"