XL97: Hyphens and Apostrophes Sorted After Alphabetic Letters

Last reviewed: November 20, 1997
Article ID: Q168234
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SUMMARY

In Microsoft Excel 97, the hyphen character (-) and the apostrophe character (') are ignored when you perform a sort. The "Default sort orders" Help topic in Microsoft Excel Help states that the apostrophe character and the hyphen character are sorted before any alphabetic characters. This information is incorrect.

MORE INFORMATION

This sorting behavior is new in Microsoft Excel 97. As a result of the new sorting behavior, you may experience one or more of the following problems:

  • Cell entries containing hyphens and apostrophes may be sorted differently from earlier versions of Microsoft Excel.
  • When you compare the relative values of two text strings, you may receive a different answer from earlier versions of Microsoft Excel.
  • The VLOOKUP function may return a different value from earlier versions of Microsoft Excel.

REFERENCES

For more information about sorting, click the Index tab in Microsoft Excel 97 Help, type the following text

   sorting, overview

and then double-click the selected text to go to the "Sort a list" topic.


Additional query words: XL97
Keywords : xllist
Version : 97
Platform : WINDOWS
Issue type : kbdocerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.