forked from amazingfate/help
69 lines
4.2 KiB
XML
69 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--***********************************************************************
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: func_workday.xhp,v $
|
|
*
|
|
* $Revision: 1.4 $
|
|
*
|
|
* last change: $Author: rt $ $Date: 2005-09-07 18:08:20 $
|
|
*
|
|
* The Contents of this file are made available subject to
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
|
*
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
************************************************************************-->
|
|
|
|
<helpdocument version="1.0">
|
|
<meta>
|
|
<topic id="textscalc01func_workdayxml" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">WORKDAY</title>
|
|
<filename>/text/scalc/01/func_workday.xhp</filename>
|
|
</topic>
|
|
<history>
|
|
<created date="2004-05-19T17:10:11">Extracted from 04060102</created>
|
|
<lastedited date="2004-09-14T09:27:59"/>
|
|
</history>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id3149012"><bookmark_value>WORKDAY function</bookmark_value>
|
|
</bookmark>
|
|
<bookmark xml-lang="en-US" branch="hid/HID_AAI_FUNC_WORKDAY" id="bm_id3150028" localize="false"/>
|
|
<paragraph role="heading" id="hd_id3149012" xml-lang="en-US" level="2" l10n="U" oldref="186"><variable id="workday"><link href="text/scalc/01/func_workday.xhp">WORKDAY</link>
|
|
</variable></paragraph>
|
|
<embed href="text/shared/00/00000001.xhp#add"/>
|
|
<paragraph role="paragraph" id="par_id3149893" xml-lang="en-US" l10n="U" oldref="187"><ahelp hid="HID_AAI_FUNC_WORKDAY"> The result is a date number that can be formatted as a date. You then see the date of a day that is a certain number of <emph>Workdays</emph> away from the <emph>Start date</emph>.</ahelp></paragraph>
|
|
<paragraph role="heading" id="hd_id3146944" xml-lang="en-US" level="3" l10n="U" oldref="188">Syntax</paragraph>
|
|
<paragraph role="paragraph" id="par_id3154844" xml-lang="en-US" l10n="U" oldref="189">WORKDAY (Start date;Days;Holidays)</paragraph>
|
|
<paragraph role="paragraph" id="par_id3147469" xml-lang="en-US" l10n="U" oldref="190">
|
|
<emph>Start date</emph>: the date from when the calculation is carried out. If the start date is a workday, the day is included in the calculation.</paragraph>
|
|
<paragraph role="paragraph" id="par_id3153038" xml-lang="en-US" l10n="U" oldref="191">
|
|
<emph>Days</emph>: the number of workdays. Positive value for a result after the start date, negative value for a result before the start date.</paragraph>
|
|
<paragraph role="paragraph" id="par_id3150693" xml-lang="en-US" l10n="U" oldref="192">
|
|
<emph>Holidays</emph>: list of optional holidays. These are non-working days. Enter a cell range in which the holidays are listed individually.</paragraph>
|
|
<paragraph role="heading" id="hd_id3150141" xml-lang="en-US" level="3" l10n="U" oldref="193">Example</paragraph>
|
|
<paragraph role="paragraph" id="par_id3152782" xml-lang="en-US" l10n="U" oldref="194">What date comes 17 workdays after 1 December 2001? Enter the start date "12/1/2001" in C3 and the number of workdays in D3. Cells F3 to J3 contain the following Christmas and New Year holidays: "12/24/2001", "12/25/2001", "12/26/2001", "12/31/2001", "1/1/2002".</paragraph>
|
|
<paragraph role="paragraph" id="par_id3146142" xml-lang="en-US" l10n="CHG" oldref="195">=WORKDAY(C3;D3;F3:J3) returns 12/28/2001. Format the serial date number as a date.<comment>UFI: fixed #i30213#</comment></paragraph>
|
|
</body>
|
|
</helpdocument>
|