Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Text & Number Formats

When I open a new blank spreadsheet, the default format is General. I
highlight a field (A) and right click to change format to Text. If I enter
numeric data in the cells, how can I sort them as if they were in the number
format? The reason I ask this is because many numbers have 0 to begin with.
But, sometimes I want to see them in numeric order.
--
Gator
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Text & Number Formats

Another thing, the numbers vary in the number of digits. So, if I have a
number that is 1 and another that is 02, the field sorts them as 02 first and
1 listed after 02. I want to see the sort in numeric terms, where 1 is
listed first, but want to keep the field in text format.
--
Gator


"Gator" wrote:

When I open a new blank spreadsheet, the default format is General. I
highlight a field (A) and right click to change format to Text. If I enter
numeric data in the cells, how can I sort them as if they were in the number
format? The reason I ask this is because many numbers have 0 to begin with.
But, sometimes I want to see them in numeric order.
--
Gator

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Text & Number Formats

If you're using xl2002+ (I think it was added in xl2002), you'll get an option
to sort text numbers as number numbers -- but only if you go through the
Data|Sort (xl2003 menu system).

If you're using xl2k or below, you could use a helper column and convert all the
number looking entries to real numbers.

=if(isnumber(-a1),--a1,a1)

Then fill the column with this kind of formula and sort by that.

Gator wrote:

When I open a new blank spreadsheet, the default format is General. I
highlight a field (A) and right click to change format to Text. If I enter
numeric data in the cells, how can I sort them as if they were in the number
format? The reason I ask this is because many numbers have 0 to begin with.
But, sometimes I want to see them in numeric order.
--
Gator


--

Dave Peterson
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
Text & Number formats for Vlookups Silverback69 Excel Discussion (Misc queries) 2 July 9th 07 08:22 PM
Sumproduct with both number and text formats Curtis Excel Worksheet Functions 4 March 13th 07 08:14 PM
Custom number formats in TEXT function MatthewB Excel Worksheet Functions 4 June 28th 06 09:05 PM
Text, Number and Date formats excel 2003 driving experienced user E F Bat Excel Discussion (Misc queries) 1 January 6th 06 07:10 PM
Can you retain different text formats when merging text? Genmon Excel Discussion (Misc queries) 1 January 20th 05 05:09 PM


All times are GMT +1. The time now is 02:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"