Forum Discussion

Seko_sonogo's avatar
Seko_sonogo
Copper Contributor
Feb 21, 2023

date timeline from start & end dates in excel

In this sheet, I would like to have a date timeline generated from 6 inputs:

 

1- start date ( where timeline should starts )

2- end date ( where timeline should ends )

3- data presenting type (days, weeks or months)

4- weekend type to be excluded from timeline ( Friday & Saturday, Saturday & Sunday or No Days off)

5- weekend days that would be included in timeline ( due to overtime for example )

6- vacations should be excluded from timeline ( if same date is in vacation table & weekend days to include in timeline table, dates should be included in timeline.

 

I tried achieving this through "if" function, but I couldn't, it goes messy! I only succeed in generating days timeline as shown in the image! is it possible to achieve that in excel 2016?

  • peiyezhu's avatar
    peiyezhu
    Bronze Contributor
    I guess need to prepare a long list of whole 365 days of one year and then filter on this list.
  • Seko_sonogo 

    Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?

     

    And what do you want to do with the data presenting type (days, weeks or months)?

Resources