Hy,
=IFERROR(WORKDAY(WORKDAY(EDATE(B20;0);-1);C20;$I$20:$I$28);"enter first day of vacation")
B20 - begining (date); C20 - number of vacation days(number); I20-I28 non working days - holidays(date);
whit this formula I'm calculating vacation for employees according to inserted beginning an days of vacation (it excludes holidays and the last weekend of vacation)
I need to add one more date to it, religious holiday, different for each employee, that prolongates the vacation for one day, if it's within vacation date and if it is not a weekday (sun, sat)
how to do that?
Thanks
Bookmarks