Microsoft Excel WORKDAY Function use-cases

How to use Microsoft Excel WORKDAY Function

Applies to Microsoft Office 2007, 2010 and 2016

This post describes the formula syntax and usage of the WORKDAY function in Microsoft Excel

What it Does:

The WORKDAY Functions returns a number that represents a date that is the next work day after a date (the start date).
Working days exclude weekends and any dates identified as holidays (depending on country).

Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, expected delivery times or number of working days between two dates.

Syntax:

WORKDAY (start_date, days, [Holidays])

The WORKDAY function syntax has the following arguments:

  • Start_date    Required. A date that represents the start date.
  • Days    Required. The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a future date; a negative value yields a past date.
  • Holidays    Optional. An optional list of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of cells that contain the dates or an array constant of the serial numbers that represent the dates.

Example

Suppose you have a set of delivery items to be delivered to various points. Each point takes a specific number of days. Delivery is done only between Monday and Friday. You would like to calculate the delivery date (which is a weekday) for these deliveries.

Download the Excel File here WORKDAY Function

Calculate next workday when there are no holidays between dates

Where we have holidays, you can list the holidays in a list.

Remarks

  • Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.
  • If any argument is not a valid date, WORKDAY returns the #VALUE! error value.
  • If start_date plus days yields an invalid date, WORKDAY returns the #NUM! error value.
  • If days is not an integer, it is truncated.

Download the full notes here in PDF How to use the WORKDAY Function in Microsoft Excel