A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Excel Number Sorting



 
 
Thread Tools Display Modes
  #1  
Old March 3rd, 2004, 06:13 PM
Adam Rothschild
external usenet poster
 
Posts: n/a
Default Excel Number Sorting

I have imported some data into excel as text because if I
do so as general, excel chops off some zero's placed after
decimal points. (for example 151.0 151.00) I need those
zero's to stay. Then once the data is imported correctly
under text I want to change them back to a number format
and sort the numbers like 151 151.0 151.00, etc. Instead
excel sorts like this 151 151.9 151.8 151.7 151.6 151.5
151.4 151.3 151.2 151.1 151.0 15.9 15.8 15.7 15.6, etc.
Skipping from 151 to 15! This number is only an example.
It occurs with all my numbers in the spreadsheet. Any help
is greatly appreciated.
  #2  
Old March 3rd, 2004, 06:37 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Excel Number Sorting

Hi
I wouldn't convert to text and back to numbers. Why not use a format
like
0.00
to have a fixed number of decimals

--
Regards
Frank Kabel
Frankfurt, Germany
"Adam Rothschild" schrieb im Newsbeitrag
...
I have imported some data into excel as text because if I
do so as general, excel chops off some zero's placed after
decimal points. (for example 151.0 151.00) I need those
zero's to stay. Then once the data is imported correctly
under text I want to change them back to a number format
and sort the numbers like 151 151.0 151.00, etc. Instead
excel sorts like this 151 151.9 151.8 151.7 151.6 151.5
151.4 151.3 151.2 151.1 151.0 15.9 15.8 15.7 15.6, etc.
Skipping from 151 to 15! This number is only an example.
It occurs with all my numbers in the spreadsheet. Any help
is greatly appreciated.


  #3  
Old March 3rd, 2004, 06:40 PM
Trevor Shuttleworth
external usenet poster
 
Posts: n/a
Default Excel Number Sorting

Adam

Excel isn't cutting off decimal places, it just doesn't display them. As
always, it is trying to be helpful. As far as Excel is concerned 151 =
151.0 = 151.00.

If you import the data as numeric and you format all the cells with two
decimal places, you will be able to do a numeric sort and see the numbers
correctly.

Regards

Trevor


"Adam Rothschild" wrote in message
...
I have imported some data into excel as text because if I
do so as general, excel chops off some zero's placed after
decimal points. (for example 151.0 151.00) I need those
zero's to stay. Then once the data is imported correctly
under text I want to change them back to a number format
and sort the numbers like 151 151.0 151.00, etc. Instead
excel sorts like this 151 151.9 151.8 151.7 151.6 151.5
151.4 151.3 151.2 151.1 151.0 15.9 15.8 15.7 15.6, etc.
Skipping from 151 to 15! This number is only an example.
It occurs with all my numbers in the spreadsheet. Any help
is greatly appreciated.



  #4  
Old March 3rd, 2004, 07:03 PM
adam
external usenet poster
 
Posts: n/a
Default Excel Number Sorting

We do not have the option of importng the data a numeric.
Is there another way? We only have general, text, and date.
Thanks for the advice.
-----Original Message-----
Adam

Excel isn't cutting off decimal places, it just doesn't

display them. As
always, it is trying to be helpful. As far as Excel is

concerned 151 =
151.0 = 151.00.

If you import the data as numeric and you format all the

cells with two
decimal places, you will be able to do a numeric sort and

see the numbers
correctly.

Regards

Trevor


"Adam Rothschild" wrote in message
...
I have imported some data into excel as text because if

I
do so as general, excel chops off some zero's placed

after
decimal points. (for example 151.0 151.00) I need those
zero's to stay. Then once the data is imported correctly
under text I want to change them back to a number format
and sort the numbers like 151 151.0 151.00, etc. Instead
excel sorts like this 151 151.9 151.8 151.7 151.6 151.5
151.4 151.3 151.2 151.1 151.0 15.9 15.8 15.7 15.6, etc.
Skipping from 151 to 15! This number is only an example.
It occurs with all my numbers in the spreadsheet. Any

help
is greatly appreciated.



.

  #5  
Old March 3rd, 2004, 07:19 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Excel Number Sorting

Hi
import the data as 'General' and apply the format afterwards

--
Regards
Frank Kabel
Frankfurt, Germany
"adam" schrieb im Newsbeitrag
...
We do not have the option of importng the data a numeric.
Is there another way? We only have general, text, and date.
Thanks for the advice.
-----Original Message-----
Adam

Excel isn't cutting off decimal places, it just doesn't

display them. As
always, it is trying to be helpful. As far as Excel is

concerned 151 =
151.0 = 151.00.

If you import the data as numeric and you format all the

cells with two
decimal places, you will be able to do a numeric sort and

see the numbers
correctly.

Regards

Trevor


"Adam Rothschild" wrote in message
...
I have imported some data into excel as text because if

I
do so as general, excel chops off some zero's placed

after
decimal points. (for example 151.0 151.00) I need those
zero's to stay. Then once the data is imported correctly
under text I want to change them back to a number format
and sort the numbers like 151 151.0 151.00, etc. Instead
excel sorts like this 151 151.9 151.8 151.7 151.6 151.5
151.4 151.3 151.2 151.1 151.0 15.9 15.8 15.7 15.6, etc.
Skipping from 151 to 15! This number is only an example.
It occurs with all my numbers in the spreadsheet. Any

help
is greatly appreciated.



.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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