#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default sort and filter

Hello,

I have a coworker who did a filter on her spreadsheet (so the blanks were
not visable) and then did a sort ascending by the sequence number. What she
got was a sort that was like this: 1, 10,100,1000, 491, 3, and so on. What
the heck is going on?!?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sort and filter

I suspect those "numbers" are actually text values, so they are being sorted
in a different way than based on the numerical value, rather like b, ba,
baa, baaa, ejb, d (though I don't know why your "3" comes after "491".

You could insert leading zeroes in front of the number (still as text), or
convert the values to actual numbers, if you want a numeric sort.

Hope this helps.

Pete

"JoAnn" wrote in message
...
Hello,

I have a coworker who did a filter on her spreadsheet (so the blanks were
not visable) and then did a sort ascending by the sequence number. What
she
got was a sort that was like this: 1, 10,100,1000, 491, 3, and so on.
What
the heck is going on?!?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default sort and filter

That is because your numbers are defined as texts, so it sorts them
"alphabetically".

A trick to convert "text numbers" to numbers:

1. Write in some cell the value 1.

2. Copy that cell (press on it Ctrl+C).

3. Select all your numbers that are mistakenly considered as texts.

4. Go into "Paste special" (if it is in older versions of excel it is
through the "Edit" menu. In Excel 2007 it is through the small arrow under
the "Paste" button).

4. Select the "Multiply", and click "OK".

5. Thats it! All the numbers, are now converted to become real numbers.

Good luck!

http://www.free-training-tutorial.com




"JoAnn" wrote:

Hello,

I have a coworker who did a filter on her spreadsheet (so the blanks were
not visable) and then did a sort ascending by the sequence number. What she
got was a sort that was like this: 1, 10,100,1000, 491, 3, and so on. What
the heck is going on?!?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default sort and filter

Hi,

It looks to me as if your co-worker has numbers and text that look like
numbers in this column.

Put a 1 in a spare cell and copy it. Remove the filter and select the entire
data range and then

Edit|Paste Special - Select Multiply and click OK
Delete the 1 you put in the cell, apply the filter and have another go at
the sort.

Mike

"JoAnn" wrote:

Hello,

I have a coworker who did a filter on her spreadsheet (so the blanks were
not visable) and then did a sort ascending by the sequence number. What she
got was a sort that was like this: 1, 10,100,1000, 491, 3, and so on. What
the heck is going on?!?

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
Filter & Sort Karin Excel Worksheet Functions 3 September 11th 08 09:10 PM
how do I sort and filter by different criteria hebgengirl New Users to Excel 2 August 5th 08 01:52 PM
Sort & Filter Chris Wisehart Excel Discussion (Misc queries) 3 August 1st 08 07:30 PM
Filter, sort and sum Amy Excel Discussion (Misc queries) 2 March 22nd 07 07:46 PM
Filter and sort afdmello Excel Discussion (Misc queries) 1 June 14th 05 08:02 PM


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