Numbers with 1000 Separator Format Appear Incorrectly

Last reviewed: September 12, 1996
Article ID: Q125032
The information in this article applies to:
  • Microsoft Excel for Windows, versions 4.0, 4.0a, 5.0, 5.0c

SYMPTOMS

In Microsoft Excel, when you enter a value on your worksheet, and you format the value with a format code that contains a comma (for a 1000 separator), the number appears truncated instead of displaying with a comma as expected. The Format Number dialog box may also truncate any formats at the point where the comma would appear.

CAUSE

This behavior occurs when there is an incorrect 1000 Separator setting in the Microsoft Windows International dialog box. It has been reported that after installing the Microsoft Access Service Pack, an unprintable character, that may appear to be a comma, is set for the sThousand entry in the [Intl] section in the WIN.INI file.

WORKAROUNDS

To correct this problem, do one of the following:

Method 1: Use a text editor to modify the WIN.INI file:

          1. Close Microsoft Excel if it is running.

          2. Open your WIN.INI file in a text editor such as Notepad.

          3. Locate the [Intl] section, and locate the sThousand entry.

          4. Modify the entry to appear as follows:

                sThousand=,

             NOTE: Even if the character following the sThousand entry
             appears to be a comma character, delete this character, and
             retype the comma. (This ensures that the correct value is
             written to the WIN.INI file.)

          5. Restart Windows for this change to take effect.


Method 2: If the [Intl] section in your WIN.INI file contains only two
          lines, or does not contain an sThousand entry, do the following:

          1. Close Microsoft Excel again if it is running.

          2. Start Control Panel.

          3. Double-click the International icon.

          4. Under Number Format, choose the Change button.

          5. In the 1000 Separator box, type a comma (,). Choose OK.

          6. Choose OK to close the International dialog box, and then
             close the Control Panel.


KBCategory: kbother
KBSubcategory: xlwin

Additional reference words: 4.00 4.00a 5.00 5.00c strange wrong



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: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.