Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: WORKDAY function"
From Apache OpenOffice Wiki
(http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_WORKDAY_function 日本語訳、作業中) |
|||
(One intermediate revision by one other user not shown) | |||
Line 18: | Line 18: | ||
<tt>'''WORKDAY(開始日付; 日数; 休日範囲)'''</tt> | <tt>'''WORKDAY(開始日付; 日数; 休日範囲)'''</tt> | ||
: 指定された<tt>'''「開始日」'''</tt><tt>から、'''「日数」'''</tt>で表す営業日数だけ後の日付を返します。 | : 指定された<tt>'''「開始日」'''</tt><tt>から、'''「日数」'''</tt>で表す営業日数だけ後の日付を返します。 | ||
− | : <tt>'''「日数」'''</tt> | + | : <tt>'''「日数」'''</tt>は数字です。(負数であれば、<tt>'''「開始日」'''</tt>より前の日付を導き出せます。) |
: 土曜日および日曜日は休日として想定されています。<tt>'''「休日範囲」'''</tt> (任意) は、土日以外で休日に含める日付の範囲です。 | : 土曜日および日曜日は休日として想定されています。<tt>'''「休日範囲」'''</tt> (任意) は、土日以外で休日に含める日付の範囲です。 | ||
Line 33: | Line 33: | ||
: セル D1 が 08 年 9 月 8 日、D2 が 08 年 12 月 25 日であれば、「08 年 9 月 9 日」にあたる日付・時刻のシリアル値を返します。この場合の 08 年 9 月 8 日は休日と規定されています。 | : セル D1 が 08 年 9 月 8 日、D2 が 08 年 12 月 25 日であれば、「08 年 9 月 9 日」にあたる日付・時刻のシリアル値を返します。この場合の 08 年 9 月 8 日は休日と規定されています。 | ||
− | {{ | + | {{SeeAlso|EN|関連事項 |
* [[Documentation/How_Tos/Calc: NETWORKDAYS function|NETWORKDAYS]] | * [[Documentation/How_Tos/Calc: NETWORKDAYS function|NETWORKDAYS]] | ||
* [[Documentation/How_Tos/Calc: EDATE function|EDATE]] | * [[Documentation/How_Tos/Calc: EDATE function|EDATE]] |
Latest revision as of 09:47, 17 July 2018
WORKDAY
WQRKDAY
Returns a date a given number of workdays away.
指定された営業日の日数分だけ離れた日付を返します。
This function is only available if the Analysis AddIn is installed.
この機能は、Analysis AddIn (分析アドイン) がインストールされている場合のみ使用可能です。
Syntax:
構文:
WORKDAY(startdate; days; hols_range)
- returns the date that is days workdays after the given date startdate.
- days is a number (which may be negative to find a date before startdate).
- Saturday and Sunday are assumed to be non-working days. hols_range (optional) is a range containing dates of other non-working days.
WORKDAY(開始日付; 日数; 休日範囲)
- 指定された「開始日」から、「日数」で表す営業日数だけ後の日付を返します。
- 「日数」は数字です。(負数であれば、「開始日」より前の日付を導き出せます。)
- 土曜日および日曜日は休日として想定されています。「休日範囲」 (任意) は、土日以外で休日に含める日付の範囲です。
Example:
例:
WORKDAY("2008-09-05"; 1)
- returns the date-time serial number for Monday 8Sep08. 5Sep08 is a Friday.
WORKDAY("2008-09-05"; 1)
- 08 年 9 月 8 日 (月) にあたる日付・時刻のシリアル値を返します。08 年 9 月 5 日は金曜日です。
WORKDAY("2008-09-05"; 1; D1:D2)
- where D1 contains 8Sep08 and D2 contains 25Dec08, returns the date-time serial number for 9Sep08. The 8Sep08 is specified as a holiday.
WORKDAY("2008-09-05"; 1; D1:D2)
- セル D1 が 08 年 9 月 8 日、D2 が 08 年 12 月 25 日であれば、「08 年 9 月 9 日」にあたる日付・時刻のシリアル値を返します。この場合の 08 年 9 月 8 日は休日と規定されています。
{{#switch:EN
| RU = Смотрите также:
| UA = Дивіться також:
| EN = See Also
| PT = Ver também
| #default = See Also
}}
関連事項