+ Reply to Thread
Results 1 to 13 of 13

Convert decimal number AS SEEN to mm:ss

  1. #1
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Convert decimal number AS SEEN to mm:ss

    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

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: Convert decimal number AS SEEN to mm:ss

    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 ( , )

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Convert decimal number AS SEEN to mm:ss

    Give this a try.

    Please Login or Register  to view this content.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Convert decimal number AS SEEN to mm:ss

    This should do it.

    The formula will convert 3.03 to time value 03:03

    Formula: copy to clipboard
    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

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Convert decimal number AS SEEN to mm:ss

    Maybe this will help
    Decimal time in A1. Enter in B1 and format as mm:ss
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    To return a maximum of 59:59 format as mm:ss
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If you want 0 returned if greater than 59:59
    Formula: copy to clipboard
    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

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Convert decimal number AS SEEN to mm:ss

    Quote Originally Posted by Pete_UK View Post
    =--SUBSTITUTE("0:"&A2,".",":")
    Assuming 3.30 means 3 minutes and 30 seconds that formula returns 3:03.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  7. #7
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: Convert decimal number AS SEEN to mm:ss

    Thank you ALL for this plethora of answers !!!

    Quote Originally Posted by Tony Valko View Post
    Assuming 3.30 means 3 minutes and 30 seconds that formula returns 3:03.
    It is 3.03 (3 minutes, 3 seconds) not 3.30

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Convert decimal number AS SEEN to mm:ss

    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?

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: Convert decimal number AS SEEN to mm:ss

    You can change the formula to this:

    =--SUBSTITUTE("0:"&TEXT(A2,"0.00"),".",":")

    to overcome that problem.

    Hope this helps.

    Pete

  10. #10
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: Convert decimal number AS SEEN to mm:ss

    Quote Originally Posted by Tony Valko View Post
    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?
    Nice catch !!!

  11. #11
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: Convert decimal number AS SEEN to mm:ss

    Quote Originally Posted by Pete_UK View Post
    You can change the formula to this:

    =--SUBSTITUTE("0:"&TEXT(A2,"0.00"),".",":")

    to overcome that problem.

    Hope this helps.

    Pete
    Thanks for the update !

  12. #12
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,176

    Re: Convert decimal number AS SEEN to mm:ss

    or try... =TIME(0,INT(A2),MOD(A2,1)*100)

  13. #13
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: Convert decimal number AS SEEN to mm:ss

    Yep! This works too!
    Thx

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Convert decimal value to the next whole number greater than itself
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-08-2014, 12:51 PM
  2. [SOLVED] convert decimal number to time : convert 1,59 (minutes, dec) to m
    By agenda9533 in forum Excel General
    Replies: 22
    Last Post: 09-15-2013, 10:43 AM
  3. [SOLVED] Convert Userform textbox to decimal number
    By Leandrial in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2012, 02:08 PM
  4. Convert Number in Text format to Value with decimal
    By MAHMUZ in forum Excel General
    Replies: 4
    Last Post: 09-15-2010, 10:28 AM
  5. Convert decimal number to time format
    By browny in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2007, 02:44 PM
  6. [SOLVED] CONVERT HEXADECIMAL CELL TO DECIMAL NUMBER
    By JAY in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-24-2005, 11:06 PM
  7. [SOLVED] How to convert a decimal number to a non-decimal number?
    By snickers22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2005, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1