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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

whats wrong with my sorting?



 
 
Thread Tools Display Modes
  #1  
Old January 15th, 2006, 02:27 AM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default whats wrong with my sorting?

I am new to excel and I am trying to get numbers to sort ascending to
descending but there is stil #'s at the top that did not sort. Can anyone
please help me???
  #2  
Old January 15th, 2006, 03:57 AM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default whats wrong with my sorting?

Is it possible that you are sorting both text and numbers?

"Trisha" wrote in message
...
I am new to excel and I am trying to get numbers to sort ascending to
descending but there is stil #'s at the top that did not sort. Can anyone
please help me???



  #3  
Old January 15th, 2006, 02:24 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default whats wrong with my sorting?

Hi Trisha,
You might find some help and solutions with sorting problems in
http://www.mvps.org/dmcritchie/excel/sorting.htm

Excel more or less follows the ASCII collating sequence (number order of
characters) which places digits before the alpha characters, but Excel
also sorts all cells that the sort considers as numbers before the
cells that the sort considers as text.

When sorting you would generally be better off selecting all cells
on the sheet before invoking the sort -- the fact that Excel chooses
the current region (Ctrl+*) is a common problem that results in loss
of a useable worksheet -- hopefully you make that mistake only once
if you have to discover it yourself. The exceptions would be when
you want to sort only within a limited area and not carry other cells
in a row or column with a cell being moved when sorting.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Barb Reinhardt" wrote in message ...
Is it possible that you are sorting both text and numbers?

"Trisha" wrote in message
...
I am new to excel and I am trying to get numbers to sort ascending to
descending but there is stil #'s at the top that did not sort. Can anyone
please help me???





  #4  
Old January 16th, 2006, 03:58 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default whats wrong with my sorting?

As a further rider to this problem, I have also had a problem trying to sort
a column of numbers when some of them start with a zero. I've tried
formatting the cells as text, general, number and custom. None of them seem
to give consistantly correct sorting. What's the best way? Can anyone
advise?

(Sorry to piggy-back on someone else's posting, but my problem is in the
same context).


"David McRitchie" wrote in message
...
Hi Trisha,
You might find some help and solutions with sorting problems in
http://www.mvps.org/dmcritchie/excel/sorting.htm

Excel more or less follows the ASCII collating sequence (number order of

SNIP





  #5  
Old January 16th, 2006, 04:07 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default whats wrong with my sorting?

David Ritchie answered my problem in an earlier response to another
question:-

QUOTE
But formatting after entry does not change a number to text, nor text to
a number so changing the format would have no effect until reentered.
Reentering would remove leading zeros at least in Excel 2002.
UNQUOTE

Thanks David

Steve

"42410" wrote in message
...
As a further rider to this problem, I have also had a problem trying to

sort
a column of numbers when some of them start with a zero. I've tried
formatting the cells as text, general, number and custom. None of them

seem
to give consistantly correct sorting. What's the best way? Can anyone
advise?

(Sorry to piggy-back on someone else's posting, but my problem is in the
same context).


"David McRitchie" wrote in message
...
Hi Trisha,
You might find some help and solutions with sorting problems in
http://www.mvps.org/dmcritchie/excel/sorting.htm

Excel more or less follows the ASCII collating sequence (number order of

SNIP







  #6  
Old January 16th, 2006, 04:09 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default whats wrong with my sorting?

Sorry - I meant David Mc Ritchie!!

Steve

"42410" wrote in message
...
David Ritchie answered my problem in an earlier response to another
question:-

QUOTE
But formatting after entry does not change a number to text, nor text to
a number so changing the format would have no effect until reentered.
Reentering would remove leading zeros at least in Excel 2002.
UNQUOTE

Thanks David

Steve

"42410" wrote in message
...
As a further rider to this problem, I have also had a problem trying to

sort
a column of numbers when some of them start with a zero. I've tried
formatting the cells as text, general, number and custom. None of them

seem
to give consistantly correct sorting. What's the best way? Can anyone
advise?

(Sorry to piggy-back on someone else's posting, but my problem is in the
same context).


"David McRitchie" wrote in message
...
Hi Trisha,
You might find some help and solutions with sorting problems in
http://www.mvps.org/dmcritchie/excel/sorting.htm

Excel more or less follows the ASCII collating sequence (number order

of
SNIP









  #7  
Old January 17th, 2006, 11:03 AM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default whats wrong with my sorting?

"42410" wrote:
... I have also had a problem trying to sort
a column of numbers when some of them start with a zero.
I've tried formatting the cells as text, general, number and custom.
None of them seem to give consistantly correct sorting. ..


Try this ..

Assuming source numbers in A1 down
Put in B1, say: =TEXT(A1,"000")
Copy down
Then sort both cols A and B by col B, ascending (say)
Delete col B

Adapt the part: "000" in the formula
to suit the maximum figure that is present in the source col A
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
hyperlink navigation path path wrong in Excel 2003 CE Admin General Discussion 5 January 7th, 2006 07:47 PM
Wrong recipient receives mail Stephan General Discussion 2 December 16th, 2005 08:20 AM
Is there something wrong with this? Kath Running & Setting Up Queries 2 October 6th, 2004 02:41 PM
Count Unique Values with sorting and filtering by pop-up form Yanick Setting Up & Running Reports 8 June 4th, 2004 12:51 PM
Sorting numbers Lady Layla Setting up and Configuration 0 April 5th, 2004 06:16 PM


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