You want the next task start date to depend on whether there are remaining hours left on the previous task’s end date.
- 8 hours = 1 workday
- If previous task hours is a multiple of 8 → no remaining hours → next task starts next working day
- If previous task hours is NOT a multiple of 8 → remaining hours exist → next task starts the SAME day
- Weekends must be skipped
A = Hours
B = Start Date
C = End Date
C2
=WORKDAY(B2, CEILING(A2/8,1)-1)
Copy down.
B3
=IF(MOD(A2,8)=0, WORKDAY(C2,1), C2)
Copy down.
MOD(A2,8)=0→ task used full days onlyWORKDAY(C2,1)→ start next weekdayC2→ reuse same day if hours remain
| hrs | st date | end date |
|---|---|---|
| 8 | 15-Jan | 15-Jan |
| 16 | 16-Jan | 19-Jan |
| 12 | 20-Jan | 21-Jan |
| 24 | 21-Jan | 26-Jan |
- Row 2 (16 hrs) → full 2 days → Row 3 starts next day
- Row 3 (12 hrs) → 1.5 days → 4 hrs left → Row 4 starts same day
To include holidays in the calculation, we’ll need to update the
WORKDAYformulas to skip the specified holidays. Excel allows us to specify holidays as a range of dates.Holiday List:
Solution
Steps:
1️⃣ Set Up Holiday List
You can place your holiday dates in cells, say E1:E3:
2️⃣ Updated Formula for End Date (Column C)
Now, we’ll modify the End Date formula in C2 to exclude holidays.
In C2, use this updated formula:
This tells Excel to:
WORKDAYfunction as beforeCopy this formula down the column.
3️⃣ Updated Formula for Start Date (Column B)
Now for the Start Date formula in B3:
This ensures:
Again, copy this down for subsequent rows.
Result with Holidays Considered