Calculating future date excluding Public Holiday, Weekends and Backdate specific date

rajatqa

New Member
Joined
Apr 10, 2024
Messages
1
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi. Im trying to calculate TAT from today, excluding public holiday, weekends and specific date.

Assume today's date - 18/06/2024
For example 60 days from today - 08/07/2024
However for that date, employee has an approved leave and unable to attend the task on that date
And we cant extend the date.

Currently im using =WORKDAY.INTL(E9, 60, H9:H22)
whereas the E9 is for todays date
60 for 60 days TAT
H9:H22 are for date listed for Public Holiday

I need the TAT to fall on weekdays thus instead of 08/07/2024 where the employee is on leave, the future date become 05/07/2024 - not 06,07/07/2024 during weekend or 09/07/2024 as we cant extend the due date.

Appreciate your help in this.

Thank you.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
it seems to be working for me
I changed to 4 days for simplicity
I used 4 days from today - 11/4/24
and put 15th and 18th as holiday
and it gives 19th

BUT i did specify the weekend
=WORKDAY.INTL(E9, 4,1,H9:H22)

so changed you formula to include a weekend type 1 = Sat & Sun
Currently im using =WORKDAY.INTL(E9, 60, H9:H22)
the 1 here
=WORKDAY.INTL(E9, 4,1,H9:H22)

i may not be understanding the issue

Book1
ABCDEFGH
14/19/24
2
3
4
5
6
7
8
94/11/244/18/24
104/15/24
114/15/24
12
Sheet1
Cell Formulas
RangeFormula
B1B1=WORKDAY.INTL(E9, 4,1,H9:H22)
E11E11=E9+4
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,154
Members
452,615
Latest member
bogeys2birdies

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