Changing negative time to negative decimal

iheartexcel2024

New Member
Joined
Aug 10, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I am trying to work out the overtime in decimal and in this case I would like to change the negative overtime into negative decimal value but some are showing error #NUM!.

Does anyone know how to fix this?

I have enabled 1904 date system.

1723281348096.png
 

Attachments

  • 1723281219008.png
    1723281219008.png
    102.2 KB · Views: 8

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Because there are 24 hours in a day
Yes I understand there are 24 hours in a day but I just dont know understand how time multiply by 24 can instantly give decimal point.

For example overtime 0:24 (24 minutes) * 24 = 0.40

Previously I was using 24/60 to get 0.40
 
Upvote 0
Excel stores dates as the number of days since the base date. Normally from 1/1/1900 in your case 1/1/1904.
It then stores time as a decimal fraction of a day. To convert that decimal fraction of a day to hours you need to multiply it by the hour equivalent of 1 day being 24 hours.

Further reading: https://www.cpearson.com/excel/datetime.htm
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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