Calculating the last business day of the month can be a bit tricky, but fortunately, Excel provides a few formulas that can help. In this article, we'll explore the most common formulas used to determine the last business day of the month.
Understanding Business Days
Before we dive into the formulas, it's essential to understand what constitutes a business day. A business day is typically considered a weekday (Monday through Friday) when banks and financial institutions are open for business. This excludes weekends (Saturdays and Sundays) and holidays.
Formula 1: Using the WORKDAY Function

One of the most straightforward formulas to calculate the last business day of the month is by using the WORKDAY function. This function returns the date of the last business day of the month, taking into account weekends and holidays.
The syntax for the WORKDAY function is:
WORKDAY(start_date, days, [holidays])
Where:
- start_date is the date you want to start from (usually the first day of the month)
- days is the number of business days you want to add (in this case, we'll use -1 to get the last business day)
- [holidays] is an optional array of holidays to exclude
Here's an example formula:
=WORKDAY(EOMONTH(A1,0),-1)
Assuming the date is in cell A1, this formula returns the last business day of the month.
How it Works
The EOMONTH function returns the last day of the month, and then the WORKDAY function subtracts one business day to get the last business day.
Formula 2: Using the EOMONTH and WEEKDAY Functions

Another formula you can use is a combination of the EOMONTH and WEEKDAY functions. This formula checks the last day of the month and then moves backwards to the nearest weekday.
The syntax for this formula is:
=EOMONTH(A1,0)-WEEKDAY(EOMONTH(A1,0))
Where:
- A1 is the date you want to start from (usually the first day of the month)
Here's an example formula:
=EOMONTH(A1,0)-WEEKDAY(EOMONTH(A1,0))+1
This formula returns the last business day of the month, assuming the date is in cell A1.
How it Works
The EOMONTH function returns the last day of the month, and then the WEEKDAY function returns the day of the week (1 = Sunday, 2 = Monday, etc.). By subtracting the weekday from the last day of the month, we effectively move backwards to the nearest weekday.
Formula 3: Using the EOMONTH and IF Functions

The third formula uses a combination of the EOMONTH and IF functions to determine the last business day of the month. This formula checks the last day of the month and then applies a set of rules to determine the last business day.
The syntax for this formula is:
=IF(WEEKDAY(EOMONTH(A1,0))=1,EOMONTH(A1,0)-3,IF(WEEKDAY(EOMONTH(A1,0))=7,EOMONTH(A1,0)-2,EOMONTH(A1,0)-1))
Where:
- A1 is the date you want to start from (usually the first day of the month)
Here's an example formula:
=IF(WEEKDAY(EOMONTH(A1,0))=1,EOMONTH(A1,0)-3,IF(WEEKDAY(EOMONTH(A1,0))=7,EOMONTH(A1,0)-2,EOMONTH(A1,0)-1))
This formula returns the last business day of the month, assuming the date is in cell A1.
How it Works
The EOMONTH function returns the last day of the month, and then the WEEKDAY function returns the day of the week. The IF function applies a set of rules to determine the last business day:
- If the last day of the month is a Sunday (weekday 1), subtract 3 days to get the last business day (Friday).
- If the last day of the month is a Saturday (weekday 7), subtract 2 days to get the last business day (Thursday).
- Otherwise, subtract 1 day to get the last business day.
Conclusion
Calculating the last business day of the month can be a bit tricky, but with these formulas, you can easily determine the last business day of the month in Excel. Whether you use the WORKDAY function, a combination of EOMONTH and WEEKDAY functions, or a combination of EOMONTH and IF functions, you can ensure that your calculations are accurate and reliable.
We hope this article has been helpful in understanding how to calculate the last business day of the month in Excel. If you have any questions or need further assistance, please don't hesitate to ask.
Excel Formula For Last Business Day Of The Month Image Gallery









