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

Data Analysis

  • How To Create Pareto Chart in Excel
  • Reverse List in Excel
  • How To Compare Two Lists in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • How to Create Area Chart in Excel

References

  • How to get address of last cell in range in Excel
  • Multi-criteria lookup and transpose in Excel
  • How to get last row in text data in Excel
  • How to use Excel TRANSPOSE Function
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation must not contain
  • Excel Data validation with conditional list
  • How To Create Drop-down List in Excel
  • Excel Data validation don’t exceed total

Get last weekday in month in Excel

by

This tutorial shows you how to find the last weekday of the month in Excel.

To get the last weekday in a month (i.e. the last Saturday, the last Friday, the last Monday, etc) you can use a formula based on the EOMONTH and WEEKDAY functions.

Formula

=EOMONTH(date,0)+1-WEEKDAY(EOMONTH(date,0)+1-dow)

Explanation

First, this formula determines the first day of the next month *after* a given date. It does this my using EOMONTH to get the last day of the month, then adding one day:

=EOMONTH(B5,0)+1

In the example shown, the formula in D5 is:

=EOMONTH(B5,0)+1-WEEKDAY(EOMONTH(B5,0)+1-C5)

 

Next, the formula calculates the number of days required to “roll back” to the last requested weekday in the month prior (i.e. the month of the original date):

WEEKDAY(EOMONTH(B5,0)+1-C5)

Inside WEEKDAY, EOMONTH is again used to get the first day of the next month. From this date, the value for day of week is subtracted, and the result is fed into WEEKDAY, which returns the number of days to roll back.

Last, the roll back days are subtracted from the first day of the next month, which yields the final result.

Other weekdays

In the general form of the formula at the top of the page, day of week is abbreviated “dow”. This is a number between 1 (Sunday) and 7 (Saturday) which can be changed to get a different day of week. For example, to get the last Thursday of a month, set dow to 5.

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
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function

Date Time

  • Get first day of month in Excel
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Get project end date in Excel
  • TIME function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate quarter from date in Excel

Grouping

  • If cell contains one of many things in Excel
  • Map text to numbers in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel

General

  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
  • Convert column letter to number in Excel
  • How to create dynamic worksheet reference in Excel
  • How to set or clear a print area in Excel Worksheet
  • Freeze and Unfreeze Panes in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning