Maximum times in Microsoft Excel

Article translations Article translations
Article ID: 214386 - View products that this article applies to.
This article was previously published under Q214386
Expand all | Collapse all

SUMMARY

In Microsoft Excel, there are limits to the maximum time values that you can enter into a cell or return by using a formula. This article explains those limits.

MORE INFORMATION

In Microsoft Excel 5.0 and in later versions of Excel, you can enter times that exceed 24 hours by using a number format that includes [h]. The square brackets around the "h" instruct Excel to calculate times beyond 24-hour intervals, which allows you to enter times that exceed 24 hours. If you enter times that exceed 24 hours, Excel automatically applies a number format that includes the [h] code.

There are limits that apply to times that use this format. If you type a time value into a cell or use a formula to return a time that exceeds the limits, you may notice either of the following behaviors:
  • If you enter a time that exceeds the limits, the time may appear as a text string.

    For example, if you type the following time
    20000:00:00
    the time appears in the cell as a text string aligned to the left.
  • If you use a formula to return a time that exceeds the limits, the formula returns a series of pound or number signs (####).
The maximum time value that you can type into a cell is 9999:59:59. If you type a value that is greater than or equal to 10,000 hours (10000:00:00), the time appears as a text string.

The maximum time value that you can calculate using a formula is 71003183:59:59. This value equates to 12/31/9999 23:59:59, which is the maximum time that you can use in Excel 2000.

For more information about how to use times, click the following article number to view the article in the Microsoft Knowledge Base:
214094 How to use dates and times in Excel

Properties

Article ID: 214386 - Last Review: January 24, 2007 - Revision: 4.2
APPLIES TO
  • Microsoft Office Excel 2007
  • Microsoft Office Excel 2003
  • Microsoft Excel 2002 Standard Edition
  • Microsoft Excel 2000 Standard Edition
  • Microsoft Excel 97 Standard Edition
  • Microsoft Excel 5.0 Standard Edition
Keywords: 
kbhowto kbinfo KB214386

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com