I want to subtract 10 days from a date and get result date excluding weekend and holidays.
Also, if issue date is less than result date then get remark as In TAT otherwise Out of TAT.
I am able to complete first step of subtracting 10 days from date but do not know how to exclude weekends or holidays. And caluculate difference in dates to update any comment.
Would appreciate your help in this regard.
Details:
1. Column S has Client Appointment Date
2. Column V has Issue Date
3. Column AA – Should get Result Date
4. Column Z – remarks
On update of Column S, Column AA should immediately give date subtracting 10 days from Client Appointment Date
But, date should not be weekend or holiday. If it is then result should be one day prior to Saturday and holiday and two days prior to Sunday.
On update of Issue Date, Column Z (Remarks) should give date compare result as "In TAT" or "Out of TAT", basis, Issue date is less than TAT date or not.
I have attached sample file for your reference.
Also, if issue date is less than result date then get remark as In TAT otherwise Out of TAT.
I am able to complete first step of subtracting 10 days from date but do not know how to exclude weekends or holidays. And caluculate difference in dates to update any comment.
Would appreciate your help in this regard.
Details:
1. Column S has Client Appointment Date
2. Column V has Issue Date
3. Column AA – Should get Result Date
4. Column Z – remarks
On update of Column S, Column AA should immediately give date subtracting 10 days from Client Appointment Date
But, date should not be weekend or holiday. If it is then result should be one day prior to Saturday and holiday and two days prior to Sunday.
On update of Issue Date, Column Z (Remarks) should give date compare result as "In TAT" or "Out of TAT", basis, Issue date is less than TAT date or not.
I have attached sample file for your reference.