Difference between 2 hours doen't result in 0

Michele317

New Member
Joined
Apr 29, 2024
Messages
28
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a sheet in which I have an IF statement and the false condition makes the difference between 2 hours:
- one is the result from another formula
- the other is typed manually.

I don't undersand the reason. But some time this formula gives me the result -00:00 (to be precise, I converted it in General format and I get -6,93889390390723E-18)
I tried to do a simple difference between the 2 without the IF statement and I get exactly 00:00.

This things happens only sometimes, since I have same formula for multiple other cases.

How is that possible?

Below a part of the sheet:

09:1001:1001:1001:10-00:00
09:1501:1501:1501:1500:00
(the difference is between the second and the fourth column, the result is in the last column)
In the first line, I'm getting the problem above.
In the second line, I'm getting the correct result.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

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