The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you create a custom number format that contains a text string, and you apply this format to a negative number, the text string may appear between the minus sign and the number. WORKAROUND
To create a custom number format so that the minus sign for negative
number appears directly before the number, you must include formatting
specifically for negative numbers. For example, instead of using the
following code
which uses the same format for both positive and negative numbers, use the following code:
The section of the format after the semicolon (;) places the minus sign to the right of the text string when the number is negative. STATUS
This behavior is by design of the versions of Microsoft Excel listed at
the beginning of this article. REFERENCES
"User's Guide," version 5.0, Chapter 12 Additional query words: 4.00 5.00a 5.00c 7.00a 97 98 XL98 XL97 XL7 XL5 XL4
Keywords : kbualink97 |
Last Reviewed: April 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |