- last edited on
I am having issue with the workday formula calculating 1 Jan 2018 (which is also bank holiday) to show next working day.
A2: 01/01/2018 (holiday)
A3: =WORKDAY(A1,1,A2) --> Result = 02/01/2018 (2nd January instead of 3rd January, which is the next working day as 1st Jan is holiday).
04-13-2018 04:21 AM
That's correct result - after Mon, 01 Jan the next working day is Tue, 02 Jan since it's not day-off (not public holiday and not weekend).
04-13-2018 04:42 AM
Thanks for the quick response. But in the formula stated that 1st Jan is a holiday hence I expect that the first working day is on the 2nd, and the next working day is the 3rd?
04-13-2018 04:42 AM
The result of the formula is correct!
Please note that the WORKDAY function works this way:
In the formula above, since the start date is 01/01/2018 and the number of days (skips) is 1, it will return the next workday 02/01/2018 which is nonweekend and nonholiday.
The formula will return 03/01/2018 in case if you make the day of 02/01/2018 is the holiday.
Hope that helps
04-13-2018 05:03 AM
04-13-2018 05:15 AM
I suggest using this formula instead:
This portion of the formula IF(A1=A2,A1+1,A1) will check if the start date is equal to the holiday.
If so, it will add one day to the start day, otherwise, will still as it is.
09-09-2020 06:34 AM
I have made the attached excel project plan and it is working fine but I have to select holidays manually by seeing the country of the assignee. I want this to be done as per the countries defined in the project plan by seeing the list of per country holidays from the field value of the assignee location. My excel sheet is attached to this email.
I am using this formula to calculate the start and end dates of each task:
I have tried to change the above formula by adding different conditions but nothing works.
I am also looking to protect/lock formula cells dynamically, i.e., when we defined formula. Is it possible?
I am also looking to have different colors for formula fields dynamically. I don't know whether it is possible?
I have lost a lot of my time to sort out this formula but none was successful. Your kind help is appreciated.
Thank you in advance for your help.