Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to do a t-Test in Excel?
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How to add Trendline to a chart in Excel
  • How to calculate average last N values in a table in Excel
  • How to Use Solver Tool in Excel

References

  • Count rows that contain specific values in Excel
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel LOOKUP Function
  • Excel Advanced Lookup using Index and Match Functions
  • How to get last row in numeric data in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation with conditional list
  • Excel Data validation no punctuation
  • Excel Data validation must contain specific text
  • Excel Data validation require unique number

How to calculate working days left in month in Excel

by

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.

Formula

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

Explanation

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.

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.

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)

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Nested IF function example in Excel
  • Invoice status with nested if in Excel
  • How to use Excel TRUE Function
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • Convert Excel time to Unix time in Excel
  • How to get number of days, weeks, months or years between two dates in Excel
  • Count times in a specific range in Excel
  • TODAY function: Description, Usage, Syntax, Examples and Explanation
  • Calculate days remaining in Excel

Grouping

  • Group times into unequal buckets in Excel
  • Group numbers with VLOOKUP in Excel
  • Group times into 3 hour buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • Group arbitrary text values in Excel

General

  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
  • How to get random value from list or table in Excel
  • Freeze and Unfreeze Panes in Excel
  • How to count total columns in range in Excel
  • How to calculate percent of students absent in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning