Exceljet

Quick, clean, and to the point

Working days left in month

Excel formula: Working days left in month
Generic formula 
=NETWORKDAYS(date,EOMONTH(date,0),holidays)
Explanation 

To calculate the number of workdays remaining in a month, you can use the NETWORKDAYS function. NETWORKDAYS automatically excludes weekends, and it can optionally exclude a custom list of holidays as well.

In the example shown, the formula in C5 is:

=NETWORKDAYS(B5,EOMONTH(B5,0),E5:E14)

Were B5 contains a current date, and the range E5:E14 contains dates that are holidays.

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

How this formula works

NETWORKDAYS is a built in function accepts a start date, end date, and (optionally) a range that contains holiday dates.

In this case, the start date is Jan 10, 2018, provided as cell B5. The end date is calculated using the EOMONTH function with an offset of zero, which returns the last day of the month of the date given. A list of holidays is provided as the range E5:E14.

The EOMONTH function resolves to Jan 31, 2018, and the number of working days between Jan 10 and Jan 31 (inclusive) is 16. One of those working days (Jan 15) is listed as a holiday, so NETWORKDAYS returns a final result of 15.

Working days remaining this month

To return the working days that remain in the current month, the formula can be adapted with the TODAY function as follows:

=NETWORKDAYS(TODAY(),EOMONTH(TODAY(),0),holidays)

Custom workdays / weekends

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

Need a date?

To calculate a date n workdays in the past or future, see the WORKDAY function.

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