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])

ArgumentWhat it is
start_dateThe first day.
end_dateThe last day.
holidaysoptionalA 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.

Advertising
Loading ad...

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.

Example=NETWORKDAYS(B2,C2,$F$2:$F$4)DIAS.LAB = NETWORKDAYS

In D2, count each project’s workdays, excluding the holidays in F2:F4.

D2
ABCDEFG
1ProjectStartEndWorkdaysHolidays
2Web11/02/202611/20/202611/16/2026
3App11/09/202612/04/202612/25/2026
4Catalog12/14/202601/08/202701/01/2027
5Inventory11/23/202611/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.