Microsoft KB Archive/192291

= XL98: Negative Date/Time Value Displayed as Pound Signs (###) =

Article ID: 192291

Article Last Modified on 9/11/2002

-

APPLIES TO


 * Microsoft Excel 98 for Macintosh

-



This article was previously published under Q192291



For a Microsoft Excel 2000 and later version of this article, see 182247.

For a Microsoft Excel 97 and earlier version of this article, see 112361.



SYMPTOMS
If Microsoft Excel is set to use the 1900 date system, and you add or subtract data that is formatted with a time format, the date may not be displayed as you expect. When the results of the formula produce a negative value, and this data is formatted to display a time value, the cell displays pound signs, as in the following example:





CAUSE
Although the formula in the cell performs the correct operation, the number format returns the wrong results.



WORKAROUND
To display the number correctly, use either of the following methods:  Change the date system to the 1904 date system. -or-

 Use the following to change the displayed result

=TEXT(ABS(A1-A2),"-h:mm:ss")

where A1 has a value smaller than A2.

The above formula will display the value as text. You may need to format the cell alignment to right justified. Note that this is not an acceptable workaround if you need to use the result in another calculation.



STATUS
This behavior is by design of Microsoft Excel 98 Macintosh Edition.

Additional query words: XL98

Keywords: kbprb KB192291

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.