+ Reply to Thread
Results 1 to 7 of 7

Time overlap

  1. #1
    Registered User
    Join Date
    04-07-2014
    Location
    melbourne
    MS-Off Ver
    Excel 2010
    Posts
    18

    Time overlap

    Hi Guys,
    I need to find out from big data set if someone actually clocked on to the job at the same time before he/she clocked off the previous job. I attached the data set for your information. Can you please help? is there a quick way by creating a formula to review the data set?

    Thanks a lot
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,710

    Re: Time overlap

    You'll need to edit the times in columns D and E. Times are numbers. What is in D and E is text. Try changing anything in the format 1:52pm for example to 1:52 PM. That space is important. Excel will read that as time. (Also remove the leading * in cell D2.) Additionally you'll want to add the date (it's a number too) to those dates to account for trans-midnight calculations. This can be done with a helper column inserted into your table or in formula. If done in-formula it could look like this entered into column I and filled down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Does this do what you want?
    Dave

  3. #3
    Registered User
    Join Date
    04-07-2014
    Location
    melbourne
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Time overlap

    Almost It didn't ignore if the overlap time done by different person or different RO Number. Can we incorporate this?

    Thanks

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,710

    Re: Time overlap

    The only glitches I can see with the following are when all midnights are the times Start and End. For example rows 13:15 for one. In those cases the formula in column K doesn't do anything.

    I added two helper columns in I:J. The formula there is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    entered in I2 and filled down to the end.

    Then in K2 and filled down this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Let us know if this does what you want.

    Edit: I forgot to mention. You may want to custom format the adjusted time helper columns to hh:mm AM/PM if you want to retain the leading zeros in hours. It doesn't change the values. It's cosmetic and consistent with what it appears you wanted in the original.
    Last edited by FlameRetired; 09-15-2015 at 12:43 AM. Reason: missing detail

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,710

    Re: Time overlap

    After looking at this again it appears the RO numbers are irrelevant. A person cannot have overlapping times regardless of RO. If I have that right change the formula in column K to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This returns far more overlaps.

  6. #6
    Registered User
    Join Date
    04-07-2014
    Location
    melbourne
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Time overlap

    yeah finally its worked after crashed a few times due to large data sets. Thanks a lot for the help, much appreciated.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,710

    Re: Time overlap

    You're welcome. Glad to hear it.

    If this answers your question please go to the top of your original post, click on Thread tools (upper right) and mark this thread [SOLVED].

+ 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] Overlap between two time ranges
    By LondonJames in forum Excel General
    Replies: 11
    Last Post: 07-12-2019, 02:18 AM
  2. Time Overlap loop
    By Krix in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2015, 02:02 AM
  3. [SOLVED] Overlap for Date/Time
    By Brawnystaff in forum Excel General
    Replies: 2
    Last Post: 06-19-2015, 10:35 PM
  4. Calculating time overlap
    By T_Dawg in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-23-2015, 01:11 AM
  5. Time overlap %
    By sfire184 in forum Excel General
    Replies: 5
    Last Post: 09-09-2014, 02:23 AM
  6. [SOLVED] determine total overlap time when there are gaps in overlap (4 date ranges)
    By miriambender in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-12-2014, 11:58 PM
  7. Replies: 0
    Last Post: 08-14-2013, 11: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