+ Reply to Thread
Results 1 to 6 of 6

Automated Roster Hours/Conflict Highlighting.

  1. #1
    Registered User
    Join Date
    01-17-2018
    Location
    Oxford
    MS-Off Ver
    Office 365
    Posts
    5

    Automated Roster Hours/Conflict Highlighting.

    Hello,

    So long time lurker of this forum for finding solutions, first time actually posting!

    So I have a roster which looks like this
    HeoIOEK.png

    In it I have days and activities on the right, for each activity the first 4 characters are the time it starts, in the column to the right it has the length of the activity, sometimes reflected in the title.
    What Ive done so far is get some formulas working to count the amount of ocurrences of a particular name in the roster for a particlar day, which looks like this

    NaeLxrX.png

    I want to convert this to take into account the length of activities it is counting so I can see hours worked each day for everyone. At the moment I am not concerned about All As I will just add it as an extra person.

    The other thing I want to do, which is proably a bit more difficult, is to highlight in red any "Conflicts" or whenever a Name appears as having two activities at once.

    9mXRLbP.png


    As you can see, I have manually highlighted these conflicts here as AA is doing maintenance from 8-8:40 and mail trip from 8:30 and similarly on Saturday.
    However I would like this to be automated, so it would conditionaly format any conflicts.

    I have attached this workbook at the bottom.


    Let me know if you need any more information from me!

    Thanks so much for anyone who can help me out!
    Attached Files Attached Files
    Last edited by the133448; 01-19-2018 at 05:20 PM.

  2. #2
    Registered User
    Join Date
    01-17-2018
    Location
    Oxford
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Automated Roster Hours/Conflict Highlighting.

    Did I post this in the wrong section?

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Automated Roster Hours/Conflict Highlighting.

    Hello the 133448 and Welcome to Excel Forum.
    I suspect that one reason that you aren't receiving any replies because your file is not accessible, at least I can't get to it.
    Please upload the file directly to this site by clicking on the GO ADVANCED button below the Quick Reply window and then scrolling down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    01-17-2018
    Location
    Oxford
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Automated Roster Hours/Conflict Highlighting.

    Thanks jeteMc
    Ive attached the file now.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Automated Roster Hours/Conflict Highlighting.

    It appears that the conflicts occur in rows 8:12 which I numbered 1:5 in column A. With that in mind I set up a table in rows 100:106 that identifies the person that has the conflict using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Because of the special case in row 9 where there are pairs another table in rows 108:114 is populated using: =IF(D100="","",MATCH("*"&D100&"*",D$9:D$12,0)+1)
    The formula for the conditional formatting rule is: =OR(COUNTIFS(D$108:D$114,ROW(1:1)),COUNTIFS(D$100:D$106,D8)>0)
    Let us know if you have any questions.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-17-2018
    Location
    Oxford
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Automated Roster Hours/Conflict Highlighting.

    Quote Originally Posted by JeteMc View Post
    Let us know if you have any questions.
    Hi, thanks for that, its not exactly what I was looking for. I wanted to use the first column of time i.e. the first 4 characters (7:00) and the length column next to it to work out if their would be a conflict. Would you be able to help?

+ 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. Roster calculation of hours formulas
    By MIGHTYJ4CK in forum Excel General
    Replies: 3
    Last Post: 09-21-2015, 12:06 AM
  2. How to create automated rotation based roster for students
    By sriharsha4 in forum Excel General
    Replies: 2
    Last Post: 08-26-2015, 01:35 AM
  3. automated rotation based roster for students
    By sriharsha4 in forum Excel General
    Replies: 1
    Last Post: 08-26-2015, 01:00 AM
  4. creating a shift roster, need to add hours
    By MissLink in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-25-2013, 09:42 AM
  5. [SOLVED] Highlighting Cells - In an automated fashion?
    By apalifer in forum Excel General
    Replies: 2
    Last Post: 01-02-2013, 01:24 PM
  6. Replies: 8
    Last Post: 03-19-2009, 11:01 PM
  7. A Automated Line Shift Roster
    By Deniroaus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-25-2008, 08:27 PM

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