=WORKDAY(start_date, days, [holidays])
=WORKDAY("1-Jan-2021",1,F5:F13)
The WORKDAY function can be used to calculate the date after a certain number of working days, excluding holidays and weekends. For example, this returns 4-Jan-2021 because January 1 is a holiday and Saturdays and Sundays are also excluded.
=WORKDAY("31-Dec-2020",-1,F5:F13)
The WORKDAY function can also be used to calculate the date before a certain number of working days. For example, this returns 30-Dec-2020 because December 31 is a holiday and Saturdays and Sundays are also excluded.
=WORKDAY("1-Jan-2021",5,F5:F13)
The WORKDAY function can be used to calculate the date after a certain number of working days while skipping multiple holidays at once. For example, this returns 8-Jan-2021 because January 1 and 2 are holidays and Saturdays and Sundays are also excluded.
=WORKDAY("31-Dec-2020",-5,F5:F13)
The WORKDAY function can also be used to calculate the date before a certain number of working days while skipping multiple holidays at once. For example, this returns 24-Dec-2020 because December 31, 29, and 28 are holidays and Saturdays and Sundays are also excluded.
The WORKDAY function is used to calculate a date from a formula, returning a number representing the date that is either before or after a specified number of working days, with parameters to indicate which days are weekend days.