+ Reply to Thread
Results 1 to 3 of 3

Exclude weekends in a Gantt chart

  1. #1
    Registered User
    Join Date
    08-15-2016
    Location
    Minneapolis
    MS-Off Ver
    2007
    Posts
    11

    Exclude weekends in a Gantt chart

    I am editing a Gantt chart created by someone else, and everything works fine, except that the day ranges span over weekends, which makes it unusable. I recall having used the Workday formula in the past, but I don't see how I can use it here.

    I am using conditional formatting to show risk levels (by color), and then plotting those color bars for each day. This works fine, but as you can see, the weekends are included. The cells are using a rather complicated formula, so I don't know where I would add the WORKDAY.

    Thanks.
    Attached Images Attached Images

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Exclude weekends in a Gantt chart

    It is not shown in your picture, but how do you generate the dates which would appear from your formula to be in row 5 ? If the date in a cell is just 1 added onto the previous date, then you can change this to check if the previous date was a Friday, and if so then add 3 on rather than 1, along the lines of (in J5):

    =I5+IF(WEEKDAY(I5,2)=5,3,1)

    then copy this across. This assumes that I5 contains the first of the month (or starting date).

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-15-2016
    Location
    Minneapolis
    MS-Off Ver
    2007
    Posts
    11

    Re: Exclude weekends in a Gantt chart

    Thanks Pete. I think I understand what you are saying and I will try it.

+ 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] Remove weekends from a gantt chart
    By JNEWMAN in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-07-2019, 09:19 AM
  2. Removing weekends from Gantt Chart
    By jhamm2018 in forum Excel General
    Replies: 11
    Last Post: 06-12-2019, 11:41 PM
  3. [SOLVED] Gantt conditional formatting to exclude weekends?
    By rarerollingobject in forum Excel General
    Replies: 12
    Last Post: 02-01-2019, 04:17 PM
  4. [SOLVED] Highlight weekends in a stacked bar (Gantt) chart (Excel 2007)
    By dacheeba in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-07-2018, 12:53 AM
  5. Gantt Chart showing weekends
    By croix22 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 07-25-2017, 04:34 PM
  6. Exclude weekends in chart
    By gnoke in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-18-2010, 08:03 AM
  7. Shading weekends in Gantt chart bars
    By neobavesten in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-01-2010, 07:34 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