| Line 1: |
Line 1: |
| − | =NETWORKDAYS(start_date, end_date, holidays)= | + | <div style="font-size:30px">'''NETWORKDAYS (start_date,end_date,holidays)'''</div><br/> |
| − | | |
| | where, | | where, |
| | *'''start_date''' represents the starting date, | | *'''start_date''' represents the starting date, |
| | *'''end_date''' represents the end date, and | | *'''end_date''' represents the end date, and |
| | *'''holidays''' is an optional range of one or more dates to exclude from the working days. | | *'''holidays''' is an optional range of one or more dates to exclude from the working days. |
| − | | + | **NETWORKDAYS() returns the number of whole workdays between two dates. |
| − | NETWORKDAYS() calculates the number of working days between '''start_date''' and '''end_date''' excluding weekends and holidays. | |
| | | | |
| | == Description == | | == Description == |
| Line 13: |
Line 11: |
| | | | |
| | *'''start_date''', '''end_date''' and '''holidays''' should be entered either in 'date format' or 'dates returned using formulas'. | | *'''start_date''', '''end_date''' and '''holidays''' should be entered either in 'date format' or 'dates returned using formulas'. |
| − | *If date values are invalid, Calci displays #N/A error message. | + | *If date values are invalid, Calci displays #NULL error message. |
| | + | *We can use the DD/MM/YYYY format also. For Example:"14/5/2005[DD/MM/YYYY]". |
| | + | *We can use Range values also. For Example: NETWORKDAYS(DATE(2012,6,1),#12/31/2012-12/31/2013) |
| | + | * #date notation needs mm/dd/yy format . |
| | | | |
| | == Examples == | | == Examples == |
| Line 43: |
Line 44: |
| | |} | | |} |
| | | | |
| − | =NETWORKDAYS(A1,A2): Calculates working days in the range of cells A1 and A2. Weekend days are excluded. Displays '''42''' as a result. | + | =NETWORKDAYS(A1,A2): Calculates working days in the range of cells A1 and A2. Weekend days are excluded. <br />Displays '''42''' as a result. |
| − | =NETWORKDAYS(A1,A2,A3): Calculates working days in the range of cells A1 and A2 and a holiday in A3. Weekend days are excluded. Displays '''41''' as a result. | + | =NETWORKDAYS(A1,A2,A3): Calculates working days in the range of cells A1 and A2 and a holiday in A3. <br />Weekend days are excluded. Displays '''41''' as a result. |
| − | =NETWORKDAYS(A1,A2,A3:A4):Calculates working days in the range of cells A1 and A2 and holidays in A3, A4. Weekend days are excluded. A4 ovelapped with weekend day. Displays '''41''' as a result. | + | =NETWORKDAYS(A1,A2,A3:A4):Calculates working days in the range of cells A1 and A2 and holidays in A3, A4. <br />Weekend days are excluded, A4 is overlapped with weekend day. Displays '''41''' as a result. |
| − | =NETWORKDAYS(DATE(2012,6,1),DATE(2012,12,31)): Calculates working days between two mentioned dates. Displays '''152''' as a result. | + | =NETWORKDAYS(DATE(2012,6,1),DATE(2012,12,31)): Calculates working days between two mentioned dates. <br />Displays '''152''' as a result. |
| | + | |
| | + | ==Related Videos== |
| | + | |
| | + | {{#ev:youtube|ZsT7i1Ckc6c|280|center|NETWORKDAYS}} |
| | | | |
| | == See Also == | | == See Also == |
| | | | |
| | *[[Manuals/calci/DATE | DATE]] | | *[[Manuals/calci/DATE | DATE]] |
| − | *[[Manuals/calci/WORKDAYS | WORKDAYS]] | + | *[[Manuals/calci/WORKDAY | WORKDAY]] |
| | | | |
| | == References == | | == References == |
| Line 57: |
Line 62: |
| | *[http://en.wikipedia.org/wiki/Date_format_by_country Date Formats] | | *[http://en.wikipedia.org/wiki/Date_format_by_country Date Formats] |
| | *[http://en.wikipedia.org/wiki/Calendar_date Date] | | *[http://en.wikipedia.org/wiki/Calendar_date Date] |
| | + | |
| | + | |
| | + | |
| | + | |
| | + | *[[Z_API_Functions | List of Main Z Functions]] |
| | + | |
| | + | *[[ Z3 | Z3 home ]] |