+ Reply to Thread
Results 1 to 3 of 3

Time into fraction of an hour

  1. #1
    Registered User
    Join Date
    08-26-2010
    Location
    Poplar Bluff MO
    MS-Off Ver
    Excel 2016
    Posts
    98

    Time into fraction of an hour

    I have a formula that subtracts the starting time of 1:45 from the ending time of 2:30 and get 45 minutes. But I want that to say what fraction of the hour that is, for example in this case it would be .75 and if it was 30 minutes it would be .5. We are only dealing in 15 minute increments.

    01:45 AM 2:30 AM 00:45 - Current

    01:45 AM 2:30 AM .75 - final result

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

    Re: Time into fraction of an hour

    Maybe
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    format the cell to GENERAL. Does that work for you?
    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

  3. #3
    Registered User
    Join Date
    08-26-2010
    Location
    Poplar Bluff MO
    MS-Off Ver
    Excel 2016
    Posts
    98

    Re: Time into fraction of an hour

    Yes that did it.

+ 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. Replies: 1
    Last Post: 12-19-2017, 10:46 AM
  2. Replies: 0
    Last Post: 03-07-2014, 11:26 AM
  3. [SOLVED] Time as fraction of a day
    By SG56001235 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-19-2013, 06:05 AM
  4. Replies: 3
    Last Post: 09-04-2013, 01:56 AM
  5. VBA to convert 12 hour to 24 hour time
    By Krrattner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2012, 06:59 PM
  6. Convert 12 hour to 24 hour time
    By RussellNonBrand in forum Excel General
    Replies: 5
    Last Post: 01-26-2011, 03:01 PM
  7. convert decimal numbers to a fraction of an hour for payroll hour
    By Flower in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-10-2006, 03:50 PM

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