Quick, clean, and to the point

Working days in year

Excel formula: Working days in year
Generic formula 

To calculate the number of working days in a year, you can use the NETWORKDAYS function. NETWORKDAYS automatically excludes weekends and holidays if they are provided. In the example shown, the formula in E5 is:


Where D5 contains a year, and holidays is the named range E5:E14.

Note: NETWORKDAYS includes both the start and end dates in the calculation if they are workdays.


NETWORKDAYS is a built-in function accepts a start date, an end date, and (optionally) a range that contains holiday dates. In the example shown, we generate the start and end date using the DATE function like this:

DATE(D5,1,1) // first day of year
DATE(D5,12,31) // last day of year

The DATE function returns these dates directly to the NETWORKDAYS function as start_date and end_date, respectively.

Holidays are supplied as a list of dates in E5:E14, the named range holidays.

NETWORKDAYS automatically excludes weekends (Staturday and Sunday) and dates supplied as holidays and returns a total count of working days in the year 2019.

No holidays provided

The formula in E6 returns a higher working day count because holidays are not supplied:


Working days remaining this year

To return the working days that remain in a given year, the TODAY function can be used generate a start date like this:


Custom workdays / weekends

To work with custom weekends (i.e. weekends are Sunday and Monday, etc.) switch to the more powerful NETWORKDAYS.INTL function, which allows control over which days of the week are considered workdays.

Dave Bruns

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.

Download 100+ Important Excel Functions

Get over 100 Excel Functions you should know in one handy PDF.

Excel foundational video course
Excel Pivot Table video training course
Excel formulas and functions video training course
Excel Charts video training course
Video training for Excel Tables
Dynamic Array Formulas