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

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How to Create Thermometer Chart in Excel
  • Number and Text Filters Examples in Excel
  • How to create running total in an Excel Table
  • Subtotal function in Excel

References

  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • Merge tables with VLOOKUP in Excel
  • To count total rows in a range in Excel
  • Left Lookup in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation with conditional list
  • Excel Data validation must contain specific text
  • Excel Data validation unique values only
  • Excel Data validation allow uppercase only

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

  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate months between dates in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation
  • Add days to date in Excel
  • Create date range from two dates in Excel
  • Sum race time splits in Excel

Grouping

  • Group numbers with VLOOKUP in Excel
  • Map text to numbers in Excel
  • Running count group by n size in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel

General

  • How to fill cell ranges with random number from fixed set of options in Excel
  • How to fill cell ranges with random text values in Excel
  • How to Delete Cells, Row and Rows in Excel
  • Count cells that do not contain many strings in Excel
  • How to Create Calendar in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning