Excel Negative Time Format

Emily

Active Member
Joined
Aug 28, 2002
Messages
304
I have one interesting question about Excel negative time format.

When I input these keys:

Spacebar
:
Enter

Excel cell displays ######### (-0.0416666666666667)

Anyone knows why these four keys caused such result?

Thanks in advance
Emily

ps -1/24 will display -0.0416666666666667

Cross post: http://www.vbaexpress.com/forum/showthread.php?t=24418
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
as a guess the : is a time separator so maybe it interpreted as 00:00

though testing on a blank workbook

: = :

-0.0416666666666667 = as time = 00/01/1900 01:00:00

once i have made a cell time the rest of the book then converts 1/24 into 01/01/2024
 
Upvote 0
OK, what was the fourth key

i saw spacebar, colon, enter

as for the hashes its negative time
 
Upvote 0
as a guess the : is a time separator so maybe it interpreted as 00:00

though testing on a blank workbook

: = :

-0.0416666666666667 = as time = 00/01/1900 01:00:00

once i have made a cell time the rest of the book then converts 1/24 into 01/01/2024


Elaborate more:

when input
Spacebar + : + 1 shows 00:59
Spacebar + : + 2 shows 01:59
...
Spacebar + : + 24 shows 23:59
Spacebar + : + 25 shows 01/01/1900 12:59:00 AM
...
Spacebar + : + 9999 shows 19/02/1901 02:59:00 PM

9999 is the maximum value that can display time format, and also

Spacebar + : + 0 shows -0.000694444444444444
 
Upvote 0

Forum statistics

Threads
1,216,136
Messages
6,129,080
Members
449,485
Latest member
greggy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top