Calculate future dates

jgalas

Board Regular
Joined
Jul 4, 2011
Messages
99
Office Version
  1. 2013
Platform
  1. Windows
Hi! I have a task that takes 50 hours. it can start on any business day and runs 2 hours on Tuesdays and 2 hours on Wednesdays. I want to know the end date of the task.
Ex: if the start date is 03/22/2023, the end date will be 06/20/2023 excluding a holiday on Tuesday (holidays and vacation days can be in a column)
can someone give me a tip please
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
You're welcome & thanks for the feedback.
 
Upvote 1
i come up with a different end day:
Book1
ABCDEFGH
1StartHoursMax Hrs Per Day
22023-03-225022023-06-21Holidays
3Tuesday, June 6, 2023
Sheet1
Cell Formulas
RangeFormula
E2E2=WORKDAY.INTL(B2,C2/2,"1001111",$H$3)
H3H3=DATE(2023,6,6)


this is a corrected version.
 
Last edited:
Upvote 0
How about
Excel Formula:
=WORKDAY.INTL(A2-1,24,"1001111",D2:D7)
Where A2 is the start date & D2:D7 are holidays.
 
Upvote 0
i come up with a different end day:

Book1
BCDEFGH
1StartHoursMax Hrs Per Day
22023-03-226022023-07-05Holidays
3Tuesday, June 6, 2023
Sheet1
Cell Formulas
RangeFormula
E2E2=WORKDAY.INTL(B2,C2/2,"1100111",$H$3)
H3H3=DATE(2023,6,6)
Thanks for responding.
Your end date is different because you used 60 hours instead of 50.
If you have several holidays in the same period, how to do it?
 
Upvote 0
i come up with a different end day:
Book1
ABCDEFGH
1StartHoursMax Hrs Per Day
22023-03-225022023-06-21Holidays
3Tuesday, June 6, 2023
Sheet1
Cell Formulas
RangeFormula
E2E2=WORKDAY.INTL(B2,C2/2,"1001111",$H$3)
H3H3=DATE(2023,6,6)


this is a corrected version.
I guess my number is incorrect becuase I add all the hours, I'm not sure what day of the week the start of the project is.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
Here is with different "assignment dates" if you want to call it that. Holidays go in the range under "Holidays" ... just put that range reference in argument 4.

Cell Formulas
RangeFormula
H3H3=DATE(2023,6,6)
B7:B11B7=B6+1
E2:E11E2=WORKDAY.INTL(B2-1,C2/2,"1001111",$H$3)
 
Upvote 0
Just realised my formula is wrong, it should be
Excel Formula:
=WORKDAY.INTL(A2-1,25,"1001111",D2:D7)
 
Upvote 0

Forum statistics

Threads
1,215,330
Messages
6,124,308
Members
449,151
Latest member
JOOJ

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top