Date & Time
Excel 2010
◉ 8 views
=WORKDAY.INTL()
string values are seven characters long. Each character in the string represents a day of the week, starting with Monday. The character 1 represents a non-workday and 0 represents a workday. Only the characters 1 and 0 are permitted in the string. Also, 1111111 is an invalid string.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016Excel Web App
=WORKDAY.INTL(start_date, days, [weekend], [holidays])
Hover argument names in the table for details.
Output typeDate
Popularity50 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =WORKDAY.INTL() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
start_date |
Date | Required | The start date, truncated to integer. |
days |
Number | Required | The number of workdays before or after the start_date. A positive value yields a future date; a negative value yields a past date; a zero value yields the already specified start_date. Day-offset is truncated to an integer. |
weekend |
Number | Optional | If used, this indicates the days of the week that are weekend days and are not considered working days. The weekend argument is a weekend number or string that specifies when weekends occur. The 1 (or omitted) = Saturday, Sunday; 2 = Sunday, Monday; 3 = Monday, Tuesday; 4 = Tuesday, Wednesday; 5 = Wednesday, Thursday; 6 = Thursday, Friday; 7 = Friday, Saturday; 11 = Sunday only; 12 = Monday only; 13 = Tuesday only; 14 = Wednesday only; 15 = Thursday only; 16 = Friday only; 17 = Saturday only. |
holidays |
Date | Optional | This is an optional argument at the end of the syntax. It specifies an optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of cells that contain the dates -- or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary. |
▣ Examples
Using a 0 for the Weekend argument results in a #NUM! error.
=WORKDAY.INTL(DATE(2012,1,1),30,0)
Result:
#NUM!
Finds the date 90 workdays from 1/1/2012, counting only Sundays as a weekend day (Weekend argument is 11).
=WORKDAY.INTL(DATE(2012,1,1),90,11)
Result:
41013
Uses the TEXT function to format the resulting serial number (40944) in a "m/dd/yyyy" format. Finds the date 30 workdays from 1/1/2012, counting only Saturdays as a weekend day (Weekend argument is 17).
=TEXT(WORKDAY.INTL(DATE(2012,1,1),30,17),"m/dd/yyyy")
Result:
2/05/2012
§ Remarks
- If start_date is out of range for the current date base value, WORKDAY.INTL returns the #NUM! error value.
- If any date in holidays is out of range for the current date base value, WORKDAY.INTL returns the #NUM! error value.
- If start_date plus day-offset yields an invalid date, WORKDAY.INTL returns the #NUM! error value.
- If a weekend string is of invalid length or contains invalid characters, WORKDAY.INTL returns the #VALUE! error value.
⚠ Common Errors
#NUM!
If start_date is out of range for the current date base value, WORKDAY.INTL returns the #NUM! error value. If any date in holidays is out of range for the current date base value, WORKDAY.INTL returns the #NUM! error value. If start_date plus day-offset yields an invalid date, WORKDAY.INTL returns the #NUM! error value.
Fix: Use codes 1 to 7 or 11 to 17
#VALUE!
If a weekend string is of invalid length or contains invalid characters, WORKDAY.INTL returns the #VALUE! error value.
Fix: برای weekend رشته هفتنویسهای فقط با ۰ و ۱ وارد کنید (مثلاً 0000011) یا از عدد ۱ تا ۱۷ استفاده کنید؛ از 1111111 استفاده نکنید.
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!