NETWORKDAYS
Supported, behaves as documentedCategory: Date and time · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =NETWORKDAYS(DATE(2024,1,1),DATE(2024,1,5)) | Mon Jan 1 to Fri Jan 5, 2024, no holidays -> 5 workdays | 5 | 5 | Matched |
| =NETWORKDAYS(DATE(2024,1,1),DATE(2024,1,5),DATE(2024,1,3)) | Same range excluding one holiday (Wed Jan 3) -> 4 | 4 | 4 | Matched |
| =NETWORKDAYS(DATE(2024,1,5),DATE(2024,1,1)) | start_date after end_date returns a NEGATIVE count (not an error) | -5 | -5 | Matched |
| =NETWORKDAYS(DATE(2024,1,6),DATE(2024,1,7)) | Sat Jan 6 to Sun Jan 7, 2024 -> 0 workdays | 0 | 0 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation