+ Reply to Thread
Results 1 to 25 of 25

Calculating (extracting) hours between two times

Hybrid View

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    Balkan
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Calculating (extracting) hours between two times

    Nobody ????? (((((

  2. #2
    Forum Contributor Toonies's Avatar
    Join Date
    07-30-2009
    Location
    Newcastle, UK
    MS-Off Ver
    Excel 2016
    Posts
    511

    Re: Calculating (extracting) hours between two times

    Hi try this

    =IF(COUNT($C6,$E6)=2,MAX(0,MIN($E6+($C6>$E6))-MAX($C6)),0)
    Or this

    =MOD(E6-IF(C6 < TIME(22,0,0),TIME(22,0,0),C6),1)
    place in F6
    Last edited by Toonies; 01-06-2012 at 05:45 PM.

  3. #3
    Registered User
    Join Date
    01-05-2012
    Location
    Balkan
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Calculating (extracting) hours between two times

    Thanks Toonies but it's not working.
    I see the point of your formula.
    H6 has to calculate time if in C6 is more than 22:00 and in E6 is less than 05:00 trough the midnight.
    I will keep trying, but thank you very much

+ 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