Contact

NETWORKDAYS Function in Collabora Office Calc: Syntax, Examples and Compatibility

Date & Time Intermediate Collabora Office Calc

Use NETWORKDAYS in Collabora Office Calc to count workdays in a date interval without manually excluding weekends. Two original examples, expected results, cautions and official software documentation.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: NETWORKDAYS counts working dates in an inclusive interval. Its Collabora-specific fourth argument can supply a Sunday-first workweek vector: zero means working and a nonzero value means nonworking. The result is a count, unlike WORKDAY’s returned date.

Availability and version history

  • Introduced: original Collabora release and launch date are not established by the sources reviewed.
  • Availability: documented in Collabora Office 26.04 help, scoped to the desktop-help release.
  • Platform scope: online and mobile deployments are not inferred from desktop documentation.
  • Checked: October 14, 2026. Direct function section and independent calendar controls; no native Collabora test was performed.

Syntax and arguments

=NETWORKDAYS(start_date; end_date; [holidays]; [workdays])

The endpoints are required. Holidays is an optional range of individually listed nonworking dates. Workdays is an optional numeric list describing the standard week, beginning with Sunday. Leave the third argument empty when supplying only the fourth.

Both start and end dates are counted if eligible. Use English function names and semicolons, enter dates with DATE, and display results as numbers. The default Monday-through-Friday examples below are consistent with the vendor’s published calendar example; custom-week examples make their vector explicit.

Two original inclusive controls

Put =DATE(2026;6;3) in A2 for the second formula:

=NETWORKDAYS(DATE(2026;6;1);DATE(2026;6;5))
=NETWORKDAYS(DATE(2026;6;1);DATE(2026;6;5);A2)

Independent expected results are 5 and 4. Monday June 1 and Friday June 5 both participate. The second formula removes the Wednesday exclusion stored in A2.

These are counts of eligible dates, not elapsed-day subtraction. June 5 minus June 1 is four days, whereas the inclusive weekday list contains five dates.

Example 3: include an intervening weekend

=NETWORKDAYS(DATE(2026;6;1);DATE(2026;6;7))

The expected default-week count remains 5. Saturday June 6 and Sunday June 7 do not add working days in the documented standard example model.

With June 3 in A2 supplied as a holiday, the same Monday-through-Sunday interval has expected count 4. A seven-date interval is therefore not automatically seven workdays or five workdays; its eligibility policy and supplied exclusions matter.

Advanced example: preserve the reviewed custom-workweek control

Enter 1, 0, 0, 0, 1, 1, 1 in D2:D8, ordered Sunday through Saturday. Only Monday, Tuesday and Wednesday are working:

=NETWORKDAYS(DATE(2026;6;1);DATE(2026;6;7);;D2:D8)

Expected count: 3, covering June 1, 2 and 3. The empty third argument supplies no holiday range, while the fourth receives the workweek vector.

Adding the June 3 exclusion in A2:

=NETWORKDAYS(DATE(2026;6;1);DATE(2026;6;7);A2;D2:D8)

Expected count: 2. The vector first defines eligible weekdays; the supplied holiday removes one of those eligible dates.

Advanced example: test the vector’s direction and polarity

On a separate fixture, enter 0, 1, 1, 1, 1, 1, 1 in F2:F8. Only Sunday is working. For June 1–7 with that fourth argument, the expected count is 1, contributed by Sunday June 7.

Changing the vector to 1, 0, 0, 0, 0, 0, 1 selects Monday through Friday and gives 5. The vector is neither Monday-first nor a Boolean list in which one means working. Getting either convention backwards can produce a plausible but incorrect count.

No assertion is made here about malformed vector lengths or every alternative nonzero type. The examples use exactly seven ordinary numeric entries.

Advanced check: reconcile the vendor’s two complete examples

The official default-week example runs from 15 December 2001 through 15 January 2002, excluding December 24, 25, 26 and 31 plus January 1. It documents 17 workdays, independently confirmed by enumerating the calendar dates.

Its custom-week example covers 12–25 September 2016, with only Mondays, Tuesdays and Wednesdays working. Those dates are September 12, 13, 14, 19, 20 and 21, giving 6. This directly supports the Sunday-first, zero-is-working interpretation.

These explicit examples are stronger checks than assuming a similarly named function in another product takes the same fourth argument.

Data types, comparison and scope

The Collabora page says text and empty cells in a data range are ignored. Store exclusions as actual date values; a text label that looks like a date can otherwise fail to remove the intended day. Do not interpret that range rule as a blanket rule for every direct endpoint argument.

WORKDAY answers a different scheduling question and has an unresolved working-start statement in its own source. Its behavior is not inferred from NETWORKDAYS. WEEKDAY can help inspect each calendar date separately.

Reversed intervals, partial-day endpoints, duplicate holidays, malformed week vectors and complete error displays remain unverified. No imported-file, Online/mobile or native execution claim follows from these documented desktop controls.

References and verification

The complete older guide and original formulas were reviewed. Calendar calculations are independent expectations under the explicit conditions above; volatile functions were not executed, and retained source conflicts are not certified native behavior.