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

Data Analysis

  • Reverse List in Excel
  • How To Create Pareto Chart in Excel
  • How to create running total in an Excel Table
  • Get column index in Excel Table
  • Subtotal function in Excel

References

  • Left Lookup in Excel
  • Get nth match with INDEX / MATCH in Excel
  • How to use Excel FORMULATEXT function
  • Merge tables with VLOOKUP in Excel
  • Convert text string to valid reference in Excel using Indirect function

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation date in specific year
  • Excel Data validation allow weekday only
  • Excel Data validation only dates between
  • Data validation must not exist in list

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)

>

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.

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:

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 Examples in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • How to use Excel OR Function
  • Not Equal To ‘<>‘ operator in Excel
  • Excel If, Nested If, And/Or Criteria Examples

Date Time

  • Get project midpoint in Excel
  • YEAR function: Description, Usage, Syntax, Examples and Explanation
  • How to get Weekdays, Working days between Two Dates in Excel
  • WEEKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Add decimal minutes to time in Excel

Grouping

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

General

  • How to test a range for numbers in Excel
  • Using Existing Templates in Excel
  • How to count total number of cells in a rectangular range in Excel
  • How to calculate percent of students absent in Excel
  • Print Excel Sheet In Landscape Or Portrait
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning