Forum Discussion
MarkShnier__You
Qrew Legend
4 years agoYes, you are correct to use Seconds, that was my error.
As for the rounding, if you are still stuck on that as the famous Kirk Tracy says, "if you can say it we can do it". So if you can say what the rounding rules are then I can help you with the formula.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
As for the rounding, if you are still stuck on that as the famous Kirk Tracy says, "if you can say it we can do it". So if you can say what the rounding rules are then I can help you with the formula.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
DanielJohnson2
4 years agoQrew Trainee
Hey Mark,
It needs be rounded down for anything ending between 0-19 seconds, and rounded up for anything ending in 20-59 seconds.
------------------------------
Daniel Johnson
------------------------------
It needs be rounded down for anything ending between 0-19 seconds, and rounded up for anything ending in 20-59 seconds.
------------------------------
Daniel Johnson
------------------------------
- MarkShnier__You4 years ago
Qrew Legend
try this formula duration field
var duration RawDuration = Seconds([my input field]);
var duration FloorOfDuration = Floor($Raw Duration, Minutes(1));
var duration ExtraSeconds = $RawDuration - $FloorOfDuration;
$FloorOfDuration
+
If($ExtraSeconds >= Seconds(20),Minutes(1), Minutes(0))
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------- DanielJohnson24 years agoQrew TraineeThat worked! Thanks Mark!
------------------------------
Daniel Johnson
------------------------------