+ Reply to Thread
Results 1 to 4 of 4

Time Overlaps and Identifying Gaps

  1. #1
    Registered User
    Join Date
    06-13-2019
    Location
    Ireland
    MS-Off Ver
    2016
    Posts
    2

    Smile Time Overlaps and Identifying Gaps

    Hello
    I need a solution to the following:
    I have lots of engineer report records with dates and times (in different columns) where I need to filter out both gaps (in the working day 08:30 - 17:00) and any overlapping times. Preferably I would need to home in on the records that overlap with the amount of time displayed that is overlapping.

    For example:
    Start Time End Time Overlap Time
    08:00 09:00 No
    08:55 10:35 Yes
    10:00 12:50 Yes....
    12:01 16:00
    15:00 16:00
    15:45 17:30


    Much appreciated if someone could assist

    Angelena

  2. #2
    Registered User
    Join Date
    01-24-2019
    Location
    Lancaster County, PA USA
    MS-Off Ver
    2016
    Posts
    8

    Re: Time Overlaps and Identifying Gaps

    This is assuming that the rows will be in sequence. Place formula in C2 and copy down.
    Please Login or Register  to view this content.
    Example:
    Start End Overlap
    8:00 8:45
    8:55 10:35 -00:10
    10:00 12:50 0:35
    12:01 16:00 0:49
    15:00 16:00 1:00
    15:45 17:30 0:15
    The formula has been modified - it would have been nice just to remove the check for less than zero and have a negative display for gaps in time (positives are overlap) - but Excel displays ##### for negative times by default, and it takes an advanced config change to allow them. So, if the time calc is negative, this formula manually adds a "-" in front of text function on the absolute time diff formatted.
    Last edited by GR00007; 06-14-2019 at 09:38 AM.

  3. #3
    Registered User
    Join Date
    06-13-2019
    Location
    Ireland
    MS-Off Ver
    2016
    Posts
    2

    Re: Time Overlaps and Identifying Gaps

    Hello, many thanks for this.....you're a STAR!
    The other issue I have is identifying gaps in time in the working day (between 08:30 - 17:00).
    I am so short on time and cannot find a suitable fornula.
    Any help with this would be so awesome
    Thanks

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,902

    Re: Time Overlaps and Identifying Gaps

    Hello Angelena and Welcome to Excel Forum.
    See if the following will work for identifying gaps within the work day: =IFERROR(IF(B1 -A2>=0,"",MIN(A2-B1,A2-"8:30","17:00"-B1)),"")
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Macro not identifying all overlaps between dates
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2017, 07:30 PM
  2. Replies: 11
    Last Post: 10-24-2016, 08:12 PM
  3. Checking for time overlaps against given points in the day
    By alex440000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2016, 01:15 PM
  4. Help in checking for overlaps in time across sheets
    By TMartin79 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2013, 03:42 PM
  5. Tracking Date and Time overlaps
    By kukarooza in forum Excel General
    Replies: 11
    Last Post: 10-11-2013, 09:09 AM
  6. Series of help: including if time overlaps
    By freeurmind in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2013, 06:32 AM
  7. [SOLVED] Identifying Date Overlaps
    By Tremain in forum Excel General
    Replies: 1
    Last Post: 05-09-2005, 09:06 PM

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