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

Data Analysis

  • How To Create Frequency Distribution in Excel
  • Conditional Formatting Rules in Excel
  • How to calculate average last N values in a table in Excel
  • How to add Trendline to a chart in Excel
  • How to calculate correlation coefficient Correlation in Excel

References

  • How to use Excel ROW Function
  • Offset in Excel
  • How to get address of last cell in range in Excel
  • How to get last column number in range in Excel
  • How to get relative row numbers in a range in Excel

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation date in specific year
  • Data validation must not exist in list
  • Excel Data validation allow weekday only
  • Excel Data validation require unique number

Get last working day in month in Excel

by

If you need to determine the last working day of a given month and year, then this tutorials is for you.

To get the last working day in a month, you can use the WORKDAY function together with the EOMONTH function. See example below:

Formula

=WORKDAY(EOMONTH(date)+1,-1)

>

Worked Example:   Add business days to date in Excel

In the example, the formula in C4 is:

=WORKDAY(EOMONTH(B4,0)+1,-1)

Explanation

Working from the inside out, the EOMONTH function gets the last day of month of any date. To this result, we add 1, which results in the first day of the next month.

Worked Example:   Get project end date in Excel

This date goes into WORKDAY function as the “start date”, along with -1 for “days”. The WORKDAY function automatically steps back 1 day, taking into account any weekends. The result is the last workday of the month.

Holidays

To get the last working day of the month, taking into account holidays, just add the range that contains holiday dates to the formula like this:

=WORKDAY(EOMONTH(B4,0)+1,-1,holidays)

Custom weekends

The WEEKDAY function assumes weekends are Saturday and Sunday. If you need to customize weekend days, you can use the WEEKDAY.INTL function.

Post navigation

Previous Post:

Get day name from date in Excel

Next Post:

Get days, hours, and minutes between dates in Excel

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

  • AND function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • Check multiple cells are equal in Excel

Date Time

  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation
  • Get days, hours, and minutes between dates in Excel
  • Create date range from two dates in Excel
  • Calculate years between dates in Excel
  • Get project end date in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel
  • Group arbitrary text values in Excel
  • Group numbers with VLOOKUP in Excel
  • Group numbers at uneven intervals in Excel

General

  • Common Errors in Excel
  • Excel Default Templates
  • Mark Workbook as Final in Excel
  • How to create dynamic worksheet reference in Excel
  • How to add sequential row numbers to a set of data in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning