The last few weeks have been really hectic for me at work. Weekdays are crazy and the weekends are never enough.
Early this week, I was going through our annual holiday calendar to check for the next holiday, and plan a vacation if possible.
And that gave me the idea for this Excel holiday calendar template.
In this tutorial, I will show you how to calculate the date of a given holiday (such as Labor Day).
And you can also get an awesome Excel holiday list template (free download) at the end of this blog.
Formula to Calculate Holidays in Excel (Labor Day)
Here is the formula to get the date for Labor Day in 2020 (which is the 1st Monday in September)
It returns the date as 07 September 2020, which is the date of labor day in 2020.
This formula can easily be tweaked to get the date of holidays that fall on a given weekday of the month (such as President’s Day or Memorial Day).
How the Formula Works
Since we know that Labor day is the 1st Monday of September, we start with the first of September 2020.
The following formula would give us the serial number of September 1, 2020:
Now we need to check whether the first day of September is a Monday or not. We do this using the following condition in the IF function:
WEEKDAY function gives a number based on what day of the week it is. Since I have used 2 as the second argument, it would return 1 for Monday, 2 for Tuesday, 3 for Wednesday and so on.
If 1st day of September is not a Monday, the above IF condition would be TRUE and it would return the value given by the following part of the formula:
The above part simply subtracts the weekday number from 7 and adds 1, hence giving us the value that we should add to September 1, 2020, to get the first Monday.
And in case September 1, 2020, is a Monday, the following formula makes sure that the result of IF function is 0:
Below is an infographic that shows the same explanation (created using 2014 instead of 2020).
On similar lines, if you need to calculate other holidays. For example, the Presidents’ Day, that is held on the third Monday in February, can be calculated using the below formula:
In the above formula, B2 refers to the year value.
BONUS EXCEL HOLIDAY CALENDAR TEMPLATE
Here is a FREE Excel Holiday Calendar template that gives you:
- The list of holidays (in the selected year).
- The number of days to go for the next holiday (number in the blue box). This works only for the current year.
- The number of days to go for the next long weekend (number in the gray box). This works only for the current year.
All you need to do is select the year from the drop-down and it will automatically show you the list of holidays in the selected year.
I have created this for the holidays in the US, as it occurs on fixed dates or days in a month.
In India (where I live), many holidays depend on the position of the moon (and many other factors), and hence it’s difficult to come up with such a holiday template.
If you’re interested in learning how this holiday calendar template is created, you can unhide columns H-J in the template sheet and see the formulas. You can also unhide Sheet1 where I have kept data used for the year drop-down.
You May Also Like the Following Excel Templates/Articles: