+ Reply to Thread
Results 1 to 16 of 16

From Minutes to Decimal Formatting

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    63

    From Minutes to Decimal Formatting

    Hi

    If I have Minutes displayed in cell as: 321:30

    How do I Format it to display as Decimal so result would be: 321.50

    I have played with the formatting but can not get it to work.

    Any suggestions would be great

    Thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: From Minutes to Decimal Formatting

    Try this in a helper column:

    =LEFT(A1,FIND(":",A1)-1)&"."&(RIGHT(A1,2)*100)/60

    then hide the column in question.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: From Minutes to Decimal Formatting

    If your 321:30 is stored as a time and formatted as [mm]:ss in cell A1...

    Then to convert to a decimal, you could use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and format as a number.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Registered User
    Join Date
    02-06-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: From Minutes to Decimal Formatting

    That worked a treat! Thanks so Much!

    Problem solved - Will add to rep

  5. #5
    Registered User
    Join Date
    02-06-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: From Minutes to Decimal Formatting

    Note: I did as Per AliGW - Which worked

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: From Minutes to Decimal Formatting

    Thanks for the rep, but I think Olly's reply is closer to what you asked for!

  7. #7
    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: From Minutes to Decimal Formatting

    Here is another way
    Enter formula in B1 and format cell as Number
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 321:30 321.50
    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

  8. #8
    Registered User
    Join Date
    02-06-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: From Minutes to Decimal Formatting

    Thanks All - You've really helped

  9. #9
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: From Minutes to Decimal Formatting

    use Olly's



  10. #10
    Registered User
    Join Date
    02-06-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: From Minutes to Decimal Formatting

    Hi All

    I am back again about this. Sorry. I thought it looked correct.


    Using this: 2,455:13
    I am trying to get the result of: 2455.219

    The closet I have gotten is with AliGW opetion but its not quite there.

    example: If I was to manually do it I would enter =(2455*60+13)/60 and I get the right result. But if I have 100's it would be very time consuming.

    First :
    Kindly provided by AliGW was
    Please Login or Register  to view this content.
    Result: I get 2,455.5

    Secound:

    Kindly provided by Olly was
    Please Login or Register  to view this content.
    And Format as a number

    Result: #VALUE!


    Third:
    Kindly provided by AlKey was
    Please Login or Register  to view this content.
    And Format as a number

    Result: #VALUE!



    Any further help on this would be much appreciated.

  11. #11
    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: From Minutes to Decimal Formatting

    Formula works fine for me. It works with real Date/Time and with text entries
    Please see attached file.
    Attached Files Attached Files

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: From Minutes to Decimal Formatting

    If you are happy to settle for three decimal places in all, try this:

    =SUBSTITUTE(LEFT(LEFT(E1,FIND(":",E1)-1)&"."&((RIGHT(E1,2)*100)/60)*100,FIND(".",LEFT(E1,FIND(":",E1)-1)&"."&((RIGHT(E1,2)*100)/60)*100)+3),",","")

    The answer is not 2455.219, by the way - it's 2455.216.

  13. #13
    Registered User
    Join Date
    02-06-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: From Minutes to Decimal Formatting

    Thanks you both I will take a look.

    Thanks again for your help with this.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: From Minutes to Decimal Formatting

    Try this:

    =(SUBSTITUTE(LEFT(A1,FIND(":",A1)-1),",","")+(RIGHT(A1,2)/60))

  15. #15
    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: From Minutes to Decimal Formatting

    BTW, you shouldn't be using values like 2,455:13 since this is neither Time nor a valid numeric value. However, if you do insist on using them then here is a modified formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Edit: removed IFERROR function
    Last edited by AlKey; 08-11-2016 at 12:41 PM.

  16. #16
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,921

    Re: From Minutes to Decimal Formatting

    Maybe like this ...

    =SUBSTITUTE(A1,",","")*24

+ 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 minutes (in decimal form) to hours (in decimal form)
    By DonW in forum Excel General
    Replies: 6
    Last Post: 07-07-2016, 07:31 PM
  2. Converting a sum from decimal minutes to minutes & seconds then multiplying by 10
    By sparkyliveson in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-22-2014, 11:53 AM
  3. Replies: 13
    Last Post: 05-03-2013, 08:42 PM
  4. RE: Converting decimal minutes to hours, minutes and seconds
    By mills49 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-14-2013, 09:14 AM
  5. Excel 2007 : hours & minutes to decimal
    By peaceinvt in forum Excel General
    Replies: 7
    Last Post: 07-29-2011, 10:44 AM
  6. Convert Decimal hours and Minutes to minutes please.
    By Steved in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-05-2006, 12:35 AM
  7. Replies: 2
    Last Post: 11-05-2005, 12:25 PM

Tags for this Thread

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