LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Soritng with text strings prefixed with single quote

Must be something else in the text then, I'll keep looking...

Thanks!
--
Thanks for your help - jjk98


"Mike H" wrote:

I get the result that you expect to get

"jjk98" wrote:

In a question yesterday (thanks for the help) I noted that I could not find
any difference in the handling of text prefixed with a single quote. Now I
have found a very significant difference.

If the string is prefixed with a single quote it always comes before the
identical text without the quote in a sort on that field. For example if one
has the data

abc A
abc B
abc C
'abc A
'abc B
'abc C

and I sort on the first column, and then the second, the order above is not
changed where I would expect to find the resutl to be

abc A
'abc A
abc B
'abc B
abc C
'abc C

ALL of the fields are explicitly typed as text. The worksheet has 15,000
rows and 15 columns and the leading quote appears to be randomly used
throughout.

How do I make sort work properly?
--
Thanks for your help - jjk98

 
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
find a ?, text acting as number, mysterious single quote jjk98 Excel Discussion (Misc queries) 5 January 2nd 08 07:29 PM
using a single quote ' in SEARCH function ExTexan Excel Worksheet Functions 2 December 30th 06 01:11 PM
Remove single quote Avadivelan TCS Excel Worksheet Functions 4 October 5th 06 03:48 PM
Convertig Number to Text - equivelent to single quote Nathan Excel Worksheet Functions 1 September 8th 06 04:33 PM
Finding Duplicate text strings with a single column Ed P Excel Worksheet Functions 2 March 17th 05 03:56 AM


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