Excel NETWORKDAYS function
Counts working days (Monday to Friday) between two dates, both included, minus the holidays you list. In Spanish Excel it is called DIAS.LAB.
Syntax
English Excel
=NETWORKDAYS(start_date, end_date, [holidays])
Spanish Excel (Mexico)
=DIAS.LAB(fecha_inicial, fecha_final, [vacaciones])
Spanish Excel (Spain, Latin America)
=DIAS.LAB(fecha_inicial; fecha_final; [vacaciones])
| Argument | What it is |
|---|---|
| start_date | The first day. |
| end_date | The last day. |
| holidaysoptional | A range with the holidays. |
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
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 Excel 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 in Mexico).
- Why does NETWORKDAYS use semicolons in some Excel versions?
- It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
- What is the most common NETWORKDAYS mistake?
- If your work week is not Monday to Friday, use NETWORKDAYS.INTL.