Share via

Excel day off calculation

Anonymous
2019-06-13T17:27:45+00:00

Hello

Can you please help me find a resource to calculate in excel the "yellow" days on the following website:   I want to calculate the days off in 2020 and 2021.  Thank you

Here is the website showing "yellow" days off:

https://www.nalcbranch908.com/2019cal.html

There is a pattern to it, but I am having trouble making the calculation in excel.  Here is the basic pattern:

Every Sunday is a day off

Every week there is another day off, but it rotates each week.  On a week where the day off is friday, Saturday is also given so that it makes a 3 day weekend. 

I am following the yellow color for days off on the calendar

I am trying to project my days off a year or two in advance so I can plan vacations/holidays. 

Thank you.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2019-06-16T05:56:21+00:00

    This is much closer but still a bit off. 

    I've posted the wrong formula in B2, sorry:

    B2:  =IF(WEEKDAY(A2)=6,A2+1,"")

    Andreas.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-06-15T21:09:06+00:00

    Hello

    Thank you for the help.  This is much closer but still a bit off.   I included the next several weeks as an example below.  If you have any ideas it is greatly appreciated.

    The actual days off have a quirk in that when it falls on Friday, they also give Saturday and then skip the next week (So no days off between the next 2 Sundays).  (This makes for a 3 day weekend every once in a while).  For instance, the days off are as follows:

    Tuesday, July 2, 2019
    Sunday, July 7, 2019
    Wednesday, July 10, 2019
    Sunday, July 14, 2019
    Thursday, July 18, 2019
    Sunday, July 21, 2019
    Friday, July 26, 2019
    Saturday, July 27, 2019
    Sunday, July 28, 2019
    Sunday, August 4, 2019
    Monday, August 5, 2019
    Sunday, August 11, 2019
    Tuesday, August 13, 2019
    Sunday, August 18, 2019

    Was this answer helpful?

    0 comments No comments
  3. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2019-06-15T12:59:52+00:00

    A1:  Regular Days

    A2:  7/1/2019

    A3:  =A2+8+IF(B2<>"",2)

    B1:  Sundays

    B2:  =IF(WEEKDAY(A2)=6,A2,"")

    and drag down

    Andreas.

    Was this answer helpful?

    0 comments No comments