Forum Discussion
Jim_Free
Oct 21, 2021Copper Contributor
Excel - how to show a negative time calculation
I am creating a time sheet that calculates the time used against a starting amount of hours purchased for consulting. I have used the "time" calculation to delete the time used. I have now got to whe...
HansVogelaar
Oct 21, 2021MVP
In the desktop version of Excel for Windows:
Select File > Options.
Select Advanced in the navigation pane on the left.
Scroll down to the section 'When calculating this workbook'.
In Excel for Mac, the 1904 date system is the default setting.
- RikClark_1970May 20, 2024Copper Contributor
I have been working on a spreadsheet, not huge...but when I changed to the 1904 system, it increased all my dates by 4 years....but now does show negative values in my time difference column
- HansVogelaarMay 20, 2024MVP
Yes, dates will change if you switch from the 1900 date system to the 1904 date system.
If you want to correct existing dates:
- Enter the number 1462 in an empty cell.
- Copy this cell.
- Select a range with dates that are 4 years off.
- Right-click in the selection.
- Select Paste Special... from the context menu.
- Select Subtract.
- Click OK.
- Gauthier_BEJun 12, 2023Copper ContributorGreat, thanks! However I'm really afraid of side effects, this is the kind of legacy option which is never tested...
A pity Microsoft does not fix the original issue, the format with brackets [h]:mm:ss;-[h]:mm:ss is supposed to work but this is bugged since forever. 😞- HansVogelaarJun 12, 2023MVP
If you don't use the 1904 date system, Excel cannot display negative times. Changing this would probably break other stuff, so it is very unlikely to happen.