Times are rounding up

How do I remove seconds from a time calculation? The PM add should be 10:30 for a GTTL of 31:31.

Posted on Dec 31, 2021 10:05 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Dec 31, 2021 12:24 PM

I don't think any of the rounding functions work on durations so it has to be converted to a decimal number of minutes, turned into an integer, then converted back.


=DURATION(,,,INT(DUR2MINUTES(IF(C2="PM",E2*1.5,E2))))

2 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Dec 31, 2021 12:24 PM in response to Junebug172

I don't think any of the rounding functions work on durations so it has to be converted to a decimal number of minutes, turned into an integer, then converted back.


=DURATION(,,,INT(DUR2MINUTES(IF(C2="PM",E2*1.5,E2))))

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Times are rounding up

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.