Dates and times displayed as serial numbers when viewing formulas in Excel
This article was previously published under Q241072
This article has been archived. It is offered "as is" and will no longer be updated.
Microsoft Excel displays serial number values for dates and times in cells, but shows formatted dates and times in the formula bar.
This behavior occurs when you are viewing your worksheet as formulas rather than values.
To display formatted dates and times in the cells on the worksheet:
- On the Tools menu, click Options, or click Preferences (on the Edit menu in Microsoft Excel 98 for the Macintosh and in Microsoft Excel 2001 for Mac; on the Excel menu in Microsoft Excel X for Mac and in Microsoft Excel 2004 for Mac).
- On the View tab, click to clear (remove the "x" from) the Formulas check box, and then click OK.
The Formulas check box is used to view formulas in the cells on the worksheet, as well as in the formula bar.
How Microsoft Excel Stores Dates and TimesMicrosoft Excel stores dates as sequential numbers known as serial values. Excel stores times as decimal fractions because time is considered a portion of a day. Dates and times are values and so you can add, subtract, and include dates and times in other calculations. For example, to determine the difference between two dates, you can subtract one date from the other. You can view a date as a serial value and a time as a decimal fraction by changing the format of the cell that contains the date or time to General format.
XL2000 XL2001 XL97 XL98 XLX XL2004 XL2003
Article ID: 241072 - Last Review: 12/05/2015 15:47:13 - Revision: 4.0
Microsoft Excel 95 Standard Edition, Microsoft Excel 97 Standard Edition, Microsoft Excel 2000 Standard Edition, Microsoft Excel 2002 Standard Edition, Microsoft Excel 5.0 for Macintosh, Microsoft Excel 98 for Macintosh, Microsoft Excel 2001 for Mac, Microsoft Excel X for Mac, Microsoft Excel 2004 for Mac, Microsoft Excel 2008 for Mac
- kbnosurvey kbarchive kbdtacode kbprb KB241072