Time Conversion
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Time Conversion

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I need a formula to convert time in hours and hundredths hh.hh to hours and minutes hh:mm and from hours and minutes hh:mm back to hours and hundredths hh.hh.

    06:45 = 06.75
    06.83 = 06:50

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Denver, CO
    Posts
    1,743
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-20 11:22, jstritch wrote:
    I need a formula to convert time in hours and hundredths hh.hh to hours and minutes hh:mm and from hours and minutes hh:mm back to hours and hundredths hh.hh.

    06:45 = 06.75
    06.83 = 06:50
    You could use
    =HOUR(A1)+MINUTE(A1)/60
    and
    =TIME(INT(A2),ROUND(MOD(A2,INT(A2))*60,0),0)
    respectively

  3. #3
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-20 11:22, jstritch wrote:
    I need a formula to convert time in hours and hundredths hh.hh to hours and minutes hh:mm and from hours and minutes hh:mm back to hours and hundredths hh.hh.

    06:45 = 06.75
    06.83 = 06:50
    ="6:45"*24 produces 6.75
    =6.83/24 produces the time value, 0.284583333333333, which when formatted as [h]:mm is displayed as 6:49

  4. #4
    New Member
    Join Date
    Mar 2002
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thank you very much for the quick reply.

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com