Results 1 to 3 of 3

Check if the in and out time falls between a specific time interval

Threaded View

  1. #1
    Registered User
    Join Date
    09-05-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    1

    Check if the in and out time falls between a specific time interval

    I am looking for a solution after a long trial and error workings. I have 2 columns in and out with date and time. I want to check if the in and out falls between the interval 10PM to 8AM of next day. Further, for those which falls within this range, I want to check atleast minimum of 3 hours are falling within this interval. My data looks like below in col A and B.

    I need the output in column C and D where column C gives me the in and out time falls between the interval and Col D give me if it falls more than 3 hours between 10PM to 8AM.

    PHP Code: 
                     In                   Out          Between 10-8              <=3hrs
        09
    /24/2019 06:00:18      09/25/2019 01:00:22         Yes                 Yes
        09
    /09/2019 17:54:58      09/10/2019 03:32:03         Yes                 Yes
        09
    /03/2019 10:19:49      09/03/2019 23:22:40         Yes                 No
        10
    /01/2019 00:01:22      10/01/2019 11:49:39         Yes                 Yes
        09
    /24/2019 23:59:46      09/25/2019 09:10:38         Yes                 Yes
        09
    /09/2019 13:11:41      09/10/2019 01:36:47         Yes                 Yes
        09
    /09/2019 13:11:41      09/09/2019 21:36:47         No                  No 
    Last edited by srivibish; 03-26-2020 at 10:29 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Time Difference excluding a specific time interval
    By nickyowen99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-01-2019, 01:37 AM
  2. Replies: 1
    Last Post: 07-23-2019, 11:09 AM
  3. Count if specific time falls within time range
    By JPED41 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-09-2018, 07:31 PM
  4. Check if cell is in time interval
    By soli004 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-23-2016, 09:49 AM
  5. COUNTIF time interval falls between set of time ranges
    By eyoonbbj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2014, 01:44 PM
  6. [SOLVED] SUM data that falls within a time interval
    By shelsx in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-12-2012, 11:17 PM
  7. Replies: 0
    Last Post: 04-23-2012, 10:06 AM

Tags for this Thread

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