Given a certain beginning date and specified number of days, one may want to determine the ending date (beginning date plus number of days). When determining the ending date, the following two cases should be considered
1. Sundays only; and
2. User specified public holidays
Holidays user specified public holidays only. Saturdays and Sundays are working days
If the landing date is any of the two holidays, the result should be the next working day.
You may refer to my solution in this workbook.