Formualizer Docs
ReferenceFunctionsDate & Time Functions

WORKDAY.INTL

WORKDAY.INTL: Returns the date serial that is a given number of workdays from a start date, with configurable weekends.

Summary

Returns the date serial that is a given number of workdays from a start date, with configurable weekends.

Remarks

  • Positive days moves forward; negative days moves backward.
  • The weekend argument can be a number code (1-7, 11-17) or a 7-character string of 0s and 1s (Mon-Sun, 1 = weekend day). Default is 1 (Sat/Sun).
  • The optional holidays argument accepts a range or array of date serials to exclude.
  • A weekend string of all 1s (no workdays) returns #VALUE!.

Examples

Default weekends (same as WORKDAY)
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
45306
Sunday-only weekend
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
45302
Custom weekend string
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
45299

FAQ

What is the difference between WORKDAY and WORKDAY.INTL?

WORKDAY.INTL adds a weekend parameter that lets you define which days are non-working, instead of always using Saturday/Sunday.

Runtime metadata

Category

Date & Time

Signature

WORKDAY.INTL(arg1: Number, arg2: Number, arg3: Any, arg4…: Any)

Arity

min 2, max variadic

Arguments

arg1

Number · Scalar · coercion NumberLenientText

arg2

Number · Scalar · coercion NumberLenientText

arg3

Any · Scalar

arg4

Any · Scalar

Caps

PURE

Source

On this page