Return the last weekday of the month

You can return the last weekday of the month
Cell "A1" displays a date.
All these cells have been formatted with the custom number format "dd dddd mmmm yyyy".

 A
1=TODAY() = 29 Friday November 2024
2=EOMONTH(A1, 0)-MAX(0, WEEKDAY(EOMONTH(A1, 0), 2)-5) = 29 Friday November 2024

Built-in Functions

EOMONTH - The date serial number of the last day of a month before or after a date.
MAX - The largest numerical value.
TODAY - The date serial number representing today's date.
WEEKDAY - The day of the week for a given date.


Related Formulas

Return the first weekday of the month
Return the first weekday of the year
Return the last weekday of the year


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top