Excel between times returns different values ​​in the same range

I use excel to calculate the total minutes between times.

My calculation formula is as follows: =INT((M3-L3)*1440)

Time1                   Time2                Minutes
5.1.2016  21:00:00      5.1.2016  22:00:00   59
5.1.2016  22:00:00      5.1.2016  23:00:00   60

The first result is 59, but the second result is 60.

What is the problem?

+4
source share
1 answer

Excel / . . . ( 15 10 ). , , , .

...

=INT((5.1.2016 21:00 - 5.1.2016 22:00)*1440)
=INT((42491.875-42491.9166666667)*1440)
=INT(0.041666666664241*1440)
=INT(59.9999999965975)
=59

...

=INT((5.1.2016 22:00 - 5.1.2016 23:00)*1440)
=INT((42491.9166666667-42491.9583333333)*1440)
=INT(0.041666666664241*1440)
=INT(60.0000000069849)
=60

.

, INT () ROUND (, 0) MROUND (, 1)

+3

Source: https://habr.com/ru/post/1624494/


All Articles