Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sorting Decimals as Numbers

I have a spreadsheet that has a unique identifier field containing eight
digit numbers separated by decimals. Each subset references a specific field
on another sheet. I would like to sort by this identifier, but when I do, my
decimals sort improperly (for my current need). They sort in the following
order:
1.1.1.1.1.1.1.1
1.1.1.1.1.1.1.10
1.1.1.1.1.1.1.2
I would like them to sort numerically by the last number. Is there a way to
do this, or an easier way to format this field? Thanks for the help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default Sorting Decimals as Numbers


You can use Text to Columns on the Data menu to separate the numbers
into individual cells. Sort and then remove the added data.
Note: make a copy of the column before using Text to Columns.

A commercial alternative, from yours truly, can be found here...
http://www.officeletter.com/blink/specialsort.html
--
Jim Cone
San Francisco, USA


"NathanP1"

wrote in message
I have a spreadsheet that has a unique identifier field containing eight
digit numbers separated by decimals. Each subset references a specific field
on another sheet. I would like to sort by this identifier, but when I do, my
decimals sort improperly (for my current need). They sort in the following
order:
1.1.1.1.1.1.1.1
1.1.1.1.1.1.1.10
1.1.1.1.1.1.1.2
I would like them to sort numerically by the last number. Is there a way to
do this, or an easier way to format this field? Thanks for the help.
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
Sorting numbers as Text David M. New Users to Excel 6 July 25th 06 05:46 PM
sorting numbers in a column kailuamike New Users to Excel 2 December 19th 05 02:58 AM
Sorting Numbers with Multiple Decimals Intern Ian Excel Discussion (Misc queries) 4 September 17th 05 12:27 AM
Sorting numbers and text separately Tim C Excel Discussion (Misc queries) 8 July 21st 05 12:53 AM
Sorting when some numbers have a text suffix confused on the tundra Excel Discussion (Misc queries) 5 December 18th 04 10:19 PM


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