Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Help sorting text as numbers

Is it possible to have a cell display text but have a numeric value?

I am looking to correctly sort publications. Cell values are
"January","February", etc. Sorting them puts them in alphabetical
order, so I would like the cell to say "January" but when I sort, have
it recognized as "1".

I'm hoping whatever solution might be available will also help sort a
different text field with the same problem. Values would be "45 (1)",
"46 (2)", "3", "4", "5", "6", and I would like "45 (1)" to come first.
Current sorting puts it at the bottom.

Any help would be appreciated. Thx.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,290
Default Help sorting text as numbers



Add a custom list with the months in the correct order...
Tools | Options | Custom Lists.

After adding the list, you can use it when sorting...
Data | Sort | Options (button) | First key sort order (drop down)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



devproduct
wrote in message
Is it possible to have a cell display text but have a numeric value?
I am looking to correctly sort publications. Cell values are
"January","February", etc. Sorting them puts them in alphabetical
order, so I would like the cell to say "January" but when I sort, have
it recognized as "1".
I'm hoping whatever solution might be available will also help sort a
different text field with the same problem. Values would be "45 (1)",
"46 (2)", "3", "4", "5", "6", and I would like "45 (1)" to come first.
Current sorting puts it at the bottom.
Any help would be appreciated. Thx.

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
Sorting cells that have both Text and Numbers CherylH Excel Discussion (Misc queries) 1 September 4th 07 06:51 PM
Sorting (Numbers with Text) JSpence2003 Excel Discussion (Misc queries) 8 August 31st 07 10:30 PM
sorting a column with numbers and text Ford35 Excel Worksheet Functions 5 September 29th 06 05:02 PM
Sorting numbers as Text David M. New Users to Excel 6 July 25th 06 05:46 PM
SORTING TEXT AND NUMBERS jstephenson Excel Worksheet Functions 5 February 10th 06 08:44 PM


All times are GMT +1. The time now is 11:04 PM.

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"