#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default Sort Key Warning

On occasion, when I sort an Excel worksheet on a field that is defined as
text and is all numbers, I get a sort warning:
The following sort key may not sort as expect? 1. Sort anything that looks
like a number, as a number? 2. Sort numbers and numbers stored as text
separately?

Frequently it occurs when I have imported a text file into Excel.

--
Thanks!
Chris
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Sort Key Warning

1,5,12 stored as numbers sort as: 1,5,12. When stored as text, they sort as
1,12,5. You're being asked how you want to sort the data.

Tyro

"Chris" wrote in message
...
On occasion, when I sort an Excel worksheet on a field that is defined as
text and is all numbers, I get a sort warning:
The following sort key may not sort as expect? 1. Sort anything that looks
like a number, as a number? 2. Sort numbers and numbers stored as text
separately?

Frequently it occurs when I have imported a text file into Excel.

--
Thanks!
Chris



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Sort Key Warning

It's not so much as a warning, it's a request to define how you want to treat
numbers stored as text in the sort range.

The following list would be sorted as text in this manner if you choose 2

Original Sorted
1 1
3 12
12 2
2 21
21 3

If you were expecting a numeric sort this would come as surprise.

The request is for confirmation on how to proceed with the sort.
--
Kevin Backmann


"Chris" wrote:

On occasion, when I sort an Excel worksheet on a field that is defined as
text and is all numbers, I get a sort warning:
The following sort key may not sort as expect? 1. Sort anything that looks
like a number, as a number? 2. Sort numbers and numbers stored as text
separately?

Frequently it occurs when I have imported a text file into Excel.

--
Thanks!
Chris

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default Sort Key Warning

Tyro and Kevin have already explained the reason for the message.
If you want to convert all your imported text numbers to true numbers, try
this:-
Enter 1 into an empty cell,
Right click the cell Copy
Highlight all the cells containing the numbers to convert
Right click the highlighted range Paste Special
In the 'Operation' section check 'Multiplication' OK
Delete the '1' from the empty cell,
Regards,
Alan.
"Chris" wrote in message
...
On occasion, when I sort an Excel worksheet on a field that is defined as
text and is all numbers, I get a sort warning:
The following sort key may not sort as expect? 1. Sort anything that looks
like a number, as a number? 2. Sort numbers and numbers stored as text
separately?

Frequently it occurs when I have imported a text file into Excel.

--
Thanks!
Chris


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 I disable the Excel Sort Warning? ChauBer Excel Discussion (Misc queries) 2 May 25th 13 05:42 AM
Sort warning ChauBer Excel Discussion (Misc queries) 1 January 13th 07 06:21 PM
REMOVE SORT WARNING Sally in KC Excel Worksheet Functions 2 July 31st 06 05:28 PM
sort warning D Hensley Setting up and Configuration of Excel 2 November 1st 05 12:46 AM
disable sort warning mechelei Excel Discussion (Misc queries) 1 August 23rd 05 07:08 PM


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