Column A is the duration of each phase of a job in days. Column B is Start date for each phase. Column C has the following formula:
=(WORKDAY.INTL(B1,A1,11))
1 6-Mar 7-Mar
3 8-Mar 12-Mar
4 13-Mar 17-Mar
3 18-Mar 21-Mar
3 22-Mar 26-Mar
3 27-Mar 30-Mar
1 31-Mar 2-Apr
I would like a value of one in Column A to show the same date in Column C as Column B, because it only takes one day. When using the cells above to project into a calendar, 24 work days are shown, instead of 18 (the sum of Column A). I tried to rectify this by using a 'helper column' that -1 from each of the working days. This returns the dates as I would like them (start and finish dates for phase one now both being 5-Mar and so on).
0 6-Mar 6-Mar
2 7-Mar 9-Mar
3 10-Mar 14-Mar
2 15-Mar 17-Mar
2 18-Mar 20-Mar
2 21-Mar 23-Mar
0 24-Mar 24-Mar
When the data is projected into the calendar if the start day is a Sunday e.g March 18, things get thrown off. A day is missed. The calendar says 2 days worked, 19th and 20th when as you can see above the phase is actually supposed to take 3 working days.
The formula I am using in for the calendar projection is:
=IF(AND(V$2>=$G16,V$2<=$H16),$A16,"")
where V2 is the date in the calendar, G is the start date, H is the end date as calculated above and A is the information to be displayed in the calendar for that day.
Any ideas? If you need to see more of the spreadsheet let me know.
=(WORKDAY.INTL(B1,A1,11))
1 6-Mar 7-Mar
3 8-Mar 12-Mar
4 13-Mar 17-Mar
3 18-Mar 21-Mar
3 22-Mar 26-Mar
3 27-Mar 30-Mar
1 31-Mar 2-Apr
I would like a value of one in Column A to show the same date in Column C as Column B, because it only takes one day. When using the cells above to project into a calendar, 24 work days are shown, instead of 18 (the sum of Column A). I tried to rectify this by using a 'helper column' that -1 from each of the working days. This returns the dates as I would like them (start and finish dates for phase one now both being 5-Mar and so on).
0 6-Mar 6-Mar
2 7-Mar 9-Mar
3 10-Mar 14-Mar
2 15-Mar 17-Mar
2 18-Mar 20-Mar
2 21-Mar 23-Mar
0 24-Mar 24-Mar
When the data is projected into the calendar if the start day is a Sunday e.g March 18, things get thrown off. A day is missed. The calendar says 2 days worked, 19th and 20th when as you can see above the phase is actually supposed to take 3 working days.
The formula I am using in for the calendar projection is:
=IF(AND(V$2>=$G16,V$2<=$H16),$A16,"")
where V2 is the date in the calendar, G is the start date, H is the end date as calculated above and A is the information to be displayed in the calendar for that day.
Any ideas? If you need to see more of the spreadsheet let me know.