Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mz mz is offline
external usenet poster
 
Posts: 40
Default sorting numbers and numbers that contain text in excel

A column contains both strictly numbers and also numbers that are followed
by text (e.g., row 1: 1000, row 2: 1500; row 3: 1000a; row 4: 1500a)
Identical numbers are related documents, with the text suffixes referring to
addenda documents; thus, document 1000 has an addendum document 1000a; How
can I sort the column so in the following order: row 1 (1000), row 3 (1000a),
row 2 (1500), row 4 (1500a)?
Thank you
--
MZ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default sorting numbers and numbers that contain text in excel

=TEXT(A1,"0") will turn each into text, then sort by that helper column (and
don't accept Excel's suggestion to treat text that looks like numbers as
numbers).
--
David Biddulph

"MZ" wrote in message
...
A column contains both strictly numbers and also numbers that are followed
by text (e.g., row 1: 1000, row 2: 1500; row 3: 1000a; row 4: 1500a)
Identical numbers are related documents, with the text suffixes referring
to
addenda documents; thus, document 1000 has an addendum document 1000a; How
can I sort the column so in the following order: row 1 (1000), row 3
(1000a),
row 2 (1500), row 4 (1500a)?
Thank you
--
MZ



  #3   Report Post  
Posted to microsoft.public.excel.misc
mz mz is offline
external usenet poster
 
Posts: 40
Default sorting numbers and numbers that contain text in excel

Thank you for the reply. I had already converted all the numbers into a text
format, yet it does not help.
--
MZ


"David Biddulph" wrote:

=TEXT(A1,"0") will turn each into text, then sort by that helper column (and
don't accept Excel's suggestion to treat text that looks like numbers as
numbers).
--
David Biddulph

"MZ" wrote in message
...
A column contains both strictly numbers and also numbers that are followed
by text (e.g., row 1: 1000, row 2: 1500; row 3: 1000a; row 4: 1500a)
Identical numbers are related documents, with the text suffixes referring
to
addenda documents; thus, document 1000 has an addendum document 1000a; How
can I sort the column so in the following order: row 1 (1000), row 3
(1000a),
row 2 (1500), row 4 (1500a)?
Thank you
--
MZ



.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default sorting numbers and numbers that contain text in excel

Are you sure that you converted the contents of the cell to text? How did
you do it?
Or did you merely change the format of the DISPLAY to text (which has no
effect on the cell contents)?
What does =ISTEXT(A2) say (& for other rows)?
If they really are all text but they don't sort correctly, perhaps you have
stray spaces or other non-printing characters? Does =LEN(A2) [and
correspondingly for other rows] show the length you expect for the text
string in the cell?
--
David Biddulph

"MZ" wrote in message
...
Thank you for the reply. I had already converted all the numbers into a
text
format, yet it does not help.
--
MZ


"David Biddulph" wrote:

=TEXT(A1,"0") will turn each into text, then sort by that helper column
(and
don't accept Excel's suggestion to treat text that looks like numbers as
numbers).
--
David Biddulph

"MZ" wrote in message
...
A column contains both strictly numbers and also numbers that are
followed
by text (e.g., row 1: 1000, row 2: 1500; row 3: 1000a; row 4: 1500a)
Identical numbers are related documents, with the text suffixes
referring
to
addenda documents; thus, document 1000 has an addendum document 1000a;
How
can I sort the column so in the following order: row 1 (1000), row 3
(1000a),
row 2 (1500), row 4 (1500a)?
Thank you
--
MZ



.



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 text with numbers wavers3 Excel Worksheet Functions 2 October 27th 09 08:28 PM
Sorting numbers with text dena320 New Users to Excel 2 June 25th 08 05:06 PM
Help sorting text as numbers [email protected] Excel Worksheet Functions 1 November 13th 07 03:34 AM
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 08:49 AM.

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"