Back-Dating to get an earlier date which excludes Holidays and Week-Offs
Dear Forum,
I am in need of Back-Dating in order to make payments, I am generating dates for me to deposit the payments in a Bank/Finacial Institution/Lender, however the dates generated need to be "X" days in advance if they fall on any Holidays or Week-Offs..
Now, there could be one or more Week-Offs for some Banks/Finacial Institutions/Lenders and not necessarily a Saturday and Sunday..so preferably it should be dynamic...
There would also be some Public Holidays on which the Bank would be closed.
Col A ----------------- Col B ----------------- Col C
Sr.No ----------------- Public Holidays ----------------- Date
1 ----------------- New Year's Day ----------------- 01-Jan-08
2 ----------------- Good Friday ----------------- 21-Mar-08
3 ----------------- Easter Monday ----------------- 24-Mar-08
4 ----------------- Victoria Day ----------------- 19-May-08
5 ----------------- Canada Day ----------------- 01-Jul-08
6 ----------------- Labour Day ----------------- 01-Sep-08
7 ----------------- Thanksgiving Day ----------------- 13-Oct-08
8 ----------------- Remembrance Day ----------------- 11-Nov-08
9 ----------------- Christmas ----------------- 25-Dec-08
10 ----------------- Boxing Day ----------------- 31-Dec-08
Lets say I Insert my date in F2 , G2 should contain the answer
and the Week-Offs are mentioned in the cells D2 ,D3 and D4.
D2--- WEEKLY-OFF 1----Tue
D3--- WEEKLY-OFF 2----Wed
D4--- WEEKLY-OFF 3----Thu.
Ex:- F2=Original Date = 21-Mar-08 (Fri)
The Date ( 21-Mar-08 Fri ) being a Holiday, the accurate answer considering there are no other Holidays earlier it should be (17-Mar-2008 Mon ) as there are 3 Week-Offs on Thursay,Wednesday and Tuesday.
Bookmarks