WORKDAY Function (Gnumeric)
Learn the WORKDAY function in Gnumeric: Returns the serial number of the date before or after a specified number of workdays.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
WORKDAY moves a date forward or backward by a number of working days. It skips weekend days and listed holidays. Gnumeric additionally accepts a fourth weekend-array argument, so copying the formula to another spreadsheet requires checking that product’s contract rather than assuming the same four arguments are portable.
Syntax and arguments
=WORKDAY(date,days,[holidays],[weekend])
- date is the starting date serial. Use DATE to avoid ambiguous date strings.
- days is the number of working days to move; negative values move backward. The inspected implementation truncates fractional days toward zero.
- holidays is an optional collection of date serials to skip. Omitting it means no additional holidays.
- weekend is an optional seven-entry array in Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday order. The default is {1,0,0,0,0,0,1}. A nonzero entry marks a nonworking weekday.
This Sunday-first order is important. Do not paste a Monday-first string from another weekend function. Gnumeric’s help limits its Excel-compatibility statement to calls that omit this fourth argument.
Reproducible Friday-to-Tuesday calculation
Use =WORKDAY(DATE(2026,10,16),2). October 16 is Friday. Saturday and Sunday are skipped; Monday October 19 is working day 1 and Tuesday October 20 is working day 2. Format the result as a date to display 2026-10-20. If it appears as a plain integer, the calculation may be correct but the number format is not showing a date.
To check the result without depending on number formatting or the workbook’s date-serial convention, use =WORKDAY(DATE(2026,10,16),2)-DATE(2026,10,20). Expected result: 0. The Gnumeric 1.12.57 native run returned 0.
Add a holiday on Monday: =WORKDAY(DATE(2026,10,16),2,DATE(2026,10,19)). The result is Wednesday October 21 because Tuesday is now the first eligible day and Wednesday the second. The corresponding date-difference check also returned 0 natively. In an operational sheet, store holiday dates in a dedicated numeric date range and reference that range instead of hardcoding a growing list.
Backward scheduling and a custom workweek
=WORKDAY(DATE(2026,10,20),-2) gives Friday October 16: Monday is the first preceding workday and Friday the second. This was checked natively through a zero date difference.
For a Friday/Saturday weekend, use =WORKDAY(DATE(2026,10,16),2,,{0,0,0,0,0,1,1}). Sunday October 18 and Monday October 19 are working days, so the result is October 19. The empty third position omits holidays while still supplying the fourth argument. The native difference against DATE(2026,10,19) was 0.
Use this for backward delivery planning only after deciding which local holiday calendar and workweek actually apply. WORKDAY does not automatically know regional public holidays or organizational shutdowns.
Edge cases and troubleshooting
Zero days leaves the starting date unchanged, even if it is a weekend: the tested =WORKDAY(DATE(2026,10,17),0) remains Saturday October 17. It is therefore not a general next-working-day normalization formula. A tested days argument of 2.9 produced the same result as 2, consistent with truncation toward zero.
The source removes duplicate holiday dates and ignores holidays that already fall on excluded weekdays. Keep holidays as real date values, not visual labels. A malformed weekend specification, invalid date conversion, or no working weekdays with a nonzero movement leads to #VALUE! in the inspected callback. Excessive day offsets and final dates outside the supported 1900–9999 range can produce #NUM!. Those broader error branches were source-reviewed rather than individually native-tested here.
If the answer is off by one, check whether you counted the starting date as day 1, supplied a holiday, or used the wrong weekday order. Use date-difference checks to separate calculation errors from display-format problems.
Availability, history and evidence
WORKDAY is registered in the retained official Gnumeric 1.12.62 fn-date source. NEWS records WORKDAY as added in 0.32 and separately records its implementation in 1.7.0. These are distinct historical milestones, not proof that the early entry already had the later complete behavior. The fourth weekend argument was added in 1.10.8, followed by WORKDAY/NETWORKDAY adjustments in 1.10.9. The last functioning release is not established. The archive was retained October 13–14, 2026; six bounded native date-difference cases were recalculated in Gnumeric ssconvert 1.12.57 on October 17 and all returned 0. The screenshot below shows the date-difference check in the actual 1.12.57 application; no 1.12.62 runtime execution is claimed.
Sources and related guides
- Official function catalog
- Pinned WORKDAY help and implementation
- DATE constructs unambiguous inputs; NETWORKDAYS addresses counting working days across an interval.
Native application screenshot

Gnumeric 1.12.57, captured October 17, 2026. Selected cell B3 shows the documented formula result 0. The formula bar and synthetic inputs are visible; GUI locale was not independently recorded.