+ Reply to Thread
Results 1 to 5 of 5

Shading weekends in Gantt chart bars

  1. #1
    Registered User
    Join Date
    10-15-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Shading weekends in Gantt chart bars

    Hi,

    I have been searching forum over and over but could not find solution to my problem. Please find attached Gantt chart that I want to finalize. I would like to shade weekends in different color in Gantt bars using conditional formatting. I guess other condition need to be applied, I have tried over and over but nothing seems to work.

    I would appreciate if someone could advise.

    In addition I am not sure whether bars (light green) are shifted properly in order to skip the weekend. Problem seems to appear when duration of the task is short (2 days or less). Please advice?

    Many thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Shading weekends in Gantt chart bars

    Use Conditional Formatting & the WeekDay Function
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    10-15-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Shading weekends in Gantt chart bars

    I am already using it in order to share working days. I don't know how to shade weekends. I am missing something. Any help?

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Shading weekends in Gantt chart bars

    Add another condition and check for WEEKDAY(cell,2)>5, that will check for weekend.

  5. #5
    Registered User
    Join Date
    10-15-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Shading weekends in Gantt chart bars

    I am aware of your solution, it is the easiest option however it shades whole area (columns in this case) where the conditional fomratting is applied. I would like to shade only weekend days in time bars. I hope this explains my problem better.
    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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