Calculate start date

sadavies2906

New Member
Joined
Feb 5, 2011
Messages
45
Hi
I am trying to calculate the start date of the first operation based on the start date of the second operation. Typically this is always going to be 7 days (5 work days) before. I can do this easily by just deducting 7 from the second operations start date however I have a calendar lookup that checks if a particular day is a holiday which I use on other calculations for networkdays.

Is there an easy way to do this so the first operation is 7 days earlier but also taking into account any holidays identified so if a bank holiday for example it might start 8 days earlier to take into account the holiday

Regards
Stephen
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Are you aware of the native Workday function in Excel. One of its arguments is a range of Holiday dates assigned by you.
Hope this helps
 
Upvote 0
Thanks but my understanding of workday function is its usually used to find an end date and you have to have start date and number of days as manditory fields with holiday being optional. Can I do start date -7 days and then look at the holidays to see if any fall in that range and push this new date back by that number of holidays.

2nd op starts on 11/11
1st op would be 7 days early 04/11
07/11 is a work shutdown
1st op needs to push back an extra day but because of weekend needs to be 01/11
 
Upvote 0
You can use it like
=WORKDAY(A2,-5,D8:D10)

where D8:D10 is your holiday dates
 
Upvote 0

Forum statistics

Threads
1,223,883
Messages
6,175,168
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