User:Syranzi/Documentation/How Tos/Calc: WORKDAY function

From Apache OpenOffice Wiki
Revision as of 15:17, 25 January 2011 by Syranzi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 日は休日と規定されています。

Template:Documentation/SeeAlso

Personal tools