XL: General Number Format Applied to Improper Time Entry

Last reviewed: January 7, 1998
Article ID: Q173064
The information in this article applies to:
  • Microsoft Excel 97 for Windows
  • Microsoft Excel for Windows 95, versions 7.0, 7.0a
  • Microsoft Excel for Windows, versions 5.0, 5.0a, 5.0c

SYMPTOMS

In Microsoft Excel, when you enter a time into a cell, the cell may change to the General number format, and display a decimal number.

CAUSE

This behavior occurs when you enter an improper time value, where the minutes are greater than or equal to 60. For example if you type "5:62" (without the quotation marks), the cell displays "0.251389"

WORKAROUND

To work around this problem, change the cell to the Time number format. To do this, follow these steps:

  1. Click to select the cell.

  2. On the Format menu, click Cells.

  3. On the Number tab, click Time in the Category list, and then click the time format you want in the Type list. Click OK.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

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

   number formats, in cells

and then double-click the selected text. Click to select "Change the way Microsoft Excel displays numbers, dates, and times" and click Display.


Additional query words: XL97
Keywords : xlformat
Version : WINDOWS:5.0,5.0a,5.0c,7.0,7.0a,97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbworkaround


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