If Date is last working day of the month

mrdzyyyrawr

New Member
Joined
Apr 16, 2018
Messages
9
I need help with a formula that checks if a date in the cell above is the last WORKING day of a month and ideally also checks against a list of public holidays I have. Saturdays are classed as working days. Any help would be appreciated. Thanks.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Maybe something like this...

Dates as dd/mm/yyyy

[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: #DCE6F1"][/TD]
[TD="bgcolor: #DCE6F1"]
A
[/TD]
[TD="bgcolor: #DCE6F1"]
B
[/TD]
[TD="bgcolor: #DCE6F1"]
C
[/TD]
[TD="bgcolor: #DCE6F1"]
D
[/TD]
[TD="bgcolor: #DCE6F1"]
E
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
1
[/TD]
[TD]
Dates --->​
[/TD]
[TD]
10/04/2018​
[/TD]
[TD]
30/03/2018​
[/TD]
[TD]
31/01/2018​
[/TD]
[TD]
30/09/2018​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
2
[/TD]
[TD]
Is it last Working Day?​
[/TD]
[TD]
No​
[/TD]
[TD]
No​
[/TD]
[TD]
Yes​
[/TD]
[TD]
No​
[/TD]
[/TR]
</tbody>[/TABLE]


Formula in B2 copied across
=IF(B1=WORKDAY.INTL(EOMONTH(B1,0)+1,-1,11,Holidays),"Yes","No")

Where Holidays is a named range that contains your list of public holidays.

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,223,902
Messages
6,175,278
Members
452,629
Latest member
SahilPolekar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top