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

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

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 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.