| Line 1: |
Line 1: |
| − | <div id="6SpaceContent" class="zcontent" align="left">
| + | =NETWORKDAYS(start_date, end_date, holidays)= |
| − | | |
| − | '''NETWORKDAYS'''(start_date,end_date,holidays)
| |
| | | | |
| | where, | | where, |
| | + | *'''start_date''' represents the starting date, |
| | + | *'''end_date''' represents the end date, and |
| | + | *'''holidays''' is an optional range of one or more dates to exclude from the working days. |
| | | | |
| − | '''start_date''' - a date that represents the start date | + | NETWORKDAYS() calculates the number of working days between '''start_date''' and '''end_date''' excluding weekends and holidays. |
| − | | |
| − | '''end_date''' - a date that represents the end date. | |
| − | | |
| − | '''holidays''' - an optional range of one or more dates to except from the working period
| |
| − | | |
| − | </div>
| |
| − | ----
| |
| − | <div id="1SpaceContent" class="zcontent" align="left">
| |
| − | | |
| − | Calci returns the number of working days between start_date and end_date except weekends and holidays.
| |
| − | | |
| − | </div>
| |
| − | ----
| |
| − | <div id="7SpaceContent" class="zcontent" align="left">
| |
| − | | |
| − | If any parameter is not valid date, NETWORKDAYS returns NaN.
| |
| − | | |
| − | </div>
| |
| − | ----
| |
| − | <div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
| |
| − | | |
| − | NETWORKDAYS
| |
| − | | |
| − | </div></div>
| |
| − | ----
| |
| − | <div id="8SpaceContent" class="zcontent" align="left">
| |
| | | | |
| − | Lets see an example in (Column2,Row1)
| + | == Description == |
| | | | |
| − | <nowiki>=NETWORKDAYS(R1C1,R2C1)</nowiki>
| + | NETWORKDAYS(start_date, end_date, holidays) |
| | | | |
| − | NETWORKDAYS returns 24.
| + | *'''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. |
| | | | |
| − | Consider another example (Column2,Row2)
| + | == Examples == |
| | | | |
| − | <nowiki>=NETWORKDAYS(R1C1,R2C1,[R4C1])</nowiki>
| + | Consider the following example that shows the use of NETWORKDAYS function: |
| | | | |
| − | NETWORKDAYS returns 23.
| |
| − |
| |
| − | Example in (Column2,Row3)
| |
| − |
| |
| − | <nowiki>=NETWORKDAYS(RIC1,R2C1,R3C1:R4C1)</nowiki>
| |
| − |
| |
| − | It returns 22.
| |
| − |
| |
| − | </div>
| |
| − | ----
| |
| − | <div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
| |
| − | ----
| |
| − | <div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
| |
| − | ----
| |
| − | <div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
| |
| − | ----
| |
| − | <div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
| |
| − | ----
| |
| | <div id="2SpaceContent" class="zcontent" align="left"> | | <div id="2SpaceContent" class="zcontent" align="left"> |
| | | | |
| | {| id="TABLE3" class="SpreadSheet blue" | | {| id="TABLE3" class="SpreadSheet blue" |
| | |- class="even" | | |- class="even" |
| | + | | class=" " | 6/1/2013 |
| | | class=" " | | | | class=" " | |
| − | | Column1 | + | | class=" " | |
| − | | Column2
| + | |
| − | | Column3 | |
| − | | Column4
| |
| | |- class="odd" | | |- class="odd" |
| − | | class=" " | Row1 | + | | class="sshl_f" | 7/30/2013 |
| − | | class=" " | 1/1/2008
| |
| − | | class="sshl_f" | 24
| |
| | | class=" " | | | | class=" " | |
| | | class=" " | | | | class=" " | |
| | + | |
| | |- class="even" | | |- class="even" |
| − | | class=" " | Row2 | + | | class=" " | 7/1/2013 |
| − | | class=" " | 2/2/2008
| |
| − | | class="sshl_f" | 23
| |
| | | class=" " | | | | class=" " | |
| − | | class=" " | | + | | class=" " | |
| | + | |
| | |- class="odd" | | |- class="odd" |
| − | | Row3
| + | | class=" " | 7/13/2013 |
| − | | class=" sshl_f " | 1/2/2008 | |
| − | | class="sshl_f" | 22
| |
| | | class=" " | | | | class=" " | |
| | | class=" " | | | | class=" " | |
| − | |- class="even"
| |
| − | | Row4
| |
| − | | class=" " | 1/18/2008
| |
| − | | class=" SelectTD ChangeBGColor SelectTD" |
| |
| − | <div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]] </div>
| |
| − | |
| |
| − | | class=" " |
| |
| − | |- class="odd"
| |
| − | | class=" " | Row5
| |
| − | | class=" " |
| |
| − | |
| |
| − | |
| |
| − | |
| |
| − | |- class="even"
| |
| − | | Row6
| |
| − | |
| |
| − | |
| |
| − | |
| |
| − | |
| |
| | |} | | |} |
| | | | |
| − | <div align="left">[[Image:calci1.gif]]</div></div>
| + | =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,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: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(DATE(2012,6,1),DATE(2012,12,31)): Calculates working days between two mentioned dates. Displays '''152''' as a result. |
| | + | |
| | + | == See Also == |
| | + | |
| | + | *[[Manuals/calci/DATE | DATE]] |
| | + | *[[Manuals/calci/WORKDAYS | WORKDAYS]] |
| | + | |
| | + | == References == |
| | + | |
| | + | *[http://en.wikipedia.org/wiki/Date_format_by_country Date Formats] |
| | + | *[http://en.wikipedia.org/wiki/Calendar_date Date] |