Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Sorting / Numbering problem

I have an Excel worksheet that lists the chapter of a document, i.e.
the first column looks like this:


1
1.1
1.1.1
1.1.2
1.1.3
etc.

now at some point I reach

1.10.1

Now I'd like to sort all my chapters, but 1.10 is sorted before 1.2.

Does anyone have a solution to this?

Thanks for any help,

Gerben

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Sorting / Numbering problem

What you really need to do is number them with leading zeros in each
section, like so:

1
1.01
1.01.01
1.01.02
1.01.03

Be careful that they don't get interpreted as dates - pre-format the
cells as Text.

Hope this helps.

Pete


On Oct 16, 12:35 pm, Gerben Dirksen wrote:
I have an Excel worksheet that lists the chapter of a document, i.e.
the first column looks like this:

1
1.1
1.1.1
1.1.2
1.1.3
etc.

now at some point I reach

1.10.1

Now I'd like to sort all my chapters, but 1.10 is sorted before 1.2.

Does anyone have a solution to this?

Thanks for any help,

Gerben



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Sorting / Numbering problem

If you have already typed the values in, you can change them by using
Find & Replace (CTRL-H). Highlight the cells, CTRL-H, then:

Find What: .1.
Replace with: .01.

Click Replace All. Repeat for other numbers.

Hope this helps.

Pete

On Oct 16, 1:21 pm, Pete_UK wrote:
What you really need to do is number them with leading zeros in each
section, like so:

1
1.01
1.01.01
1.01.02
1.01.03

Be careful that they don't get interpreted as dates - pre-format the
cells as Text.

Hope this helps.

Pete

On Oct 16, 12:35 pm, Gerben Dirksen wrote:



I have an Excel worksheet that lists the chapter of a document, i.e.
the first column looks like this:


1
1.1
1.1.1
1.1.2
1.1.3
etc.


now at some point I reach


1.10.1


Now I'd like to sort all my chapters, but 1.10 is sorted before 1.2.


Does anyone have a solution to this?


Thanks for any help,


Gerben- Hide quoted text -


- Show quoted text -



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
Numbering Problem tartan tim Excel Discussion (Misc queries) 2 April 23rd 07 12:50 PM
Sorting problem man Excel Discussion (Misc queries) 1 December 8th 05 10:36 AM
Problem with Page Numbering Aurora Excel Discussion (Misc queries) 0 November 21st 05 02:10 PM
Page numbering problem clubin Excel Discussion (Misc queries) 7 November 18th 05 06:39 PM
Sorting problem Klaus Excel Discussion (Misc queries) 3 December 4th 04 01:55 AM


All times are GMT +1. The time now is 01:51 PM.

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"