Function to calculate Date like WORKDAY() but backward

chamdan

New Member
Joined
Dec 14, 2009
Messages
18
Did anyone created a Function that calculate date backward and takes into consideration weekends and Holidays the way WORKDAY() function would.

The goal is to obtain a date based on a End Date and a number of days back in time and taking into consideration weekends (Such as Saturday and Sunday non working days) as well as Holidays and therefore the researched date would equal the number of days + any non working days and any holidays.

The resulted date should give us the same ending date when applying the Workday(Start_day,days,Holidays).

Looking forward to hearing from any one out there.

Your help will be much appreciated.

Note: this function will resolve my trouble when applying the "SS", "FS" and "FF" when creating a Gantt chart.

Thank you in advance!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Days can be negative in the WORKDAY function.
 
Upvote 0
Thank you for your prompt reply! Do you mean that the number of days to be input can be negative? e.g. (-3) for instance? if so, then you saved me.
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,266
Members
448,953
Latest member
Dutchie_1

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