Advanced-excel-functions-advanced-excel-date-time-networkdays-function
提供:Dev Guides
日付と時刻-NETWORKDAYS関数
説明
NETWORKDAYS関数は、start_dateとend_dateの間の稼働日数を返します。 就業日には、週末と祝日で特定される日付は含まれません。
構文
引数
Argument | Description | Required/Optional |
---|---|---|
Start_date | A date that represents the start date. | Required |
End_date | A date that represents the end date. | Required |
Holidays |
An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. リストは、日付を含むセル範囲、または日付を表すシリアル番号の配列定数のいずれかです。 |
Optional |
ノート
- Microsoft Excelは、日付を連続したシリアル番号として保存するため、計算に使用できます。 デフォルトでは、1900年1月1日はシリアル番号1、2012年1月1日は1900年1月1日から40,909日後のシリアル番号40909です。
- 引数が有効な日付でない場合、NETWORKDAYSは#VALUE!を返します。 エラー値 + Excel 2007、Excel 2010、Excel 2013、Excel 2016
適用範囲
Excel 2007、Excel 2010、Excel 2013、Excel 2016