How to display / show negative time properly in Excel?
Some of us may suffer this problem, when you subtract a later time 12:20 from an earlier time 10:15, you will get the result as ###### error as following screenshots shown. In this case, how could you show negative time properly and normally in Excel?
Display negative time properly with changing Excel's Default Date System
Display negative time properly with Formulas
Display negative time properly with changing Excel's Default Date System
Here is an easy and quick way for you to display the negative time normally in Excel by changing the Excel's Default Date System to 1904 date system. Please do as this:
1. To open the Excel Options dialog box by clicking File > Options in Excel 2010/2013, and clicking Office Button > Excel Options in Excel 2007.
2. Then in the Excel Options dialog box, click Advanced from the left pane, and in the right section, check Use 1904 date system under When calculating this workbook section. See screenshot:
3. After finishing the settings, click OK. And the negative time will be displayed correctly at once, see screenshots:
Display negative time properly with Formulas
If you don’t want to change the date system, you also can use the following formula to solve this task.
1. Input your dates that you want to calculate them, and enter this formula =TEXT(MAX($A$1:$A$2)-MIN($A$1:$A$2),"-H::MM") (A1 and A2 indicate the two time cells separately) into a blank cell. See screenshot:
2. Then press Enter key, and you will get the correct result as following shown:
Tip:
Here is another formula also can help you: =IF(A2-A1<0, "-" & TEXT(ABS(A2-A1),"hh:mm"), A2-A1)
In this formula, A2 indicates the smaller time, and A1 stands for the larger time. You can change them as you need.
Change all numbers to positive or negative as you need in Excel |
In Excel, a list of numbers mixed with negative values and postive values, which needed to be converted positive or negative, in this case, which method is the best way to solve the job quickly and accurate？ The Change Sign of Values utility of Kutools for Excel will be a good choice. Click for full-feature free trial in 30 days! |
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. |
The Best Office Productivity Tools
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
- Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
- Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
- Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
- Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
- Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
- Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
- Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
- Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
- More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!