Difference between revisions of "Manuals/calci/NETWORKDAYS"
Jump to navigation
Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''NETWORKDAYS'''(start_date,end_date,holidays) where, '''start_date''' - a date that represents the start da...") |
|||
Line 1: | Line 1: | ||
− | + | =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''' | + | NETWORKDAYS() calculates the number of working days between '''start_date''' and '''end_date''' excluding weekends and holidays. |
− | |||
− | '''end_date''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Description == | |
− | + | NETWORKDAYS(start_date, end_date, holidays) | |
− | + | *'''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. | ||
− | + | == Examples == | |
− | + | Consider the following example that shows the use of NETWORKDAYS function: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<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=" " | | ||
− | | | + | | class=" " | |
− | + | ||
− | | | ||
− | |||
|- class="odd" | |- class="odd" | ||
− | | class=" " | | + | | class="sshl_f" | 7/30/2013 |
− | |||
− | |||
| class=" " | | | class=" " | | ||
| class=" " | | | class=" " | | ||
+ | |||
|- class="even" | |- class="even" | ||
− | | class=" | + | | class=" " | 7/1/2013 |
− | |||
− | |||
| class=" " | | | class=" " | | ||
− | | class=" | + | | class=" " | |
+ | |||
|- class="odd" | |- class="odd" | ||
− | + | | class=" " | 7/13/2013 | |
− | | class=" | ||
− | |||
| class=" " | | | class=" " | | ||
| class=" " | | | class=" " | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | + | =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] |
Revision as of 15:44, 25 January 2014
NETWORKDAYS(start_date, end_date, holidays)
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.
NETWORKDAYS() calculates the number of working days between start_date and end_date excluding weekends and holidays.
Description
NETWORKDAYS(start_date, end_date, holidays)
- 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.
Examples
Consider the following example that shows the use of NETWORKDAYS function:
6/1/2013 | ||
7/30/2013 | ||
7/1/2013 | ||
7/13/2013 |
=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.