Hi,
I am struggling a bit to get my date formulas working. In a sense it is a 2 pt question.
I basically have a date of which I need to add X amount of days which may go into into the next month at times. Then if that target date after getting added x days is a weekend or holiday it needs to go to the next working day. I have been using the workday & net work days function but I am not getting the desired result.
Example: Item date is 3/13/2017 (A2). I want to add 30 days to it I would get 4/12/2017 using =DATE(year(A2),(MONTH(A2),DAY(A2))+30.
If I use =WORKDAY(A2,30,"Holiday Table Schedule") I get 4/25/2017 which is incorrect. The date function gives me the desired date but I need it to account for Holidays and weekends for other dates.
Additionally, if I am looking to get the 15th day of following month from a date and if that 15th day falls on weekend or Holiday it gets rounded to next full working day. Example here is starting date (B2) is 3/7/2017. =WORKDAY(OEMONTH(B2,0),15,"Holiday Schedule) = 4/24/2017. I need it to get me 4/17/2017 as the 15th day falls on Weekend so it should go to the 17th.
Thanks
I am struggling a bit to get my date formulas working. In a sense it is a 2 pt question.
I basically have a date of which I need to add X amount of days which may go into into the next month at times. Then if that target date after getting added x days is a weekend or holiday it needs to go to the next working day. I have been using the workday & net work days function but I am not getting the desired result.
Example: Item date is 3/13/2017 (A2). I want to add 30 days to it I would get 4/12/2017 using =DATE(year(A2),(MONTH(A2),DAY(A2))+30.
If I use =WORKDAY(A2,30,"Holiday Table Schedule") I get 4/25/2017 which is incorrect. The date function gives me the desired date but I need it to account for Holidays and weekends for other dates.
Additionally, if I am looking to get the 15th day of following month from a date and if that 15th day falls on weekend or Holiday it gets rounded to next full working day. Example here is starting date (B2) is 3/7/2017. =WORKDAY(OEMONTH(B2,0),15,"Holiday Schedule) = 4/24/2017. I need it to get me 4/17/2017 as the 15th day falls on Weekend so it should go to the 17th.
Thanks