+ Reply to Thread
Results 1 to 3 of 3

Work Schedule Rotation Gantt Chart Help - Conditional Formatting

  1. #1
    Registered User
    Join Date
    09-18-2015
    Location
    Alaska
    MS-Off Ver
    2013
    Posts
    1

    Work Schedule Rotation Gantt Chart Help - Conditional Formatting

    I'm working on a work Schedule Rotation for our crews. Each employee can work a certain amount of days and get time off.

    A little about the spreadsheet. One of my coworkers showed me this spreadsheet for a gannt that I modified by adding "repeating tasks".
    Column C represents the type of employee which changes the bar color. There are 2 options (limited by the Data Validation) "J":Red and "A":Blue.
    Column D represents where the bars will start.
    Column E represents how long each bar should be (Days working).
    Column F represents how many days they get off.

    Right now I've got a conditional format for every set of colored bars (total around 30) but eventually I want to simply this to one with variable range (see below).

    As of now I'm using the conditional formating formula:
    =AND($D8+(n-1)*$E8+(n-1)*$F8<H$4,$D8+(n)*$E8+(n-1)*$F8-1>=G$4,$C8="A")

    Where n represents which bar number.

    I got the chart to work (but I'd like to simplify it in the future), but now I need to be able see my man power for each of the days: I need to be able to either count the red and blue lines per day. Or if there could be a countif formula that could count the values (days employee working) from columns: C,D,E,F with the above formula with the variable "n" that varied from a set range. See attached file for details.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Work Schedule Rotation Gantt Chart Help - Conditional Formatting

    Eeh... not done yet.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Work Schedule Rotation Gantt Chart Help - Conditional Formatting

    First I did everything except what I was supposed to do. Version 2 here. Formulas have been moved from CF to cells, only simple formulas in CF now. Two versions, one good old and one using the Excel Table feature. I think I mixed up the letter-color thing or it was inconsistent in the original file (the two J and A cells at the top).

    Check out the difference in file size of this file and the original workbook. The lesson to be learned is: Don't copy formulas and especially not CF down a thousand rows extra! CF will recalculate at any change making the computer feel sluggish.
    Attached Files Attached Files
    Last edited by Jacc; 09-20-2015 at 09:51 AM.

+ 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] Conditional Formatting w/ Gantt Chart
    By ormont02 in forum Excel General
    Replies: 10
    Last Post: 02-24-2019, 11:55 PM
  2. Gantt Chart Conditional Formatting
    By tbrozovich in forum Excel General
    Replies: 6
    Last Post: 06-25-2015, 02:23 PM
  3. Conditional formatting to measure actual vs planned Gantt chart
    By arnab0711 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-19-2015, 04:19 PM
  4. Work Rotation schedule
    By schaubers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2013, 01:14 PM
  5. Gantt Chart with conditional formatting
    By douglasdale in forum Excel General
    Replies: 2
    Last Post: 06-28-2010, 11:24 AM
  6. Conditional formatting gantt chart help needed
    By kelly3000 in forum Excel General
    Replies: 2
    Last Post: 01-05-2010, 08:00 AM
  7. [SOLVED] Gantt Chart in Excel. Do I need conditional formatting?
    By Shan in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-15-2005, 09:10 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