Example convert 3.03 to 03:03
(integer and decimal will never be >59. In other words this (70.64) will be an invalid number to convert.
Thanks
Example convert 3.03 to 03:03
(integer and decimal will never be >59. In other words this (70.64) will be an invalid number to convert.
Thanks
Assuming you have 3.03 in A2, you can use this:
=--SUBSTITUTE("0:"&A2,".",":")
Format the cell as mm:ss
Hope this helps.
Pete
EDIT: You may have to use a semicolon ( ; ) instead of the commas ( , )
Give this a try.
![]()
Please Login or Register to view this content.
This should do it.
The formula will convert 3.03 to time value 03:03
Formula:
Please Login or Register to view this content.
format cell B1 as Custom, mm:ss
v A B 1 3.03 03:03
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Maybe this will help
Decimal time in A1. Enter in B1 and format as mm:ss
Formula:
Please Login or Register to view this content.
To return a maximum of 59:59 format as mm:ss
Formula:
Please Login or Register to view this content.
If you want 0 returned if greater than 59:59
Formula:
Please Login or Register to view this content.
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
Yes, I know the sample number you showed us was 3.03 and the formula returns the correct result for that value.
However, if that value was 3.30 instead of 3.03 then the formula returns an incorrect result.
If 3.03 is 3 mins and 3 secs then I would assume 3.30 is 3 mins and 30 secs?
You can change the formula to this:
=--SUBSTITUTE("0:"&TEXT(A2,"0.00"),".",":")
to overcome that problem.
Hope this helps.
Pete
or try... =TIME(0,INT(A2),MOD(A2,1)*100)
Yep! This works too!
Thx
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks