+ Reply to Thread
Results 1 to 3 of 3

Convert Hours to Decimal

  1. #1
    Registered User
    Join Date
    12-24-2004
    Location
    Sofia, Bulgaria
    MS-Off Ver
    MS Office 2010
    Posts
    31

    Arrow Convert Hours to Decimal

    Hi everybody!

    I have in a cell 40:23:04, which is number of hours and equals to 40.38 hours or to 2423.07 minutes. To convert the first value, I wrote the following formula: =HOUR(A1567)+MINUTE(A1567)/60+SECOND(A1567)/3600.
    I dont think this formula is appropriate, moreover it doesn't work properly for values greater than 24h.
    My final goal is to convert 40:23:04 hours to 2423.07 minutes
    So, which function should I use and how to solve the problem?

    Thank you in advance.

  2. #2
    Pete
    Guest

    Re: Convert Hours to Decimal

    Just multiply your value by 24 and by 60, as follows:

    = A1 * 24 * 60

    if your value is in cell A1.

    Format as number with 2 decimal places.

    Pete


  3. #3
    Stefi
    Guest

    RE: Convert Hours to Decimal

    Assume your cell is A1, try this formula in A2:

    =ROUND(A1*1440,2)

    N.B. 1440=24*60

    Regards,
    Stefi

    „dminkov” ezt *rta:

    >
    > Hi everybody!
    >
    > I have in a cell 40:23:04, which is number of hours and equals to 40.38
    > hours or to 2423.07 minutes. To convert the first value, I wrote the
    > following formula: =HOUR(A1567)+MINUTE(A1567)/60+SECOND(A1567)/3600.
    > I don’t think this formula is appropriate, moreover it doesn't work
    > properly for values greater than 24h.
    > My final goal is to convert 40:23:04 hours to 2423.07 minutes
    > So, which function should I use and how to solve the problem?
    >
    > Thank you in advance.
    >
    >
    > --
    > dminkov
    > ------------------------------------------------------------------------
    > dminkov's Profile: http://www.excelforum.com/member.php...o&userid=17757
    > View this thread: http://www.excelforum.com/showthread...hreadid=499663
    >
    >


+ 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