Google Sheets NETWORKDAYS function
Counts the Monday-to-Friday days between two dates, minus holidays. In Spanish Sheets it is called DIAS.LAB.
Syntax
English Sheets
=NETWORKDAYS(start_date, end_date, [holidays])
Spanish Sheets (Mexico locale)
=DIAS.LAB(fecha_inicio, fecha_finalización, [vacaciones])
Spanish Sheets (Spain, Latin America)
=DIAS.LAB(fecha_inicio; fecha_finalización; [vacaciones])
| Argument | What it is |
|---|---|
| start_date | The first day. |
| end_date | The last day (included). |
| holidaysoptional | A range with the holidays to skip. |
Example
NETWORKDAYS(start, end, holidays) counts Monday-to-Friday days between two dates, both included, minus the holidays you list.
=NETWORKDAYS(B2,C2,$F$2:$F$4)
Common mistake
It counts both ends. If your work week is not Monday to Friday, use NETWORKDAYS.INTL.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice NETWORKDAYS
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
Workdays with NETWORKDAYS
NETWORKDAYS(start, end, holidays) counts Monday-to-Friday days between two dates, both included, minus the holidays you list.
In D2, count each project’s workdays, excluding the holidays in F2:F4.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Project | Start | End | Workdays | Holidays | ||
| 2 | Web | 11/02/2026 | 11/20/2026 | 11/16/2026 | |||
| 3 | App | 11/09/2026 | 12/04/2026 | 12/25/2026 | |||
| 4 | Catalog | 12/14/2026 | 01/08/2027 | 01/01/2027 | |||
| 5 | Inventory | 11/23/2026 | 11/27/2026 | ||||
| 6 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is NETWORKDAYS called in Spanish?
- In Spanish Google Sheets it is DIAS.LAB. The formula =NETWORKDAYS(B2,C2,$F$2:$F$4) is written =DIAS.LAB(B2;C2;$F$2:$F$4) (or with commas under a Mexico locale).
- Why does NETWORKDAYS use semicolons in some spreadsheets?
- It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
- What is the most common NETWORKDAYS mistake?
- It counts both ends. If your work week is not Monday to Friday, use NETWORKDAYS.INTL.