+ Reply to Thread
Results 1 to 9 of 9

Converting hours and minutes to decimal hours

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Converting hours and minutes to decimal hours

    I want this converted to deimcals hours

    Minutes Decimal hours
    85:44 85.73
    51:59 51.98
    47:17 47.28
    56:51 56.85

    Please help with a formula that will work. Thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Converting hours and minutes to decimal hours

    Multiply by 24 and format as Number.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-25-2012
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Converting hours and minutes to decimal hours

    I am getting value error.

  4. #4
    Registered User
    Join Date
    07-25-2012
    Location
    Salt lake City
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Converting hours and minutes to decimal hours

    If the number you want to convert is in cell A2:
    =(A2-INT(A2))*24

    http://office.microsoft.com/en-us/ex...dard_time_form

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Converting hours and minutes to decimal hours

    Quote Originally Posted by Calandra@Seohan View Post
    I am getting value error.
    What error are you getting?

    @Calandra : shg's formula is what is required - your approach extracts the time from a date and time string then converts it to decimal (correct but not really necessary)

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Converting hours and minutes to decimal hours

    Please Login or Register  to view this content.
    Post a workbook if you still have problems.

  7. #7
    Registered User
    Join Date
    07-25-2012
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Converting hours and minutes to decimal hours

    WorkTime Decimal Hours
    63:49 ?
    68:09 ?
    47:20 ?
    57:22 ?
    59:37 ?
    51:02 ?
    46:40 ?
    51:41 ?
    55:05 ?
    1:11 ?

    ---------- Post added at 10:51 AM ---------- Previous post was at 10:49 AM ----------

    I maybe asking the question not so clearly. Okay.... I want a formula that will give me the decimal hours from minutes.

    ---------- Post added at 01:30 PM ---------- Previous post was at 11:51 AM ----------

    I keep getting error when trying to convert the numbers below to decimal hours. Can anyone please help?

    63:43

    ---------- Post added at 01:31 PM ---------- Previous post was at 01:30 PM ----------

    Can you please help? I am getting error message.

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Converting hours and minutes to decimal hours

    The most likely reason is that your initial values are stored as text and not numbers. You can check this in a blank cell
    = ISNUMBER(A2) where A2 contains 63:49. If it says false, your values are text

    ---------- Post added at 02:48 PM ---------- Previous post was at 02:45 PM ----------

    Try
    =TRIM(A2)*24
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  9. #9
    Registered User
    Join Date
    07-25-2012
    Location
    Auburn, AL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Converting hours and minutes to decimal hours

    That worked! You are the GREATEST!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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