How to Use Excel WORKDAY Function (Examples + Video)

Excel WORKDAY Function (Examples + Video)

EXCEL WORKDAY FUNCTION

When to use Excel WORKDAY Function

Excel WORKDAY function can be used when you want to get the date after a given number of working days. For example, if I start a project today and it will take 20 working days to complete it, then I can use the WORKDAY function to get the completion date. This function is best suited when you want to calculate the invoice due date, project due date, delivery date, etc.

This function, by default, takes Saturday and Sunday as the weekend. If you would like to use days other than Saturday and Sunday as the weekend, use Excel WORKDAY.INTL function.

What it Returns

It returns the serial number of the date that is after or before the specified number of working days (from the specified start date).

Syntax

=WORKDAY(start_date, days, [holidays])

Input Arguments

  • start_date – a date value that represents the start date.
  • days – the total number of working days. These exclude weekend (Saturday and Sunday). You can use a positive or a negative value here. A positive value calculates the date which is after the start date, and negative value calculates the date before the start date.
  • [holidays] – (Optional) It is a range of dates that are excluded from the calculations. For example, these could be national/public holidays. It could be a reference to a range of cells that contains the dates, or could be an array of serial numbers that represent the dates.

Additional Notes

  • Saturday and Sunday are considered as the weekend and are not counted.
    • In case the weekends are days other than Saturday and Sunday, use WORKDAYS.INTL function.
  • A date can be entered as:
    • A result from some other function.
    • A date stored as text.
    • A date entered as text (in double quotes).

Excel WORKDAY Function – Examples

Here are the examples of using the Excel Workday function.

#1 Getting the Completion Date after Specified Number of Working Days

Excel Workday function would return the completion date when you specify the start date and the number of working day. It automatically excludes Saturday and Sunday as weekend (non-working days).

Excel Workday Function - Example 1

In the above example, the start date is 28 Feb 2016, and the result is 15 July 2016, which is after 100 working days (excluding Saturdays and Sundays).

#2 Getting the Completion Date after Specified Number of Working Days (excluding Holidays)

If you want to exclude holidays while calculating the completion date, there is a third argument in the Workday function that lets you specify a list of holidays.

Excel Workday Function - Example 2

In the above example, the start date is 28 Feb 2016, and the result is 20 July 2016, which is after 100 working days. The calculation excludes weekends (Saturdays and Sundays) and the specified holidays in C3:C5. In case, a holiday occurs on a weekend, it is counted only once.

Excel WORKDAY Function – Video Tutorial

Related Excel Functions:

  • Excel DATE Function: Excel DATE function can be used when you want to get the date value using the year, month and, day values as the input arguments. It returns a serial number that represents a specific date in Excel.
  • Excel DATEVALUE Function: Excel DATEVALUE function is best suited for situations when a date is stored as text. This function converts the date from text format to a serial number that Excel recognizes as a date.
  • Excel NETWORKDAYS Function: Excel NETWORKDAYS function can be used when you want to get the number of working days between two given dates. It does not count the weekends between the specified dates (by default the weekend is Saturday and Sunday). It can also exclude any specified holidays.
  • Excel NETWORKDAYS.INTL Function: Excel NETWORKDAYS.INTL function can be used when you want to get the number of working days between two given dates. It does not count the weekends and holidays, both of which can be specified by the user. It also enables you to specify the weekend (for example, you can specify Friday and Saturday as the weekend, or only Sunday as the weekend).
  • Excel Today Function: Excel TODAY function can be used to get the current date. It returns a serial number that represents the current date.
  • Excel WEEKDAY Function: Excel WEEKDAY function can be used to get the day of the week as a number for the specified date. It returns a number between 1 and 7 that represents the corresponding day of the week.
  • Excel WORKDAY.INTL Function: Excel WORKDAY.INTL function can be used when you want to get the date after a given number of working days. In this function, you can specify the weekend to be days other than Saturday and Sunday.
  • Excel DATEDIF Function: Excel DATEDIF function can be used when you want to calculate the number of years, months, or days between the two specified dates. A good example would be calculating the age.

You May Also Like the Following Excel Tutorials:

>