+ Reply to Thread
Results 1 to 12 of 12

Removing weekends from Gantt Chart

  1. #1
    Registered User
    Join Date
    01-08-2018
    Location
    Minneapolis, MN
    MS-Off Ver
    Office 365
    Posts
    13

    Removing weekends from Gantt Chart

    Good afternoon,


    I am looking to remove Weekends from a Gantt chart I have built. I want to have the lead times reflect work days and filter out weekends below is currently what I have for my spreadsheet. I have it to where I input the launch date in E7. Then it automatically counts back based on lead times. Would like to find a solution to where I don't have to rebuild the spreadsheet. I am fairly new in working deeper into Excel and would love to learn more.

    Gantt Chart.JPG



    Below are the conditional formatting I also have for the Gantt chart. Is it possible to exclude weekends from this also?

    Conditional formating 2.JPGConditional formating 1.JPG


    Thank you,
    James

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,040

    Re: Removing weekends from Gantt Chart

    An image attachment has very little value. Just attach the Excel file. It's easier than taking a screenshot first and then attaching that.

    It will be much easier to understand your problem if you provide your file. This allows us to see and experiment with your data, layout, formulas, code, and possibly attach a file with a completed solution. If you are looking for formulas to produce a desired result, it helps if you create a mock-up of what you want the result to look like. Otherwise we would have to build something from scratch, trying to guess what you want it to look like.

    The paper clip icon does not work for attachments. Instead, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    01-08-2018
    Location
    Minneapolis, MN
    MS-Off Ver
    Office 365
    Posts
    13

    Re: Removing weekends from Gantt Chart

    Thank you for the response. Hopefully i have attached the file correctly.

    I am not sure how I would like the formulas to look as I am getting stuck understanding how to get the formula to work to use the dates I have selected, and to remove Weekends. Not sure if this is even possible within Excel.

    Would like the Lead Time to reflect actual work days and not total days (as it exists now). Would also like the Start Date and Due Date to reflect work days based on the lead time that is entered. Looking to create a spreadsheet that is easy to use and update for people who are not as familiar with Excel and it's inner workings (myself included).

    Thanks again!
    Attached Files Attached Files

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,040

    Re: Removing weekends from Gantt Chart

    It looks like your whole method is to work backwards from an end date. Usually scheduling is done forward, but we can work with this.

    You are calculating the start date by subtracting the lead time from the end date. To consider only working days in determining the start date, use this in I14 and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The +1 is to include both the first and last days of the range as full work days.

    I'm not sure why you have both "Lead Time" and "# of Work Days" because the way you are calculating them they will always be the same. I would just delete "# of work days" but for completeness, the correct formula for # of work days is

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Your list of dates starting in column P could also be adjusted to show only weekdays but you didn't mention that above.

    In addition to ignoring weekends, you can also easily ignore holidays (both WORKDAY and NETWORKDAYS directly support this) but you would need to provide a list of holidays somewhere in your file.

  5. #5
    Registered User
    Join Date
    01-08-2018
    Location
    Minneapolis, MN
    MS-Off Ver
    Office 365
    Posts
    13

    Re: Removing weekends from Gantt Chart

    I truly appreciate the help. This was exactly what I needed. Primary using this tool at the beginning stages of launching a project. So that if a Project Lead wants to launch on a given day, they know when the project would need to start based on lead times. From this information I think I understand the formula to be able to use to to track scheduling going forward from the start date.

    Also thank you for the suggestion on removing the "# work days". I thought this was needed for the conditional formatting I had set. But was redundant information on the spreadsheet.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,040

    Re: Removing weekends from Gantt Chart

    If you want to go forward from a start date, the first end date will be calculated with WORKDAY using the start date and lead time. Then I guess the next start date will be the previous end date, and so forth. Feel free to post follow-up questions in this thread.

  7. #7
    Registered User
    Join Date
    05-23-2007
    Posts
    10

    Re: Removing weekends from Gantt Chart

    Having a look at this tread - can you pleas help? I have a similar issue. I downloaded the XL Gantt Chart but would like to remove or highlight weekends for proper planning.

    Attached file in question
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,098

    Re: Removing weekends from Gantt Chart

    Administrative Note:

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original. Please start a new thread - See Forum rule #4

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  9. #9
    Registered User
    Join Date
    05-08-2019
    Location
    Seattle
    MS-Off Ver
    10
    Posts
    1

    Re: Removing weekends from Gantt Chart

    Did you find a solution for this? I'm having the same issue.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Removing weekends from Gantt Chart

    Quote Originally Posted by vlosier View Post
    Did you find a solution for this? I'm having the same issue.
    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original. Please start a new thread - See Forum rule #4

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  11. #11
    Registered User
    Join Date
    09-14-2012
    Location
    Louisiana
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Removing weekends from Gantt Chart

    Quote Originally Posted by FDibbins View Post
    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original. Please start a new thread - See Forum rule #4

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Sorry, I was trying to help and solve drinu and vlosier issue

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Removing weekends from Gantt Chart

    Quote Originally Posted by kpromero View Post
    Sorry, I was trying to help and solve drinu and vlosier issue
    You are not at fault here, apologies if it came across that way. The forum has a rule against a member asking a question on another member's thread - this is what vlosier did, and I have brought that rule to their attention. This is called hijacking.

    If a member has their post moderated because they hijacked, then it stands to reason that any follow-up threads to that hijacking will also be moderated. Once theyu start their own thread, Im sure your suggestion will prove most valuable to them there

+ 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] Gantt conditional formatting to exclude weekends?
    By rarerollingobject in forum Excel General
    Replies: 12
    Last Post: 02-01-2019, 04:17 PM
  2. [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
  3. Gantt Chart showing weekends
    By croix22 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 07-25-2017, 04:34 PM
  4. Replies: 5
    Last Post: 10-04-2012, 07:01 AM
  5. Replies: 0
    Last Post: 07-13-2012, 06:40 PM
  6. Shading weekends in Gantt chart bars
    By neobavesten in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-01-2010, 07:34 AM
  7. [SOLVED] removing weekends
    By Dean in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-21-2006, 04:15 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