The NETWORKDAYS function

Counts the working days (Monday to Friday) between two dates, both included, minus any holidays you list.

Syntax

NETWORKDAYS(start_date, end_date, [holidays])
start_date
The first date.
end_date
The last date.
holidays (optional)
Dates to leave out, such as public holidays.

Examples

B1=NETWORKDAYS(DATE(2024,3,1),DATE(2024,3,31))
AB
121

In plain words: Count the weekdays from Mar 1, 2024 to Mar 31, 2024.

B1=NETWORKDAYS(DATE(2024,3,25),DATE(2024,3,29),DATE(2024,3,28))
AB
14

Read the guide

Related functions