Concatenate with Round in Numbers - bug
I am trying to display a time from a number of seconds.
Let's say 140 seconds. I want to display 2:20.5 (2 minutes, 20.5 seconds)
Let's say my number is in A1
ROUNDDOWN(A1÷60,0)
Result: 2
-
CONCATENATE(ROUNDDOWN(A1÷60,0),":",MOD(A1,60))
Result: 2.0:20.5
This is obviously not the expected behavior.
-
If I change the formatting of the source cell to two decimal places:
Result: 2.00:20.50
If I add "FIXED":
CONCATENATE(FIXED(ROUNDDOWN(A1÷60,0)),":",MOD(A1,60))
Result: 2.00:20.50
It seems to be something with concatenate where it ignores rounding and follows the formatting of a source cell.
Excel does this correctly.