+ Reply to Thread
Results 1 to 5 of 5

Excel Gantt Chart View with week based timeline

  1. #1
    Registered User
    Join Date
    11-22-2011
    Location
    Noida
    MS-Off Ver
    Microsoft 365 MSO (16.0.13......) 32 bit
    Posts
    40

    Excel Gantt Chart View with week based timeline

    Hi Experts,

    I have few Activities/Tasks, with a start and end date. I am trying to show these activities in excel in a Gantt view so as to plan it better.
    If I change the Start or End date of Activity, the view is updated dynamically.
    In attached excel file, you will find two tabs - 'Day wise schedule' and 'Weekly Schedule'.
    Day wise schedule is not a perfect view as it required too many columns and scrolling. So, I want to reduce this to weekly timeline.
    My query is regarding Weekly Schedule tab where I am trying to transform 'Day Wise schedule' to 'Weekly Schedule'.
    Instead of dates on timeline, I just wish to recreate this weekly timeline view.
    Note that in the table we have date/weeks from Nov 2020 to Dec 2021.

    Problem: In day wise schedule, I was comparing the time line date with Activity start and End date and then custom formatting to color the cell meaning activity is blocking that day.
    However, in Weekly Schedule, I am not able to compare weeks when it is coming from different year e.g. week 49, 2020 need to be compared with week 10, 2021. But when I am comparing weeks the results will show 49>10.

    I have done some work in Weekly schedule tab with weeks and year on timeline and also week start date and week end date is available on timeline.
    But I am not able to create formula to compare timeline weeks with Activity start week and end week in combination respective year.
    So, I just need one formula to compare timeline (week, year) with Activity start and end week range in cells starting from L5.


    Regards,
    Gaurav
    Attached Files Attached Files

  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: Excel Gantt Chart View with week based timeline

    If you use the WEEKNUM function, then this will be reset for each year, and as you have found this means that a start date in one year and an end date in another year will cause you problems.

    It might be better to generate your own week numbers, and base this on consecutive numbers which are relative to the earliest start date, i.e. find the earliest start date and then subtract this from all other dates and divide the result by 7 to give the number of weeks from that original start date.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-22-2011
    Location
    Noida
    MS-Off Ver
    Microsoft 365 MSO (16.0.13......) 32 bit
    Posts
    40

    Re: Excel Gantt Chart View with week based timeline

    Hi Pete,

    But this solution will not give me information on Calendar week. I would like to have calendar weeks in the chart.
    Would it be possible to build a formula to compare weeks in combination of year ?

  4. #4
    Registered User
    Join Date
    11-22-2011
    Location
    Noida
    MS-Off Ver
    Microsoft 365 MSO (16.0.13......) 32 bit
    Posts
    40

    Re: Excel Gantt Chart View with week based timeline

    Hi,

    Sorry I replied without trying your solution.
    Now I got what you mean and I believe this will solve the issue.
    You are genius !!

  5. #5
    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: Excel Gantt Chart View with week based timeline

    I've modified your file to reflect what I have in mind. The formula in L1 gives the Sunday of the week in which the earliest start date occurs (assuming this to be in E5), but you can just +1 at the end if you want the weekly dates to start on a Monday.

    I've also changed the formulae in column H and Column J to give you the relatively week numbers.

    Hope this helps.

    Pete

    P.S. Thanks for marking the thread as Solved - you might also like to click on the Add Reputation button to show your appreciation.
    Attached Files Attached Files

+ 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] Timeline Gantt chart - Chart bars are in reverse order
    By gan_xl in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-20-2019, 01:02 PM
  2. [SOLVED] Need a Timeline on my X axis for a Gantt chart
    By noboffinme in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 11-02-2018, 11:24 PM
  3. [SOLVED] Have the ability to view a daily Gantt chart as a monthly gantt chart
    By adam_d_john in forum Excel General
    Replies: 3
    Last Post: 03-13-2018, 09:11 PM
  4. Gantt chart template based on hours for a week
    By dips_007 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-02-2017, 05:58 PM
  5. Excel Gantt chart to Calendar view
    By kriminaal in forum Excel General
    Replies: 1
    Last Post: 01-26-2017, 03:11 PM
  6. A Dynamic Timeline Gantt Chart
    By Uttam123 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-15-2013, 02:09 AM
  7. Excel Autofill/Timeline/Gantt Chart
    By Rivendair in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2011, 09:43 PM

Tags for this Thread

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