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

Data Analysis

  • Excel Pie Chart
  • How To Create Pareto Chart in Excel
  • How to calculate average last N values in a table in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • How to calculate current stock or inventory in Excel

References

  • How to use Excel TRANSPOSE Function
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • Count unique text values with criteria
  • How to use Excel MMULT Function
  • How to get relative column numbers in a range in Excel

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation allow uppercase only
  • Excel Data validation no punctuation
  • Prevent invalid data entering in specific cells
  • Excel Data validation number multiple 100

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

  • Return blank if in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function

Date Time

  • Convert Excel time to decimal hours in Excel
  • Add decimal minutes to time in Excel
  • SECOND function: Description, Usage, Syntax, Examples and Explanation
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation
  • TODAY function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Running count group by n size in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • Calculate conditional mode with criteria in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Count cells that do not contain errors in Excel
  • How to get original number from percent change in Excel
  • How to generate random date between two dates in Excel
  • Print Excel Sheet In Landscape Or Portrait
  • Basic error trapping example in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning