Note that WORKDAY willautomaticallyexclude Saturdays and Sundays but will only exclude holidays if they are provided.

The goal is to calculate a date that is 5 working days after July 1, 2024.

Remember that holidays must be valid Excel dates.

Basic WORKDAY function example

The name of the holiday makes no difference.

Of course, in real life, you will not hardcode dates directly into formulas.

You will instead refer to dates on the worksheet with cell references.

Basic WORKDAY function example

Notice that WORKDAY automatically excludes Saturdays, Sundays, and overlapping holidays in the calculated result.

The second formula (G6) excludes weekendsandholidays and returns January 2, 2025.

The shading and highlighting is applied withconditional formatting.

Basic WORKDAY function example

For a full explanation with details,see this page.

Example - is this date a workday?

One problem you might run into is how to test a date to determine whether it is a workday.

Basic WORKDAY function example

you’re free to use WORKDAY for this task, but the formula is not immediately obvious.

it’s possible for you to see this approach in the worksheet below.

Custom Weekends

By default, WORKDAY will exclude weekends (Saturday and Sunday).

Basic WORKDAY function example

If you should probably customize which days of the week are considered weekend days, use the more robustWORKDAY.INTLfunction.

WORKDAY.INTL can be configured to treat any day of the week as a working or non-working day.

NETWORKDAYS automatically excludes weekends (Saturday and Sunday) and canoptionallyexclude a list of holidays supplied as dates.

WORKDAY function worksheet example

NETWORKDAYS.INTL Function

The Excel NETWORKDAYS.INTL function calculates the number of working days between two dates.

WORKDAY function visualized example

WORKDAY function - is this date a workday?

Excel formula: Next working day

Excel formula: Get project start date

Excel formula: Add business days to date

Excel formula: Get project midpoint

Excel formula: Semimonthly pay schedule

Excel formula: Date is workday

Excel formula: Next business day 6 months in future

Excel formula: Add workdays to date custom workweek

Excel formula: Biweekly pay schedule

Excel formula: Add days to date

Excel formula: Due date by category

Excel formula: Get project end date

Excel formula: Random date between two dates

Excel formula: Previous working day

Article image

Article image

Excel WORKDAY.INTL function

Excel NETWORKDAYS function

Excel NETWORKDAYS.INTL function

Basic WORKDAY function example

WORKDAY function worksheet example

WORKDAY function visualized example

WORKDAY function - is this date a workday?