+ Reply to Thread
Results 1 to 2 of 2

Employee daily schedule Gantt chart

  1. #1
    Registered User
    Join Date
    04-13-2016
    Location
    Annapolis MD
    MS-Off Ver
    Office 2013
    Posts
    5

    Employee daily schedule Gantt chart

    I am trying to generate a visual Bar Chart representation of work schedule coverage by hours. On the attached example I have an overall composite work schedule tab.....then individual tabs for everyday of the week. What I would like to be able to do is plug in the hrs on the individual Day tabs and have a bar automatically generated that highlights those times. Once I have all employee hrs inserted with the corresponding bars generated, it will be easier to visually see, by day, where my holes are or where coverage is heavy or light. Start time is always started on the day indicated although the end time may be on the following day. The bars must be accurate to the day. (ie a 10PM start on Mon with 8 hrs duration will generate a 2 hr bar from 10PM on Mon but then reflect the remaining 6 hrs....midnight to 6AM in a bar on the Tues tab. Please see attached rough example. Is there any easy way to do this? Feel free to change may attachment in anyway that makes it work. Thanks very much in advance for your help!!!

    Rich
    Attached Files Attached Files

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

    Re: Employee daily schedule Gantt chart

    This proposed solution employs helper columns which may be moved and/or hidden for aesthetic purposes.
    On the 'Mon' sheet the helper column is AE which is populated using the formula: =D5<C5
    The conditional formatting rule for the 'Mon' sheet, which is only applied to rows 5 and 6 so far, is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Also added to the 'Mon' sheet is a formula to populate column E: =(D5+(D5<C5)-C5)*24
    On both the 'Mon' and 'Tues' sheets times in the 'In' and 'Out' columns have been input as actual time formatted h:mm AM/PM
    Likewise times in row 3 have been input as actual times formatted h AM/PM
    On the 'Tues' sheet one helper column is C which is populated using the formula: =IF(Mon!AE5=TRUE,Mon!D5,"")
    Column AF on the 'Tues' sheet is populated using: =E5<D5
    There are two conditional formatting rules for the 'Tues' sheet.
    The first is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The second is: =IF($C5<>"",H$3<=$C5)
    Also added to the 'Tues' sheet is a formula to populate column F: =(E5+(E5<D5)-D5)*24
    Formulas will need to be copied down each sheet and the range for the conditional formatting rules will need to be expanded.
    The sheets for the rest of the week will need to be set up like the 'Tues' sheet.
    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. Dynamic in cell Daily/Hourly Gantt Chart
    By sorensjp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2017, 07:24 AM
  2. Adding Hours Worked on Employee Schedule based on varying daily criteria
    By CGF2704 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2016, 11:19 AM
  3. Gantt chart with daily repeated tasks spanning midnight
    By Driz79 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-25-2016, 03:21 PM
  4. Work Schedule Rotation Gantt Chart Help - Conditional Formatting
    By vshen116 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2015, 09:45 AM
  5. Gantt/schedule chart with single series
    By DAVID MACKLE in forum Excel General
    Replies: 1
    Last Post: 09-23-2011, 12:59 PM
  6. vacation schedule gantt chart
    By bugoy in forum Excel General
    Replies: 2
    Last Post: 06-08-2010, 11:19 AM
  7. Payment Schedule Using Gantt Chart
    By mohagany19 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-06-2008, 05:36 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