In need of a fix/adjustment to the following formula so if a date falls on a holiday(whether a one day or two day holiday) it changes the date to the next business day with a 08:00 or 09:00 time (EST or EDT dependent). I use a lookup table to list holidays (date only). Current formula is for only if a holiday falls on a Monday. Need it for any day of the week.
My current formula is: (takes into account if daylight savings or standard time)
=IF(OR(WEEKDAY(L5602,2)>5,WORKDAY(L5602,1)+IF(MATCH(L5602,DATE(YEAR(L5602),{1,3,11},{1,15,8})-WEEKDAY(DATE(YEAR(L5602),{1,3,11},7)))<>2,8,9)/24,L5602),IF(WEEKDAY(L5602,2)=1,IF(ISERROR(VLOOKUP(DATE(YEAR(L5602),MONTH(L5602),DAY(L5602)),LkUp!$A$2:$E$29,5,FALSE)),L5602,(INT(L5602)+1.33333)),IF(WEEKDAY(L5602,2)=1,IF(ISERROR(VLOOKUP(DATE(YEAR(L5602),MONTH(L5602),DAY(L5602)),LkUp!$A$2:$E$29,5,FALSE)),L5602,(INT(L5602)+1.375)),L5602)))
L is my created date (mm/dd/yyyy h:mm)
Thank you.
My current formula is: (takes into account if daylight savings or standard time)
=IF(OR(WEEKDAY(L5602,2)>5,WORKDAY(L5602,1)+IF(MATCH(L5602,DATE(YEAR(L5602),{1,3,11},{1,15,8})-WEEKDAY(DATE(YEAR(L5602),{1,3,11},7)))<>2,8,9)/24,L5602),IF(WEEKDAY(L5602,2)=1,IF(ISERROR(VLOOKUP(DATE(YEAR(L5602),MONTH(L5602),DAY(L5602)),LkUp!$A$2:$E$29,5,FALSE)),L5602,(INT(L5602)+1.33333)),IF(WEEKDAY(L5602,2)=1,IF(ISERROR(VLOOKUP(DATE(YEAR(L5602),MONTH(L5602),DAY(L5602)),LkUp!$A$2:$E$29,5,FALSE)),L5602,(INT(L5602)+1.375)),L5602)))
L is my created date (mm/dd/yyyy h:mm)
Thank you.