Contact

NETWORKDAYS Function in WPS Spreadsheet: Syntax, Examples and Compatibility

Date & Time Intermediate WPS Spreadsheet

Use NETWORKDAYS in WPS Spreadsheet 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 between two endpoints while excluding the standard weekend and supplied holidays. The original inclusive-endpoint examples are retained with their counting assumption explicit; the captured WPS sources do not fully specify every endpoint case.

Availability and version history

  • Introduced: documented by 2019-05-15 in the WPS lesson; original introduction is not established.
  • Availability: historical Windows Personal lesson and current Windows FAQ; no minimum numeric build is specified.
  • Scope: Windows documentation does not establish equivalent behavior in every other WPS client.
  • Checked: October 14, 2026. Complete function-specific references and independent calendar models; no native WPS test was performed.

Syntax and arguments

=NETWORKDAYS(start_date, end_date, [holidays])

Both dates are required. The historical source and current Windows FAQ explicitly describe holidays as optional. They define weekend and holiday exclusions, but do not give a complete endpoint-inclusion, reversed-interval or time-fraction specification.

Use English function names and comma separators as shown, adapting separators for the workbook locale. Display date/date-time outputs with an appropriate format and counts or durations as numbers. Expected outputs are independent models; live-clock and endpoint assumptions are explicit.

Example 1: original control

=NETWORKDAYS(DATE(2026,6,1),DATE(2026,6,5))

Stated counting-model output: 5.

The inclusive model counts both working endpoints and all five weekdays; the source-boundary qualification below applies.

Example 2: original comparison

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

Stated counting-model output: 4.

Put =DATE(2026,6,3) in A2. Under the same inclusive model, that Wednesday exclusion removes one of the five dates.

Endpoint scope of the original examples

The original counts 5 and 4 above use an inclusive calendar model over Monday 1 June through Friday 5 June 2026. The source describes complete working days between dates but does not explicitly state whether both working endpoints are included.

The counts are retained as transparent model expectations, not newly certified native endpoint behavior. The Wednesday holiday example depends on the same model. Check these simple controls in the intended WPS build before using endpoint-sensitive counts in a report.

Example 3: choose weekend endpoints for a clearer control

=NETWORKDAYS(DATE(2026,6,6),DATE(2026,6,14))

Both endpoints are weekend dates. The intervening Monday–Friday dates 8, 9, 10, 11 and 12 June give the independently modeled expectation 5. Whether the excluded weekend endpoints are formally included does not change this example’s working-date set.

Put =DATE(2026,6,10) in H2 and use:

=NETWORKDAYS(DATE(2026,6,6),DATE(2026,6,14),H2)

The expected count becomes 4, from 8, 9, 11 and 12 June. This isolates the documented holiday exclusion without relying on a working endpoint.

Advanced example: make the counting policy auditable

For the original Monday–Friday case, enter the five explicit dates in D2:D6 and the Wednesday holiday in H2. In E2 enter and fill down:

=AND(WEEKDAY(D2,2)<=5,D2<>$H$2)

Expected flags are TRUE, TRUE, FALSE, TRUE and TRUE. A numeric helper =IF(E2,1,0) filled down yields 1,1,0,1,1, totaling 4.

This manually enumerated list verifies the chosen inclusive calendar policy independently. It does not turn the undocumented general endpoint rule into a product certification. It also assumes actual valid date-only values and the specified Monday–Friday schedule.

Advanced example: lock a common holiday range

Put fictional exclusions 10 and 11 Jun 2026 in H2:H3. For the weekend-bounded 6–14 June interval:

=NETWORKDAYS(DATE(2026,6,6),DATE(2026,6,14),$H$2:$H$3)

Expected working dates are 8, 9 and 12 June, giving 3. For the separate weekend-bounded 13–21 June interval, the same two earlier holiday dates do not intersect its Monday–Friday set, so the expected count is 5.

The current Windows FAQ explicitly says that without the holiday argument the function follows only weekend rules. A holiday range is a supplied calendar policy, not an automatic lookup based on location.

Date count versus elapsed time

The interval from 6 to 14 June spans 8 elapsed days, while its eligible working dates number five. Multiplying five by a nominal shift length would add a separate scheduling assumption; NETWORKDAYS does not record attendance hours, partial-day absences or overtime.

WORKDAY answers the inverse kind of scheduling question by returning a date after a working-day offset. Keep its start-counting convention separate from a count over an interval.

Invalid inputs and limits

The WPS reference documents #VALUE! for invalid date arguments. Dates that merely look correct after formatting can still be text. Prefer DATE-built controls and inspect source types before diagnosing a difference as a holiday problem.

Same-day working endpoints, reversed intervals, fractional timestamps, duplicate-holiday behavior and exact text/blank coercions remain unverified. This guide also does not infer support for custom weekend masks from NETWORKDAYS.INTL’s name. The source’s inconsistent absolute-serial note is not used as a date-base guarantee.

Corresponding functions in another product require separate evidence for clock, endpoint, date-system and error behavior.

Evidence level: Full article and complete product-specific sources reviewed. Original title, publication date and two worked formulas are preserved. Additional calendar and time calculations are independently modeled; no native clock, application or import test is claimed.