+ Reply to Thread
Results 1 to 3 of 3

Determin total hours between two times

  1. #1
    Registered User
    Join Date
    09-16-2021
    Location
    San Diego
    MS-Off Ver
    16.52
    Posts
    1

    Determin total hours between two times

    I am looking to create a calculation that tells me the total hours between a start time and an end time.

    Example: 2:00PM and 1:00Am = 11

    I have built a calculation that does this easily if the first time is either AM or PM, and the second time is PM. But it breaks when the second number is AM

    I attempted to attach an image.
    Pitchers_Tipout_Sheet.jpg

    What change do I need to make to ensure it can calculate total hours even when the second number is in the AM?

    Thank you!

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Determin total hours between two times

    Welcome to the forum!

    Assuming "start" is in col-B and "End" is in col-C then in D2 copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Make sure the "total" column is formatted as: [h]:mm
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  3. #3
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Determin total hours between two times

    Remove post.

    Regards.
    Last edited by menem; 09-16-2021 at 09:58 PM. Reason: Remove due to misunderstood.

+ 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. Getting the total amount of Lunch hours between 2 different dates&times
    By kamuskaizen in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-01-2021, 03:56 AM
  2. Calculate total hours worked from given IN OUT times of Different shifts.
    By nikunj_ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-16-2020, 03:59 AM
  3. [SOLVED] How many hours in total from multiple start & end times
    By callummcgrath in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2017, 10:54 AM
  4. Calculating Weekly Total Hours from Daily Times
    By RFernandez in forum Excel General
    Replies: 7
    Last Post: 04-12-2016, 07:13 PM
  5. How many hours from total hours fall between certain times
    By sobek in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2014, 10:51 AM
  6. how to determin how many hours between two different times
    By Dotty in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-07-2012, 05:14 AM
  7. Calculating Total Hours Between Two Times Past 24hr
    By BM4193 in forum Excel General
    Replies: 3
    Last Post: 09-18-2009, 09:21 AM

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