Negative date and time value are displayed as pound signs (###) in Excel

For a Microsoft Excel 98 version of this article, see 192291 .

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


In Excel 2000 and later, when the results of a formula produce a negative value, and this data is formatted to display a time value or date value, the cell displays pound signs, as in the following example:

NOTE: This also occurs when you directly type a negative value into the cell.


This behavior will occur if the following conditions are true:
  • Microsoft Excel is set to use the 1900 date system


  • The value in the cell is a negative number (less than zero).


  • The cell is formatted as a date or a time.


To display the number correctly, do either of the following:
  • Change the date system to the 1904 date system.

  • Use the TEXT worksheet function to change the displayed result.

Steps to Change to the 1904 Date System

In Microsoft Office Excel 2003 and in earlier versions of Microsoft Excel, follow these steps:
  1. Open, or switch to, the workbook.
  2. On the Tools menu, click Options, and then click the Calculation tab.
  3. Click to select the 1904 Date System check box.
  4. Click OK.
In Microsoft Office Excel 2007, follow these steps:
  1. Click the Microsoft Office Button, and then click Excel Options.
  2. Click the Advancedcategory.
  3. Under When calculating this workbook, click to select the Use 1904 date systemcheck box, and then click OK.

Using the TEXT Function

You can use the TEXT function to change the display of the negative number. For example, if you are subtracting A2 from A1 and you want the results displayed as a time format, you can use a formula similar to the following:
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.

WARNING: This is not an acceptable workaround if you need to use the result in another calculation.

Αναγνωριστικό άρθρου: 182247 - Τελευταία αναθεώρηση: 24 Ιαν 2007 - Αναθεώρηση: 1