+ Reply to Thread
Results 1 to 4 of 4

Time Overlap loop

  1. #1
    Registered User
    Join Date
    02-20-2013
    Location
    Philippines
    MS-Off Ver
    O365
    Posts
    49

    Time Overlap loop

    Hi,

    Can you guys please help me again with the spreadsheet that I'm working on I'm kind stuck on this.
    I have a list of employee with their start shift and end shift, what I want is that when I click a button it will auto fill everything in User 1 and User 2 with a condition that their end/start shift shouldn't overlap.

    So far this is the formula that I am using
    Please Login or Register  to view this content.
    But every time that I use that I am having a trouble if it compares to a user that is in 12:00AM.

    I want to do this in Macro by the way and continuously loop in the Raw Data. Please see my attached sample excel sheet.

    Thanks in advance.


    PS: Can you make the code in a much simplified way, so that I can easily understand it sorry about that.
    Attached Files Attached Files
    Last edited by Krix; 09-13-2015 at 09:29 PM.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Time Overlap loop

    You may know what user 1 and user 2 mean, but from what I can see it's not obvious. You should go into a detailed explanation as to what your sheet means and give some examples of where and why we should see the words conflict and not conflict. Your formula references no cells so how can we know what you want by looking at your formula. You also have no data in the user 2 area so there's nothing there to make it any more obvious what you want. I looked in name manger, there's no named ranges.

  3. #3
    Registered User
    Join Date
    02-20-2013
    Location
    Philippines
    MS-Off Ver
    O365
    Posts
    49

    Re: Time Overlap loop

    Sorry for not able to explain it well. I'm having trouble on how to explain it really but what I just want to see is something in the attached spreadsheet. I filled it in everything with user 1 and user 2, it should be automated to fill in the employees and it will get the employee # in the raw data in just a condition that it wouldnt be having a conflict with the schedule, they shouldn't be at the same station(I updated the spreadsheet) at the same time or within the same time range.
    Attached Files Attached Files

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Time Overlap loop

    This was in my previous post. I don't see where you responded to this. I can't help you if you don't respond to specific questions or concerns that I have.

    You should go into a detailed explanation as to what your sheet means and give some examples of where and why we should see the words conflict and not conflict

+ 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. [SOLVED] Overlap for Date/Time
    By Brawnystaff in forum Excel General
    Replies: 2
    Last Post: 06-19-2015, 10:35 PM
  3. Calculating time overlap
    By T_Dawg in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-23-2015, 01:11 AM
  4. Average if time ranges overlap
    By fitzxlr8s in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-24-2014, 08:15 PM
  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