+ Reply to Thread
Results 1 to 3 of 3

how do I change hours and minutes to hours and tenths?

  1. #1
    Registered User
    Join Date
    01-18-2007
    Posts
    8

    how do I change hours and minutes to hours and tenths?

    I want to enter a departure time and an arrival time in hours and minutes then have it calculate the elapsed time in hours and tenths.

    I can get it to calculate elapsed time in hours and minutes but am having a problem converting it to hours and tenths.

    Thank you in advance!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If departure is in A2 and arrival in B2 try

    =(B2-A2)*24

    format as number

    If your times might be on separate days, e.g. 21:00 to 04:30 then chnage to

    =MOD(B2-A2,1)*24

  3. #3
    Registered User
    Join Date
    01-18-2007
    Posts
    8
    Most excellent Daddylonglegs!
    That is exactly what I needed and thanks for thinking about going past midnight. Which we do a lot.....
    Thanks for your help

+ 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