Excel: Commas and Decimal Points Not Retained in Chart Text

Last reviewed: November 2, 1994
Article ID: Q50447

SUMMARY

If a number is entered as attached or unattached chart text and the number contains commas or decimal points that can be removed without changing the number's value, Microsoft Excel version 2.20 and 3.00 will remove them.

The following is an example:

   Original Number         After Number Is Entered
   ---------------         -----------------------

   4,000                   4000
   4000.00                 4000

To retain the number's original format, enter it using the ="number" format, where number is the number to be displayed.

The following is an example:

   Original Number         After Number Is Entered
   ---------------         -----------------------

   ="4,000"                4,000
   ="4000.00"              4000.00

MORE INFORMATION

If a comma is not in a standard position, or the value of the number will change when a decimal point is removed, Excel will not remove the characters.

The following is an example:

   Original Number         After Number Is Entered
   ---------------         -----------------------

   400,0                   400,0
   4000.84                 4000.84


KBCategory: kbother
KBSubcategory:

Additional reference words: 2.20 3.00


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 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.