If today = first date in month (Working Day)
I want to get last date previous month
Example1 : If today = 02/08/2021 ( First Date in month that Working Day and not public holiday)
I want to get 31/07/2021
Example2 : If today = 04/09/2021 [First Date in month that Working Day because 01/09/2021 - 03/09/2021 in public holiday (check public holiday from file excel)] holiday.xlsx (8.0 KB)
Hi You can use this workflow. I created 1 excel files which contains holidays date bot will first get the todays date then will check whether it is weekend or working day if it is not sunday or saturday then it will check whether it is public holiday or not by comparing it with excel sheet (Holidays workbook) then it will calculate last date of previous month from today.
I got your point, just modified the previous code I also added comments in the code for understanding as well. let me know if you need more information.