Hi all,
Please advise for applicable formula that can be use to count the maximum workdays. Below is the guideline and data currently availed. Purpose of request is to optimize the schedule to bear minimum cost (OT,
transport, etc) and resource assignment/delivery of my subcontractors.
Target:: Solve for Min Work Days excluding Holidays and as per below guideline.
Current Guideline for resource planning via excel of one Project. |
--Construction Working Days are from Monday to Saturday ( Sunday is a Regular Non-Working day) |
1. if a holiday falls on friday, there is no work <with pay> on the following day (saturday). |
2. if a holiday falls on Sunday, there is no work <with pay> on the following day (monday). |
3. there is work on monday after "easter Sunday". |
4. there is no work <with pay> if the day is between two holidays |
5. there is no work <with pay> if the day is between Sunday and a holiday - eg. 29Dec2014 |
Note: Eid’l Fitr and Eid al-Adha : 2 Muslim Holidays to be announced later and to be included in the List of holidays |
Start Work Date : | 20-Jan-14 (Mon) |
Tentative End Date : | 27-Dec-15 (Sun) |
List of Holidays | |
1-Jan-14 (Wed) | New Year |
31-Jan-14 (Fri) | Chinese New Year |
25-Feb-14 (Tue) | EDSA Revolution Anniversary |
9-Apr-14 (Wed) | Valor Day |
17-Apr-14 (Thu) | Maundy Thursday |
18-Apr-14 (Fri) | Good Friday |
19-Apr-14 (Sat) | Black Saturday |
20-Apr-14 (Sun) | Easter Sunday |
1-May-14 (Thu) | Labor Day |
12-Jun-14 (Thu) | Independence Day |
21-Aug-14 (Thu) | Ninoy Aquino Day |
25-Aug-14 (Mon) | Heroes Day |
1-Nov-14 (Sat) | All Saints Day |
30-Nov-14 (Sun) | Bonifacio Day |
24-Dec-14 (Wed) | Christmas Eve |
25-Dec-14 (Thu) | Christmas Day |
26-Dec-14 (Fri) | Special NW day |
30-Dec-14 (Tue) | Rizal Day |
31-Dec-14 (Wed) | New Years Eve |
1-Jan-15 (Thu) | New Year |
19-Feb-14 (Wed) | Chinese New Year |
25-Feb-15 (Wed) | EDSA Revolution Anniversary |
2-Apr-15 (Thu) | Maundy Thursday |
3-Apr-15 (Fri) | Good Friday |
4-Apr-15 (Sat) | Black Saturday |
5-Apr-15 (Sun) | Easter Sunday |
9-Apr-15 (Thu) | Valor Day |
1-May-15 (Fri) | Labor Day |
12-Jun-15 (Fri) | Independence Day |
21-Aug-15 (Fri) | Ninoy Aquino Day |
25-Aug-15 (Tue) | Heroes Day |
1-Nov-15 (Sun) | All Saints Day |
30-Nov-15 (Mon) | Bonifacio Day |
24-Dec-15 (Thu) | Cristmas Eve |
25-Dec-15 (Fri) | Christmas Day |
26-Dec-15 (Sat) | Addl Special |
30-Dec-15 (Wed) | Rizal Day |
31-Dec-15 (Thu) | New Years Eve |
The below formulas were extract from year 2006 forum and i am not sure if these can cope up with dynamics of 2 013 xlsx.
=SUM(INT((WEEKDAY(A1-{1,2,3,4,5,6},2)+A732-A1)/7))-(SUMPRODUCT(--(holidays>=start),--(holidays<=end))-SUMPRODUCT(--(WEEKDAY(holidays,2)=7),--(holidays>=start),--(holidays<=end)))
=SUMPRODUCT(INT((MAX(end_date,start_date)-WEEKDAY(MAX(end_date,start_date)+1-{2;3;4;5;6;7})-MIN(end_date,start_date)+8)/7))
-SUMPRODUCT(ISNUMBER(MATCH(WEEKDAY(holidays),{2;3;4 ;5;6;7},0))*(holidays>=MIN(end_date,start_date))*( holidays<=MAX(end_date,start_date)))
--
regards
dribler2014