Excel Formula: Find Last Weekday of Month
This tutorial provides a formula to find the last specific weekday of the current month based on the given date in Excel.
Syntaxt and Arguments
|Date: the date that you want to find its last specific weekday of the month.|
|Weekday_num: the number 1-7 to indicate the specific weekday that you want to find.|
The formula returns to a numeric value, for directly viewing the date, please format the result as date format.
If the argument date is not a valid date (a text value or a date before 1/1/1900), the formula returns to the error value #VALUE!.
How this formula works
In cell B3 is the date that you use, and in cell C3 contains the weekday number that you want to find of the month, please use below formula in cell D3:
Press Enter key, then drag auto fill handle down to the cells needed.
Then click Home tab to go to the Number group, click the arrow of Number Format, then choose Short Date or Long Date from the drop-down list. Then the results have been formatted as date.
EOMONTH function: to find the last day of the month.
WEEKDAY function: to get the day of week as number 1-7.
- Get date from given date month year
The DATE function can be used to get a standard date based on the given year, month and day in Excel.
- Find earliest or latest date in each group
This article provides the formulas to find the earlist and lates dates in the same group in Excel.
- Get day name from given date
This tutorial talks about how to use formula to get the day name such as Monday,Tuesday based on the given date.
- Create weekly date range
In this tutorial, it provides a formula to quickly get the weekly date range in Excel.
- Excel DATE Function
Create date with year, month and day
- Excel YEAR Function
Returns the year of date in 4-digit serial number format
- Excel MONTH Function
The MONTH is used to get the month as integer number (1 to 12) from date
- Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date
- Excel NOW Function
Get the current time and date