1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <helpdocument version=
"1.0">
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: 04060118.xhp,v $
14 * $Revision: 1.11.4.1 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
38 <topic id=
"textscalc0104060118xml" indexer=
"include">
39 <title id=
"tit" xml-lang=
"en-US">Financial Functions Part Three
</title>
40 <filename>/text/scalc/
01/
04060118.xhp
</filename>
44 <paragraph role=
"heading" id=
"hd_id3146780" xml-lang=
"en-US" level=
"1" l10n=
"U" oldref=
"1">Financial Functions Part Three
</paragraph>
46 <section id=
"oddfprice">
47 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3145112"><bookmark_value>ODDFPRICE function
</bookmark_value>
48 <bookmark_value>prices;securities with irregular first interest date
</bookmark_value>
49 </bookmark><comment>mw added one entry
</comment>
50 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_ODDFPRICE" id=
"bm_id3146107" localize=
"false"/>
51 <paragraph role=
"heading" id=
"hd_id3145112" xml-lang=
"en-US" level=
"2" oldref=
"71">ODDFPRICE
</paragraph>
52 <paragraph role=
"paragraph" id=
"par_id3147250" xml-lang=
"en-US" l10n=
"U" oldref=
"72"><ahelp hid=
"HID_AAI_FUNC_ODDFPRICE">Calculates the price per
100 currency units par value of a security, if the first interest date falls irregularly.
</ahelp></paragraph>
53 <paragraph role=
"heading" id=
"hd_id3153074" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"73">Syntax
</paragraph>
54 <paragraph role=
"code" id=
"par_id3146098" xml-lang=
"en-US" l10n=
"U" oldref=
"74">ODDFPRICE(Settlement; Maturity; Issue; FirstCoupon; Rate; Yield; Redemption; Frequency; Basis)
</paragraph>
55 <paragraph role=
"paragraph" id=
"par_id3153337" xml-lang=
"en-US" l10n=
"U" oldref=
"75">
56 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
57 <paragraph role=
"paragraph" id=
"par_id3149051" xml-lang=
"en-US" l10n=
"U" oldref=
"76">
58 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
59 <paragraph role=
"paragraph" id=
"par_id3147297" xml-lang=
"en-US" l10n=
"U" oldref=
"77">
60 <emph>Issue
</emph> is the date of issue of the security.
</paragraph>
61 <paragraph role=
"paragraph" id=
"par_id3150393" xml-lang=
"en-US" l10n=
"U" oldref=
"78">
62 <emph>FirstCoupon
</emph> is the first interest date of the security.
</paragraph>
63 <paragraph role=
"paragraph" id=
"par_id3147402" xml-lang=
"en-US" l10n=
"U" oldref=
"79">
64 <emph>Rate
</emph> is the annual rate of interest.
</paragraph>
65 <paragraph role=
"paragraph" id=
"par_id3151387" xml-lang=
"en-US" l10n=
"U" oldref=
"80">
66 <emph>Yield
</emph> is the annual yield of the security.
</paragraph>
67 <paragraph role=
"paragraph" id=
"par_id3153023" xml-lang=
"en-US" l10n=
"U" oldref=
"81">
68 <emph>Redemption
</emph> is the redemption value per
100 currency units of par value.
</paragraph>
69 <paragraph role=
"paragraph" id=
"par_id3150539" xml-lang=
"en-US" l10n=
"U" oldref=
"82">
70 <emph>Frequency
</emph> is number of interest payments per year (
1,
2 or
4).
</paragraph>
71 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
73 <section id=
"oddfyield">
74 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3157871"><bookmark_value>ODDFYIELD function
</bookmark_value>
76 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_ODDFYIELD" id=
"bm_id3149723" localize=
"false"/>
77 <paragraph role=
"heading" id=
"hd_id3157871" xml-lang=
"en-US" level=
"2" oldref=
"87">ODDFYIELD
</paragraph>
78 <paragraph role=
"paragraph" id=
"par_id3147414" xml-lang=
"en-US" l10n=
"U" oldref=
"88"><ahelp hid=
"HID_AAI_FUNC_ODDFYIELD">Calculates the yield of a security if the first interest date falls irregularly.
</ahelp></paragraph>
79 <paragraph role=
"heading" id=
"hd_id3150651" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"89">Syntax
</paragraph>
80 <paragraph role=
"code" id=
"par_id3152982" xml-lang=
"en-US" l10n=
"U" oldref=
"90">ODDFYIELD(Settlement; Maturity; Issue; FirstCoupon; Rate; Price; Redemption; Frequency; Basis)
</paragraph>
81 <paragraph role=
"paragraph" id=
"par_id3157906" xml-lang=
"en-US" l10n=
"U" oldref=
"91">
82 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
83 <paragraph role=
"paragraph" id=
"par_id3150026" xml-lang=
"en-US" l10n=
"U" oldref=
"92">
84 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
85 <paragraph role=
"paragraph" id=
"par_id3149012" xml-lang=
"en-US" l10n=
"U" oldref=
"93">
86 <emph>Issue
</emph> is the date of issue of the security.
</paragraph>
87 <paragraph role=
"paragraph" id=
"par_id3148725" xml-lang=
"en-US" l10n=
"U" oldref=
"94">
88 <emph>FirstCoupon
</emph> is the first interest period of the security.
</paragraph>
89 <paragraph role=
"paragraph" id=
"par_id3150465" xml-lang=
"en-US" l10n=
"U" oldref=
"95">
90 <emph>Rate
</emph> is the annual rate of interest.
</paragraph>
91 <paragraph role=
"paragraph" id=
"par_id3146940" xml-lang=
"en-US" l10n=
"U" oldref=
"96">
92 <emph>Price
</emph> is the price of the security.
</paragraph>
93 <paragraph role=
"paragraph" id=
"par_id3149893" xml-lang=
"en-US" l10n=
"U" oldref=
"97">
94 <emph>Redemption
</emph> is the redemption value per
100 currency units of par value.
</paragraph>
95 <paragraph role=
"paragraph" id=
"par_id3148888" xml-lang=
"en-US" l10n=
"U" oldref=
"98">
96 <emph>Frequency
</emph> is number of interest payments per year (
1,
2 or
4).
</paragraph>
97 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
99 <section id=
"oddlprice">
100 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3153933"><bookmark_value>ODDLPRICE function
</bookmark_value>
102 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_ODDLPRICE" id=
"bm_id3145596" localize=
"false"/>
103 <paragraph role=
"heading" id=
"hd_id3153933" xml-lang=
"en-US" level=
"2" oldref=
"103">ODDLPRICE
</paragraph>
104 <paragraph role=
"paragraph" id=
"par_id3145145" xml-lang=
"en-US" l10n=
"U" oldref=
"104"><ahelp hid=
"HID_AAI_FUNC_ODDLPRICE">Calculates the price per
100 currency units par value of a security, if the last interest date falls irregularly.
</ahelp></paragraph>
105 <paragraph role=
"heading" id=
"hd_id3152784" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"105">Syntax
</paragraph>
106 <paragraph role=
"code" id=
"par_id3155262" xml-lang=
"en-US" l10n=
"U" oldref=
"106">ODDLPRICE(Settlement; Maturity; LastInterest; Rate; Yield; Redemption; Frequency; Basis)
</paragraph>
107 <paragraph role=
"paragraph" id=
"par_id3149689" xml-lang=
"en-US" l10n=
"U" oldref=
"107">
108 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
109 <paragraph role=
"paragraph" id=
"par_id3148753" xml-lang=
"en-US" l10n=
"U" oldref=
"108">
110 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
111 <paragraph role=
"paragraph" id=
"par_id3150861" xml-lang=
"en-US" l10n=
"U" oldref=
"109">
112 <emph>LastInterest
</emph> is the last interest date of the security.
</paragraph>
113 <paragraph role=
"paragraph" id=
"par_id3155831" xml-lang=
"en-US" l10n=
"U" oldref=
"110">
114 <emph>Rate
</emph> is the annual rate of interest.
</paragraph>
115 <paragraph role=
"paragraph" id=
"par_id3153328" xml-lang=
"en-US" l10n=
"U" oldref=
"111">
116 <emph>Yield
</emph> is the annual yield of the security.
</paragraph>
117 <paragraph role=
"paragraph" id=
"par_id3149186" xml-lang=
"en-US" l10n=
"U" oldref=
"112">
118 <emph>Redemption
</emph> is the redemption value per
100 currency units of par value.
</paragraph>
119 <paragraph role=
"paragraph" id=
"par_id3149726" xml-lang=
"en-US" l10n=
"U" oldref=
"113">
120 <emph>Frequency
</emph> is number of interest payments per year (
1,
2 or
4).
</paragraph>
121 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
122 <paragraph role=
"heading" id=
"hd_id3153111" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"114">Example
</paragraph>
123 <paragraph role=
"paragraph" id=
"par_id3152999" xml-lang=
"en-US" l10n=
"U" oldref=
"115">Settlement date: February
7 1999, maturity date: June
15 1999, last interest: October
15 1998. Interest rate:
3.75 per cent, yield:
4.05 per cent, redemption value:
100 currency units, frequency of payments: half-yearly =
2, basis: =
0</paragraph>
124 <paragraph role=
"paragraph" id=
"par_id3148567" xml-lang=
"en-US" l10n=
"U" oldref=
"116">The price per
100 currency units per value of a security, which has an irregular last interest date, is calculated as follows:
</paragraph>
125 <paragraph role=
"paragraph" id=
"par_id3150332" xml-lang=
"en-US" l10n=
"CHG" oldref=
"117">=ODDLPRICE(
"1999-02-07";
"1999-06-15";
"1998-10-15";
0.0375;
0.0405;
100;
2;
0) returns
99.87829.
</paragraph>
127 <section id=
"oddlyield">
128 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3153564"><bookmark_value>ODDLYIELD function
</bookmark_value>
130 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_ODDLYIELD" id=
"bm_id3153732" localize=
"false"/>
131 <paragraph role=
"heading" id=
"hd_id3153564" xml-lang=
"en-US" level=
"2" oldref=
"118">ODDLYIELD
</paragraph>
132 <paragraph role=
"paragraph" id=
"par_id3158002" xml-lang=
"en-US" l10n=
"U" oldref=
"119"><ahelp hid=
"HID_AAI_FUNC_ODDLYIELD">Calculates the yield of a security if the last interest date falls irregularly.
</ahelp></paragraph>
133 <paragraph role=
"heading" id=
"hd_id3147366" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"120">Syntax
</paragraph>
134 <paragraph role=
"code" id=
"par_id3150018" xml-lang=
"en-US" l10n=
"U" oldref=
"121">ODDLYIELD(Settlement; Maturity; LastInterest; Rate; Price; Redemption; Frequency; Basis)
</paragraph>
135 <paragraph role=
"paragraph" id=
"par_id3159132" xml-lang=
"en-US" l10n=
"U" oldref=
"122">
136 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
137 <paragraph role=
"paragraph" id=
"par_id3150134" xml-lang=
"en-US" l10n=
"U" oldref=
"123">
138 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
139 <paragraph role=
"paragraph" id=
"par_id3145245" xml-lang=
"en-US" l10n=
"U" oldref=
"124">
140 <emph>LastInterest
</emph> is the last interest date of the security.
</paragraph>
141 <paragraph role=
"paragraph" id=
"par_id3151014" xml-lang=
"en-US" l10n=
"U" oldref=
"125">
142 <emph>Rate
</emph> is the annual rate of interest.
</paragraph>
143 <paragraph role=
"paragraph" id=
"par_id3149003" xml-lang=
"en-US" l10n=
"U" oldref=
"126">
144 <emph>Price
</emph> is the price of the security.
</paragraph>
145 <paragraph role=
"paragraph" id=
"par_id3148880" xml-lang=
"en-US" l10n=
"U" oldref=
"127">
146 <emph>Redemption
</emph> is the redemption value per
100 currency units of par value.
</paragraph>
147 <paragraph role=
"paragraph" id=
"par_id3155622" xml-lang=
"en-US" l10n=
"U" oldref=
"128">
148 <emph>Frequency
</emph> is number of interest payments per year (
1,
2 or
4).
</paragraph>
149 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
150 <paragraph role=
"heading" id=
"hd_id3145303" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"129">Example
</paragraph>
151 <paragraph role=
"paragraph" id=
"par_id3145350" xml-lang=
"en-US" l10n=
"U" oldref=
"130">Settlement date: April
20 1999, maturity date: June
15 1999, last interest: October
15 1998. Interest rate:
3.75 per cent, price:
99.875 currency units, redemption value:
100 currency units, frequency of payments: half-yearly =
2, basis: =
0</paragraph>
152 <paragraph role=
"paragraph" id=
"par_id3157990" xml-lang=
"en-US" l10n=
"U" oldref=
"131">The yield of the security, that has an irregular last interest date, is calculated as follows:
</paragraph>
153 <paragraph role=
"paragraph" id=
"par_id3150572" xml-lang=
"en-US" l10n=
"CHG" oldref=
"132">=ODDLYIELD(
"1999-04-20";
"1999-06-15";
"1998-10-15";
0.0375;
99.875;
100;
2;
0) returns
0.044873 or
4.4873%.
</paragraph>
156 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3148768"><bookmark_value>calculating;variable declining depreciations
</bookmark_value>
157 <bookmark_value>depreciations;variable declining
</bookmark_value>
158 <bookmark_value>VDB function
</bookmark_value>
160 <bookmark xml-lang=
"en-US" branch=
"hid/HID_FUNC_VDB" id=
"bm_id3145624" localize=
"false"/>
161 <paragraph role=
"heading" id=
"hd_id3148768" xml-lang=
"en-US" level=
"2" oldref=
"222">VDB
</paragraph>
162 <paragraph role=
"paragraph" id=
"par_id3154636" xml-lang=
"en-US" l10n=
"U" oldref=
"223"><ahelp hid=
"HID_FUNC_VDB">Returns the depreciation of an asset for a specified or partial period using a variable declining balance method.
</ahelp></paragraph>
163 <paragraph role=
"heading" id=
"hd_id3155519" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"224">Syntax
</paragraph>
164 <paragraph role=
"code" id=
"par_id3149025" xml-lang=
"en-US" l10n=
"U" oldref=
"225">VDB(Cost; Salvage; Life; S; End; Factor; Type)
</paragraph>
165 <paragraph role=
"paragraph" id=
"par_id3150692" xml-lang=
"en-US" l10n=
"U" oldref=
"226">
166 <emph>Cost
</emph> is the initial value of an asset.
</paragraph>
167 <paragraph role=
"paragraph" id=
"par_id3155369" xml-lang=
"en-US" l10n=
"U" oldref=
"227">
168 <emph>Salvage
</emph> is the value of an asset at the end of the depreciation.
</paragraph>
169 <paragraph role=
"paragraph" id=
"par_id3154954" xml-lang=
"en-US" l10n=
"U" oldref=
"228">
170 <emph>Life
</emph> is the depreciation duration of the asset.
</paragraph>
171 <paragraph role=
"paragraph" id=
"par_id3152817" xml-lang=
"en-US" l10n=
"U" oldref=
"229">
172 <emph>S
</emph> is the start of the depreciation. A must be entered in the same date unit as the duration.
</paragraph>
173 <paragraph role=
"paragraph" id=
"par_id3153221" xml-lang=
"en-US" l10n=
"U" oldref=
"230">
174 <emph>End
</emph> is the end of the depreciation.
</paragraph>
175 <paragraph role=
"paragraph" id=
"par_id3147536" xml-lang=
"en-US" l10n=
"CHG" oldref=
"231">
176 <emph>Factor
</emph> (optional) is the depreciation factor. Factor =
2 is double rate depreciation.
</paragraph>
177 <paragraph role=
"paragraph" id=
"par_id3154865" xml-lang=
"en-US" l10n=
"CHG" oldref=
"232">
178 <emph>Type
</emph>is an optional parameter. Type =
1 means a switch to linear depreciation. In Type =
0 no switch is made.
</paragraph>
179 <paragraph role=
"paragraph" id=
"par_idN10A0D" xml-lang=
"en-US" l10n=
"NEW">
180 <embedvar href=
"text/scalc/00/00000004.xhp#optional"/>
182 <paragraph role=
"heading" id=
"hd_id3148429" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"233">Example
</paragraph>
183 <paragraph role=
"paragraph" id=
"par_id3153927" xml-lang=
"en-US" l10n=
"U" oldref=
"234">What is the declining-balance double-rate depreciation for a period if the initial cost is
35,
000 currency units and the value at the end of the depreciation is
7,
500 currency units. The depreciation period is
3 years. The depreciation from the
10th to the
20th period is calculated.
</paragraph>
184 <paragraph role=
"paragraph" id=
"par_id3155991" xml-lang=
"en-US" l10n=
"U" oldref=
"235">
185 <item type=
"input">=VDB(
35000;
7500;
36;
10;
20;
2)
</item> =
8603.80 currency units. The depreciation during the period between the
10th and the
20th period is
8,
603.80 currency units.
</paragraph>
188 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3147485"><bookmark_value>calculating;internal rates of return, irregular payments
</bookmark_value>
189 <bookmark_value>internal rates of return;irregular payments
</bookmark_value>
190 <bookmark_value>XIRR function
</bookmark_value>
191 </bookmark><comment>mw changed
"calculating;..." and
"internal rates of return"</comment>
192 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_XIRR" id=
"bm_id3083443" localize=
"false"/>
193 <paragraph role=
"heading" id=
"hd_id3147485" xml-lang=
"en-US" level=
"2" oldref=
"193">XIRR
</paragraph>
194 <paragraph role=
"paragraph" id=
"par_id3145614" xml-lang=
"en-US" l10n=
"U" oldref=
"194"><ahelp hid=
"HID_AAI_FUNC_XIRR">Calculates the internal rate of return for a list of payments which take place on different dates.
</ahelp> The calculation is based on a
365 days per year basis, ignoring leap years.
</paragraph>
195 <paragraph role=
"paragraph" id=
"par_idN10E62" xml-lang=
"en-US">If the payments take place at regular intervals, use the IRR function.
</paragraph>
196 <paragraph role=
"heading" id=
"hd_id3146149" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"195">Syntax
</paragraph>
197 <paragraph role=
"code" id=
"par_id3149826" xml-lang=
"en-US" l10n=
"U" oldref=
"196">XIRR(Values; Dates; Guess)
</paragraph>
198 <paragraph role=
"paragraph" id=
"par_id3163821" xml-lang=
"en-US" l10n=
"U" oldref=
"197">
199 <emph>Values
</emph> and
<emph>Dates
</emph> refer to a series of payments and the series of associated date values. The first pair of dates defines the start of the payment plan. All other date values must be later, but need not be in any order. The series of values must contain at least one negative and one positive value (receipts and deposits).
</paragraph>
200 <paragraph role=
"paragraph" id=
"par_id3149708" xml-lang=
"en-US" l10n=
"U" oldref=
"198">
201 <emph>Guess
</emph> (optional) is a guess that can be input for the internal rate of return. The default is
10%.
</paragraph>
202 <paragraph role=
"heading" id=
"hd_id3145085" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"199">Example
</paragraph>
203 <paragraph role=
"paragraph" id=
"par_id3149273" xml-lang=
"en-US" l10n=
"U" oldref=
"200">Calculation of the internal rate of return for the following five payments:
</paragraph>
204 <table id=
"tbl_id3152970">
209 <paragraph role=
"paragraph" id=
"par_id3155838" xml-lang=
"en-US" l10n=
"U" oldref=
"305">A
</paragraph>
212 <paragraph role=
"paragraph" id=
"par_id3152934" xml-lang=
"en-US" l10n=
"U" oldref=
"306">B
</paragraph>
215 <paragraph role=
"paragraph" id=
"par_id3154638" xml-lang=
"en-US" l10n=
"U" oldref=
"307">C
</paragraph>
220 <paragraph role=
"paragraph" id=
"par_id3147083" xml-lang=
"en-US" l10n=
"U" oldref=
"308">1</paragraph>
223 <paragraph role=
"paragraph" id=
"par_id3151187" xml-lang=
"en-US" l10n=
"CHG" oldref=
"309">2001-
01-
01</paragraph>
226 <paragraph role=
"paragraph" id=
"par_id3145212" xml-lang=
"en-US" l10n=
"U" oldref=
"201">-
<item type=
"input">10000</item>
230 <paragraph role=
"paragraph" id=
"par_id3146856" xml-lang=
"en-US" l10n=
"U" oldref=
"202">
231 <item type=
"input">Received
</item>
237 <paragraph role=
"paragraph" id=
"par_id3153277" xml-lang=
"en-US" l10n=
"U" oldref=
"310">2</paragraph>
240 <paragraph role=
"paragraph" id=
"par_id3154052" xml-lang=
"en-US" l10n=
"CHG" oldref=
"203">2001-
01-
02</paragraph>
243 <paragraph role=
"paragraph" id=
"par_id3151297" xml-lang=
"en-US" l10n=
"U" oldref=
"204">
244 <item type=
"input">2000</item>
248 <paragraph role=
"paragraph" id=
"par_id3149985" xml-lang=
"en-US" l10n=
"U" oldref=
"205">
249 <item type=
"input">Deposited
</item>
255 <paragraph role=
"paragraph" id=
"par_id3154744" xml-lang=
"en-US" l10n=
"U" oldref=
"311">3</paragraph>
258 <paragraph role=
"paragraph" id=
"par_id3153151" xml-lang=
"en-US" l10n=
"CHG" oldref=
"206">2001-
03-
15</paragraph>
261 <paragraph role=
"paragraph" id=
"par_id3145657" xml-lang=
"en-US" l10n=
"U" oldref=
"207">2500</paragraph>
268 <paragraph role=
"paragraph" id=
"par_id3155101" xml-lang=
"en-US" l10n=
"U" oldref=
"312">4</paragraph>
271 <paragraph role=
"paragraph" id=
"par_id3146894" xml-lang=
"en-US" l10n=
"CHG" oldref=
"208">2001-
05-
12</paragraph>
274 <paragraph role=
"paragraph" id=
"par_id3143231" xml-lang=
"en-US" l10n=
"U" oldref=
"209">5000</paragraph>
281 <paragraph role=
"paragraph" id=
"par_id3156012" xml-lang=
"en-US" l10n=
"U" oldref=
"313">5</paragraph>
284 <paragraph role=
"paragraph" id=
"par_id3149758" xml-lang=
"en-US" l10n=
"CHG" oldref=
"210">2001-
08-
10</paragraph>
287 <paragraph role=
"paragraph" id=
"par_id3147495" xml-lang=
"en-US" l10n=
"U" oldref=
"211">1000</paragraph>
294 <paragraph role=
"paragraph" id=
"par_id3152793" xml-lang=
"en-US" l10n=
"U" oldref=
"212">=XIRR(B1:B5; A1:A5;
0.1) returns
0.1828.
</paragraph>
297 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3149198"><bookmark_value>XNPV function
</bookmark_value>
299 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_XNPV" id=
"bm_id3151172" localize=
"false"/>
300 <paragraph role=
"heading" id=
"hd_id3149198" xml-lang=
"en-US" level=
"2" oldref=
"213">XNPV
</paragraph>
301 <paragraph role=
"paragraph" id=
"par_id3153904" xml-lang=
"en-US" l10n=
"U" oldref=
"214"><ahelp hid=
"HID_AAI_FUNC_XNPV">Calculates the capital value (net present value)for a list of payments which take place on different dates.
</ahelp> The calculation is based on a
365 days per year basis, ignoring leap years.
</paragraph>
302 <paragraph role=
"paragraph" id=
"par_idN11138" xml-lang=
"en-US">If the payments take place at regular intervals, use the NPV function.
</paragraph>
303 <paragraph role=
"heading" id=
"hd_id3155323" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"215">Syntax
</paragraph>
304 <paragraph role=
"code" id=
"par_id3150117" xml-lang=
"en-US" l10n=
"U" oldref=
"216">XNPV(Rate; Values; Dates)
</paragraph>
305 <paragraph role=
"paragraph" id=
"par_id3153100" xml-lang=
"en-US" l10n=
"U" oldref=
"217">
306 <emph>Rate
</emph> is the internal rate of return for the payments.
</paragraph>
307 <paragraph role=
"paragraph" id=
"par_id3155395" xml-lang=
"en-US" l10n=
"U" oldref=
"218">
308 <emph>Values
</emph> and
<emph>Dates
</emph> refer to a series of payments and the series of associated date values. The first pair of dates defines the start of the payment plan. All other date values must be later, but need not be in any order. The series of values must contain at least one negative and one positive value (receipts and deposits)
</paragraph>
309 <paragraph role=
"heading" id=
"hd_id3148832" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"219">Example
</paragraph>
310 <paragraph role=
"paragraph" id=
"par_id3150525" xml-lang=
"en-US" l10n=
"U" oldref=
"220">Calculation of the net present value for the above-mentioned five payments for a notional internal rate of return of
6%.
</paragraph>
311 <paragraph role=
"paragraph" id=
"par_id3149910" xml-lang=
"en-US" l10n=
"U" oldref=
"221">
312 <item type=
"input">=XNPV(
0.06;B1:B5;A1:A5)
</item> returns
323.02.
</paragraph>
315 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3148822"><bookmark_value>calculating;rates of return
</bookmark_value>
316 <bookmark_value>RRI function
</bookmark_value>
318 <bookmark xml-lang=
"en-US" branch=
"hid/HID_FUNC_ZGZ" id=
"bm_id3146996" localize=
"false"/>
319 <paragraph role=
"heading" id=
"hd_id3148822" xml-lang=
"en-US" level=
"2" oldref=
"237">RRI
</paragraph>
320 <paragraph role=
"paragraph" id=
"par_id3154293" xml-lang=
"en-US" l10n=
"U" oldref=
"238"><ahelp hid=
"HID_FUNC_ZGZ">Calculates the interest rate resulting from the profit (return) of an investment.
</ahelp></paragraph>
321 <paragraph role=
"heading" id=
"hd_id3148444" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"239">Syntax
</paragraph>
322 <paragraph role=
"code" id=
"par_id3148804" xml-lang=
"en-US" l10n=
"U" oldref=
"240">RRI(P; PV; FV)
</paragraph>
323 <paragraph role=
"paragraph" id=
"par_id3154901" xml-lang=
"en-US" l10n=
"U" oldref=
"241">
324 <emph>P
</emph> is the number of periods needed for calculating the interest rate.
</paragraph>
325 <paragraph role=
"paragraph" id=
"par_id3159149" xml-lang=
"en-US" l10n=
"U" oldref=
"242">
326 <emph>PV
</emph> is the present (current) value. The cash value is the deposit of cash or the current cash value of an allowance in kind. As a deposit value a positive value must be entered; the deposit must not be
0 or
<0.
</paragraph>
327 <paragraph role=
"paragraph" id=
"par_id3149771" xml-lang=
"en-US" l10n=
"U" oldref=
"243">
328 <emph>FV
</emph> determines what is desired as the cash value of the deposit.
</paragraph>
329 <paragraph role=
"heading" id=
"hd_id3148941" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"244">Example
</paragraph>
330 <paragraph role=
"paragraph" id=
"par_id3154212" xml-lang=
"en-US" l10n=
"U" oldref=
"245">For four periods (years) and a cash value of
7,
500 currency units, the interest rate of the return is to be calculated if the future value is
10,
000 currency units.
</paragraph>
331 <paragraph role=
"paragraph" id=
"par_id3150775" xml-lang=
"en-US" l10n=
"U" oldref=
"246">
332 <item type=
"input">=RRI(
4;
7500;
10000)
</item> =
7.46 %
</paragraph>
333 <paragraph role=
"paragraph" id=
"par_id3145413" xml-lang=
"en-US" l10n=
"U" oldref=
"247">The interest rate must be
7.46 % so that
7,
500 currency units will become
10,
000 currency units.
</paragraph>
336 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3154267"><bookmark_value>calculating;constant interest rates
</bookmark_value>
337 <bookmark_value>constant interest rates
</bookmark_value>
338 <bookmark_value>RATE function
</bookmark_value>
340 <bookmark xml-lang=
"en-US" branch=
"hid/HID_FUNC_ZINS" id=
"bm_id3153581" localize=
"false"/>
341 <paragraph role=
"heading" id=
"hd_id3154267" xml-lang=
"en-US" level=
"2" oldref=
"249">RATE
</paragraph>
342 <paragraph role=
"paragraph" id=
"par_id3151052" xml-lang=
"en-US" l10n=
"U" oldref=
"250"><ahelp hid=
"HID_FUNC_ZINS">Returns the constant interest rate per period of an annuity.
</ahelp></paragraph>
343 <paragraph role=
"heading" id=
"hd_id3154272" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"251">Syntax
</paragraph>
344 <paragraph role=
"code" id=
"par_id3158423" xml-lang=
"en-US" l10n=
"U" oldref=
"252">RATE(NPer; Pmt; PV; FV; Type; Guess)
</paragraph>
345 <paragraph role=
"paragraph" id=
"par_id3148910" xml-lang=
"en-US" l10n=
"U" oldref=
"253">
346 <emph>NPer
</emph> is the total number of periods, during which payments are made (payment period).
</paragraph>
347 <paragraph role=
"paragraph" id=
"par_id3148925" xml-lang=
"en-US" l10n=
"U" oldref=
"254">
348 <emph>Pmt
</emph> is the constant payment (annuity) paid during each period.
</paragraph>
349 <paragraph role=
"paragraph" id=
"par_id3149160" xml-lang=
"en-US" l10n=
"U" oldref=
"255">
350 <emph>PV
</emph> is the cash value in the sequence of payments.
</paragraph>
351 <paragraph role=
"paragraph" id=
"par_id3166456" xml-lang=
"en-US" l10n=
"U" oldref=
"256">
352 <emph>FV
</emph> (optional) is the future value, which is reached at the end of the periodic payments.
</paragraph>
353 <paragraph role=
"paragraph" id=
"par_id3153243" xml-lang=
"en-US" l10n=
"U" oldref=
"257">
354 <emph>Type
</emph> (optional) is the due date of the periodic payment, either at the beginning or at the end of a period.
</paragraph>
355 <paragraph role=
"paragraph" id=
"par_id3146949" xml-lang=
"en-US" l10n=
"U" oldref=
"258">
356 <emph>Guess
</emph> (optional) determines the estimated value of the interest with iterative calculation.
</paragraph>
357 <paragraph role=
"paragraph" id=
"par_idN10E2A" xml-lang=
"en-US" l10n=
"NEW">
358 <embedvar href=
"text/scalc/00/00000004.xhp#optional"/>
360 <paragraph role=
"heading" id=
"hd_id3149791" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"259">Example
</paragraph>
361 <paragraph role=
"paragraph" id=
"par_id3150706" xml-lang=
"en-US" l10n=
"U" oldref=
"260">What is the constant interest rate for a payment period of
3 periods if
10 currency units are paid regularly and the present cash value is
900 currency units.
</paragraph>
362 <paragraph role=
"paragraph" id=
"par_id3155586" xml-lang=
"en-US" l10n=
"U" oldref=
"261">
363 <item type=
"input">=RATE(
3;
10;
900)
</item> = -
121% The interest rate is therefore
121%.
</paragraph>
365 <section id=
"intrate">
366 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3149106"><bookmark_value>INTRATE function
</bookmark_value>
368 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_INTRATE" id=
"bm_id3152944" localize=
"false"/>
369 <paragraph role=
"heading" id=
"hd_id3149106" xml-lang=
"en-US" level=
"2" oldref=
"60">INTRATE
</paragraph>
370 <paragraph role=
"paragraph" id=
"par_id3149918" xml-lang=
"en-US" l10n=
"U" oldref=
"61"><ahelp hid=
"HID_AAI_FUNC_INTRATE">Calculates the annual interest rate that results when a security (or other item) is purchased at an investment value and sold at a redemption value. No interest is paid.
</ahelp></paragraph>
371 <paragraph role=
"heading" id=
"hd_id3149974" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"62">Syntax
</paragraph>
372 <paragraph role=
"code" id=
"par_id3149800" xml-lang=
"en-US" l10n=
"U" oldref=
"63">INTRATE(Settlement; Maturity; Investment; Redemption; Basis)
</paragraph>
373 <paragraph role=
"paragraph" id=
"par_id3148618" xml-lang=
"en-US" l10n=
"U" oldref=
"64">
374 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
375 <paragraph role=
"paragraph" id=
"par_id3148988" xml-lang=
"en-US" l10n=
"U" oldref=
"65">
376 <emph>Maturity
</emph> is the date on which the security is sold.
</paragraph>
377 <paragraph role=
"paragraph" id=
"par_id3154604" xml-lang=
"en-US" l10n=
"U" oldref=
"66">
378 <emph>Investment
</emph> is the purchase price.
</paragraph>
379 <paragraph role=
"paragraph" id=
"par_id3154337" xml-lang=
"en-US" l10n=
"U" oldref=
"67">
380 <emph>Redemption
</emph> is the selling price.
</paragraph>
381 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
382 <paragraph role=
"heading" id=
"hd_id3145380" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"68">Example
</paragraph>
383 <paragraph role=
"paragraph" id=
"par_id3149426" xml-lang=
"en-US" l10n=
"CHG" oldref=
"69">A painting is bought on
1990-
01-
15 for
1 million and sold on
2002-
05-
05 for
2 million. The basis is daily balance calculation (basis =
3). What is the average annual level of interest?
</paragraph>
384 <paragraph role=
"paragraph" id=
"par_id3151125" xml-lang=
"en-US" l10n=
"CHG" oldref=
"70">=INTRATE(
"1990-01-15";
"2002-05-05";
1000000;
2000000;
3) returns
8.12%.
</paragraph>
386 <section id=
"coupncd">
387 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3148654"><bookmark_value>COUPNCD function
</bookmark_value>
389 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_COUPNCD" id=
"bm_id3148413" localize=
"false"/>
390 <paragraph role=
"heading" id=
"hd_id3148654" xml-lang=
"en-US" level=
"2" oldref=
"163">COUPNCD
</paragraph>
391 <paragraph role=
"paragraph" id=
"par_id3149927" xml-lang=
"en-US" l10n=
"U" oldref=
"164"><ahelp hid=
"HID_AAI_FUNC_COUPNCD">Returns the date of the first interest date after the settlement date. Format the result as a date.
</ahelp></paragraph>
392 <paragraph role=
"heading" id=
"hd_id3153317" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"165">Syntax
</paragraph>
393 <paragraph role=
"code" id=
"par_id3150423" xml-lang=
"en-US" l10n=
"U" oldref=
"166">COUPNCD(Settlement; Maturity; Frequency; Basis)
</paragraph>
394 <paragraph role=
"paragraph" id=
"par_id3150628" xml-lang=
"en-US" l10n=
"U" oldref=
"167">
395 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
396 <paragraph role=
"paragraph" id=
"par_id3153536" xml-lang=
"en-US" l10n=
"U" oldref=
"168">
397 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
398 <paragraph role=
"paragraph" id=
"par_id3145313" xml-lang=
"en-US" l10n=
"U" oldref=
"169">
399 <emph>Frequency
</emph> is number of interest payments per year (
1,
2 or
4).
</paragraph>
400 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
401 <paragraph role=
"heading" id=
"hd_id3155424" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"170">Example
</paragraph>
402 <paragraph role=
"paragraph" id=
"par_id3154794" xml-lang=
"en-US" l10n=
"CHG" oldref=
"171">A security is purchased on
2001-
01-
25; the date of maturity is
2001-
11-
15. Interest is paid half-yearly (frequency is
2). Using daily balance interest calculation (basis
3) when is the next interest date?
</paragraph>
403 <paragraph role=
"paragraph" id=
"par_id3159251" xml-lang=
"en-US" l10n=
"CHG" oldref=
"172">=COUPNCD(
"2001-01-25";
"2001-11-15";
2;
3) returns
2001-
05-
15.
</paragraph>
405 <section id=
"coupdays">
406 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3143281"><bookmark_value>COUPDAYS function
</bookmark_value>
408 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_COUPDAYS" id=
"bm_id3144759" localize=
"false"/>
409 <paragraph role=
"heading" id=
"hd_id3143281" xml-lang=
"en-US" level=
"2" oldref=
"143">COUPDAYS
</paragraph>
410 <paragraph role=
"paragraph" id=
"par_id3149488" xml-lang=
"en-US" l10n=
"U" oldref=
"144"><ahelp hid=
"HID_AAI_FUNC_COUPDAYS">Returns the number of days in the current interest period in which the settlement date falls.
</ahelp></paragraph>
411 <paragraph role=
"heading" id=
"hd_id3148685" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"145">Syntax
</paragraph>
412 <paragraph role=
"code" id=
"par_id3149585" xml-lang=
"en-US" l10n=
"U" oldref=
"146">COUPDAYS(Settlement; Maturity; Frequency; Basis)
</paragraph>
413 <paragraph role=
"paragraph" id=
"par_id3152767" xml-lang=
"en-US" l10n=
"U" oldref=
"147">
414 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
415 <paragraph role=
"paragraph" id=
"par_id3151250" xml-lang=
"en-US" l10n=
"U" oldref=
"148">
416 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
417 <paragraph role=
"paragraph" id=
"par_id3146126" xml-lang=
"en-US" l10n=
"U" oldref=
"149">
418 <emph>Frequency
</emph> is number of interest payments per year (
1,
2 or
4).
</paragraph>
419 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
420 <paragraph role=
"heading" id=
"hd_id3153705" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"150">Example
</paragraph>
421 <paragraph role=
"paragraph" id=
"par_id3147530" xml-lang=
"en-US" l10n=
"CHG" oldref=
"151">A security is purchased on
2001-
01-
25; the date of maturity is
2001-
11-
15. Interest is paid half-yearly (frequency is
2). Using daily balance interest calculation (basis
3) how many days are there in the interest period in which the settlement date falls?
</paragraph>
422 <paragraph role=
"paragraph" id=
"par_id3156338" xml-lang=
"en-US" l10n=
"CHG" oldref=
"152">=COUPDAYS(
"2001-01-25";
"2001-11-15";
2;
3) returns
181.
</paragraph>
424 <section id=
"coupdaysnc">
425 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3154832"><bookmark_value>COUPDAYSNC function
</bookmark_value>
427 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_COUPDAYSNC" id=
"bm_id3150941" localize=
"false"/>
428 <paragraph role=
"heading" id=
"hd_id3154832" xml-lang=
"en-US" level=
"2" oldref=
"153">COUPDAYSNC
</paragraph>
429 <paragraph role=
"paragraph" id=
"par_id3147100" xml-lang=
"en-US" l10n=
"U" oldref=
"154"><ahelp hid=
"HID_AAI_FUNC_COUPDAYSNC">Returns the number of days from the settlement date until the next interest date.
</ahelp></paragraph>
430 <paragraph role=
"heading" id=
"hd_id3151312" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"155">Syntax
</paragraph>
431 <paragraph role=
"code" id=
"par_id3155121" xml-lang=
"en-US" l10n=
"U" oldref=
"156">COUPDAYSNC(Settlement; Maturity; Frequency; Basis)
</paragraph>
432 <paragraph role=
"paragraph" id=
"par_id3158440" xml-lang=
"en-US" l10n=
"U" oldref=
"157">
433 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
434 <paragraph role=
"paragraph" id=
"par_id3146075" xml-lang=
"en-US" l10n=
"U" oldref=
"158">
435 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
436 <paragraph role=
"paragraph" id=
"par_id3154620" xml-lang=
"en-US" l10n=
"U" oldref=
"159">
437 <emph>Frequency
</emph>is number of interest payments per year (
1,
2 or
4).
</paragraph>
438 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
439 <paragraph role=
"heading" id=
"hd_id3155604" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"160">Example
</paragraph>
440 <paragraph role=
"paragraph" id=
"par_id3148671" xml-lang=
"en-US" l10n=
"CHG" oldref=
"161">A security is purchased on
2001-
01-
25; the date of maturity is
2001-
11-
15. Interest is paid half-yearly (frequency is
2). Using daily balance interest calculation (basis
3) how many days are there until the next interest payment?
</paragraph>
441 <paragraph role=
"paragraph" id=
"par_id3156158" xml-lang=
"en-US" l10n=
"CHG" oldref=
"162">=COUPDAYSNC(
"2001-01-25";
"2001-11-15";
2;
3) returns
110.
</paragraph>
443 <section id=
"coupdaybs">
444 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3150408"><bookmark_value>COUPDAYBS function
</bookmark_value>
445 <bookmark_value>durations;first interest payment until settlement date
</bookmark_value>
446 <bookmark_value>securities;first interest payment until settlement date
</bookmark_value>
447 </bookmark><comment>mw added
"durations;" and
"securities;"</comment>
448 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_COUPDAYBS" id=
"bm_id3153775" localize=
"false"/>
449 <paragraph role=
"heading" id=
"hd_id3150408" xml-lang=
"en-US" level=
"2" oldref=
"133">COUPDAYBS
</paragraph>
450 <paragraph role=
"paragraph" id=
"par_id3146795" xml-lang=
"en-US" l10n=
"U" oldref=
"134"><ahelp hid=
"HID_AAI_FUNC_COUPDAYBS">Returns the number of days from the first day of interest payment on a security until the settlement date.
</ahelp></paragraph>
451 <paragraph role=
"heading" id=
"hd_id3156142" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"135">Syntax
</paragraph>
452 <paragraph role=
"code" id=
"par_id3159083" xml-lang=
"en-US" l10n=
"U" oldref=
"136">COUPDAYBS(Settlement; Maturity; Frequency; Basis)
</paragraph>
453 <paragraph role=
"paragraph" id=
"par_id3146907" xml-lang=
"en-US" l10n=
"U" oldref=
"137">
454 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
455 <paragraph role=
"paragraph" id=
"par_id3159390" xml-lang=
"en-US" l10n=
"U" oldref=
"138">
456 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
457 <paragraph role=
"paragraph" id=
"par_id3154414" xml-lang=
"en-US" l10n=
"U" oldref=
"139">
458 <emph>Frequency
</emph> is the number of interest payments per year (
1,
2 or
4).
</paragraph>
459 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
460 <paragraph role=
"heading" id=
"hd_id3153880" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"140">Example
</paragraph>
461 <paragraph role=
"paragraph" id=
"par_id3150592" xml-lang=
"en-US" l10n=
"CHG" oldref=
"141">A security is purchased on
2001-
01-
25; the date of maturity is
2001-
11-
15. Interest is paid half-yearly (frequency is
2). Using daily balance interest calculation (basis
3) how many days is this?
</paragraph>
462 <paragraph role=
"paragraph" id=
"par_id3151103" xml-lang=
"en-US" l10n=
"CHG" oldref=
"142">=COUPDAYBS(
"2001-01-25";
"2001-11-15";
2;
3) returns
71.
</paragraph>
464 <section id=
"couppcd">
465 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3152957"><bookmark_value>COUPPCD function
</bookmark_value>
466 <bookmark_value>dates;interest date prior to settlement date
</bookmark_value>
467 </bookmark><comment>mw added
"dates;"</comment>
468 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_COUPPCD" id=
"bm_id3149553" localize=
"false"/>
469 <paragraph role=
"heading" id=
"hd_id3152957" xml-lang=
"en-US" level=
"2" oldref=
"183">COUPPCD
</paragraph>
470 <paragraph role=
"paragraph" id=
"par_id3153678" xml-lang=
"en-US" l10n=
"U" oldref=
"184"><ahelp hid=
"HID_AAI_FUNC_COUPPCD">Returns the date of the interest date prior to the settlement date. Format the result as a date.
</ahelp></paragraph>
471 <paragraph role=
"heading" id=
"hd_id3156269" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"185">Syntax
</paragraph>
472 <paragraph role=
"code" id=
"par_id3153790" xml-lang=
"en-US" l10n=
"U" oldref=
"186">COUPPCD(Settlement; Maturity; Frequency; Basis)
</paragraph>
473 <paragraph role=
"paragraph" id=
"par_id3150989" xml-lang=
"en-US" l10n=
"U" oldref=
"187">
474 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
475 <paragraph role=
"paragraph" id=
"par_id3154667" xml-lang=
"en-US" l10n=
"U" oldref=
"188">
476 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
477 <paragraph role=
"paragraph" id=
"par_id3154569" xml-lang=
"en-US" l10n=
"U" oldref=
"189">
478 <emph>Frequency
</emph> is the number of interest payments per year (
1,
2 or
4).
</paragraph>
479 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
480 <paragraph role=
"heading" id=
"hd_id3150826" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"190">Example
</paragraph>
481 <paragraph role=
"paragraph" id=
"par_id3148968" xml-lang=
"en-US" l10n=
"CHG" oldref=
"191">A security is purchased on
2001-
01-
25; the date of maturity is
2001-
11-
15. Interest is paid half-yearly (frequency is
2). Using daily balance interest calculation (basis
3) what was the interest date prior to purchase?
</paragraph>
482 <paragraph role=
"paragraph" id=
"par_id3149992" xml-lang=
"en-US" l10n=
"CHG" oldref=
"192">=COUPPCD(
"2001-01-25";
"2001-11-15";
2;
3) returns
2000-
15-
11.
</paragraph>
484 <section id=
"coupnum">
485 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3150673"><bookmark_value>COUPNUM function
</bookmark_value>
486 <bookmark_value>number of coupons
</bookmark_value>
487 </bookmark><comment>mw added
"number..."</comment>
488 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_COUPNUM" id=
"bm_id3153348" localize=
"false"/>
489 <paragraph role=
"heading" id=
"hd_id3150673" xml-lang=
"en-US" level=
"2" oldref=
"173">COUPNUM
</paragraph>
490 <paragraph role=
"paragraph" id=
"par_id3154350" xml-lang=
"en-US" l10n=
"U" oldref=
"174"><ahelp hid=
"HID_AAI_FUNC_COUPNUM">Returns the number of coupons (interest payments) between the settlement date and the maturity date.
</ahelp></paragraph>
491 <paragraph role=
"heading" id=
"hd_id3148400" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"175">Syntax
</paragraph>
492 <paragraph role=
"code" id=
"par_id3153200" xml-lang=
"en-US" l10n=
"U" oldref=
"176">COUPNUM(Settlement; Maturity; Frequency; Basis)
</paragraph>
493 <paragraph role=
"paragraph" id=
"par_id3159406" xml-lang=
"en-US" l10n=
"U" oldref=
"177">
494 <emph>Settlement
</emph> is the date of purchase of the security.
</paragraph>
495 <paragraph role=
"paragraph" id=
"par_id3155864" xml-lang=
"en-US" l10n=
"U" oldref=
"178">
496 <emph>Maturity
</emph> is the date on which the security matures (expires).
</paragraph>
497 <paragraph role=
"paragraph" id=
"par_id3154720" xml-lang=
"en-US" l10n=
"U" oldref=
"179">
498 <emph>Frequency
</emph> is the number of interest payments per year (
1,
2 or
4).
</paragraph>
499 <embed href=
"text/scalc/01/func_yearfrac.xhp#basis"/>
500 <paragraph role=
"heading" id=
"hd_id3149319" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"180">Example
</paragraph>
501 <paragraph role=
"paragraph" id=
"par_id3152460" xml-lang=
"en-US" l10n=
"CHG" oldref=
"181">A security is purchased on
2001-
01-
25; the date of maturity is
2001-
11-
15. Interest is paid half-yearly (frequency is
2). Using daily balance interest calculation (basis
3) how many interest dates are there?
</paragraph>
502 <paragraph role=
"paragraph" id=
"par_id3150640" xml-lang=
"en-US" l10n=
"CHG" oldref=
"182">=COUPNUM(
"2001-01-25";
"2001-11-15";
2;
3) returns
2.
</paragraph>
505 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3149339"><bookmark_value>IPMT function
</bookmark_value>
506 <bookmark_value>periodic amortizement rates
</bookmark_value>
507 </bookmark><comment>mw added
"periodic..."</comment>
508 <bookmark xml-lang=
"en-US" branch=
"hid/HID_FUNC_ZINSZ" id=
"bm_id3149737" localize=
"false"/>
509 <paragraph role=
"heading" id=
"hd_id3149339" xml-lang=
"en-US" level=
"2" oldref=
"263">IPMT
</paragraph>
510 <paragraph role=
"paragraph" id=
"par_id3154522" xml-lang=
"en-US" l10n=
"U" oldref=
"264"><ahelp hid=
"HID_FUNC_ZINSZ">Calculates the periodic amortizement for an investment with regular payments and a constant interest rate.
</ahelp></paragraph>
511 <paragraph role=
"heading" id=
"hd_id3153266" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"265">Syntax
</paragraph>
512 <paragraph role=
"code" id=
"par_id3151283" xml-lang=
"en-US" l10n=
"U" oldref=
"266">IPMT(Rate; Period; NPer; PV; FV; Type)
</paragraph>
513 <paragraph role=
"paragraph" id=
"par_id3147313" xml-lang=
"en-US" l10n=
"U" oldref=
"267">
514 <emph>Rate
</emph> is the periodic interest rate.
</paragraph>
515 <paragraph role=
"paragraph" id=
"par_id3145158" xml-lang=
"en-US" l10n=
"U" oldref=
"268">
516 <emph>Period
</emph> is the period, for which the compound interest is calculated. Period=NPER if compound interest for the last period is calculated.
</paragraph>
517 <paragraph role=
"paragraph" id=
"par_id3147577" xml-lang=
"en-US" l10n=
"U" oldref=
"269">
518 <emph>NPer
</emph> is the total number of periods, during which annuity is paid.
</paragraph>
519 <paragraph role=
"paragraph" id=
"par_id3156211" xml-lang=
"en-US" l10n=
"U" oldref=
"270">
520 <emph>PV
</emph> is the present cash value in sequence of payments.
</paragraph>
521 <paragraph role=
"paragraph" id=
"par_id3151213" xml-lang=
"en-US" l10n=
"U" oldref=
"271">
522 <emph>FV
</emph> (optional) is the desired value (future value) at the end of the periods.
</paragraph>
523 <paragraph role=
"paragraph" id=
"par_id3154195" xml-lang=
"en-US" l10n=
"U" oldref=
"272">
524 <emph>Type
</emph> is the due date for the periodic payments.
</paragraph>
525 <paragraph role=
"heading" id=
"hd_id3150102" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"273">Example
</paragraph>
526 <paragraph role=
"paragraph" id=
"par_id3149438" xml-lang=
"en-US" l10n=
"U" oldref=
"274">What is the interest rate during the fifth period (year) if the constant interest rate is
5% and the cash value is
15,
000 currency units? The periodic payment is seven years.
</paragraph>
527 <paragraph role=
"paragraph" id=
"par_id3150496" xml-lang=
"en-US" l10n=
"U" oldref=
"275">
528 <item type=
"input">=IPMT(
5%;
5;
7;
15000)
</item> = -
352.97 currency units. The compound interest during the fifth period (year) is
352.97 currency units.
</paragraph>
531 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3151205"><bookmark_value>calculating;future values
</bookmark_value>
532 <bookmark_value>future values;constant interest rates
</bookmark_value>
533 <bookmark_value>FV function
</bookmark_value>
534 </bookmark><comment>mw made
"future values..." a two level entry
</comment>
535 <bookmark xml-lang=
"en-US" branch=
"hid/HID_FUNC_ZW" id=
"bm_id3156049" localize=
"false"/>
536 <paragraph role=
"heading" id=
"hd_id3151205" xml-lang=
"en-US" level=
"2" oldref=
"277">FV
</paragraph>
537 <paragraph role=
"paragraph" id=
"par_id3154140" xml-lang=
"en-US" l10n=
"U" oldref=
"278"><ahelp hid=
"HID_FUNC_ZW">Returns the future value of an investment based on periodic, constant payments and a constant interest rate (Future Value).
</ahelp></paragraph>
538 <paragraph role=
"heading" id=
"hd_id3155178" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"279">Syntax
</paragraph>
539 <paragraph role=
"code" id=
"par_id3145215" xml-lang=
"en-US" l10n=
"U" oldref=
"280">FV(Rate; NPer; Pmt; PV; Type)
</paragraph>
540 <paragraph role=
"paragraph" id=
"par_id3155136" xml-lang=
"en-US" l10n=
"U" oldref=
"281">
541 <emph>Rate
</emph> is the periodic interest rate.
</paragraph>
542 <paragraph role=
"paragraph" id=
"par_id3156029" xml-lang=
"en-US" l10n=
"U" oldref=
"282">
543 <emph>NPer
</emph> is the total number of periods (payment period).
</paragraph>
544 <paragraph role=
"paragraph" id=
"par_id3151322" xml-lang=
"en-US" l10n=
"U" oldref=
"283">
545 <emph>Pmt
</emph> is the annuity paid regularly per period.
</paragraph>
546 <paragraph role=
"paragraph" id=
"par_id3145256" xml-lang=
"en-US" l10n=
"U" oldref=
"284">
547 <emph>PV
</emph> (optional) is the (present) cash value of an investment.
</paragraph>
548 <paragraph role=
"paragraph" id=
"par_id3150999" xml-lang=
"en-US" l10n=
"U" oldref=
"285">
549 <emph>Type
</emph> (optional) defines whether the payment is due at the beginning or the end of a period.
</paragraph>
550 <paragraph role=
"paragraph" id=
"par_idN114D8" xml-lang=
"en-US" l10n=
"NEW">
551 <embedvar href=
"text/scalc/00/00000004.xhp#optional"/>
553 <paragraph role=
"heading" id=
"hd_id3146800" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"286">Example
</paragraph>
554 <paragraph role=
"paragraph" id=
"par_id3146813" xml-lang=
"en-US" l10n=
"U" oldref=
"287">What is the value at the end of an investment if the interest rate is
4% and the payment period is two years, with a periodic payment of
750 currency units. The investment has a present value of
2,
500 currency units.
</paragraph>
555 <paragraph role=
"paragraph" id=
"par_id3149302" xml-lang=
"en-US" l10n=
"U" oldref=
"288">
556 <item type=
"input">=FV(
4%;
2;
750;
2500)
</item>= -
4234.00 currency units. The value at the end of the investment is
4234.00 currency units.
</paragraph>
558 <section id=
"fvschedule">
559 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3155912"><bookmark_value>FVSCHEDULE function
</bookmark_value>
560 <bookmark_value>future values;varying interest rates
</bookmark_value>
561 </bookmark><comment>mw added
"future values"</comment>
562 <bookmark xml-lang=
"en-US" branch=
"hid/HID_AAI_FUNC_FVSCHEDULE" id=
"bm_id3155341" localize=
"false"/>
563 <paragraph role=
"heading" id=
"hd_id3155912" xml-lang=
"en-US" level=
"2" oldref=
"51">FVSCHEDULE
</paragraph>
564 <paragraph role=
"paragraph" id=
"par_id3163726" xml-lang=
"en-US" l10n=
"U" oldref=
"52"><ahelp hid=
"HID_AAI_FUNC_FVSCHEDULE">Calculates the accumulated value of the starting capital for a series of periodically varying interest rates.
</ahelp></paragraph>
565 <paragraph role=
"heading" id=
"hd_id3149571" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"53">Syntax
</paragraph>
566 <paragraph role=
"code" id=
"par_id3148891" xml-lang=
"en-US" l10n=
"U" oldref=
"54">FVSCHEDULE(Principal; Schedule)
</paragraph>
567 <paragraph role=
"paragraph" id=
"par_id3148904" xml-lang=
"en-US" l10n=
"U" oldref=
"55">
568 <emph>Principal
</emph> is the starting capital.
</paragraph>
569 <paragraph role=
"paragraph" id=
"par_id3148562" xml-lang=
"en-US" l10n=
"U" oldref=
"56">
570 <emph>Schedule
</emph> is a series of interest rates, for example, as a range H3:H5 or as a (List) (see example).
</paragraph>
571 <paragraph role=
"heading" id=
"hd_id3147288" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"57">Example
</paragraph>
572 <paragraph role=
"paragraph" id=
"par_id3148638" xml-lang=
"en-US" l10n=
"U" oldref=
"58">1000 currency units have been invested in for three years. The interest rates were
3%,
4% and
5% per annum. What is the value after three years?
</paragraph>
573 <paragraph role=
"paragraph" id=
"par_id3156358" xml-lang=
"en-US" l10n=
"U" oldref=
"59">
574 <item type=
"input">=FVSCHEDULE(
1000;{
0.03;
0.04;
0.05})
</item> returns
1124.76.
</paragraph>
577 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3156435"><bookmark_value>calculating;number of payment periods
</bookmark_value>
578 <bookmark_value>payment periods;number of
</bookmark_value>
579 <bookmark_value>number of payment periods
</bookmark_value>
580 <bookmark_value>NPER function
</bookmark_value>
582 <bookmark xml-lang=
"en-US" branch=
"hid/HID_FUNC_ZZR" id=
"bm_id3154917" localize=
"false"/>
583 <paragraph role=
"heading" id=
"hd_id3156435" xml-lang=
"en-US" level=
"2" oldref=
"290">NPER
</paragraph>
584 <paragraph role=
"paragraph" id=
"par_id3152363" xml-lang=
"en-US" l10n=
"U" oldref=
"291"><ahelp hid=
"HID_FUNC_ZZR">Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.
</ahelp></paragraph>
585 <paragraph role=
"heading" id=
"hd_id3147216" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"292">Syntax
</paragraph>
586 <paragraph role=
"code" id=
"par_id3155934" xml-lang=
"en-US" l10n=
"U" oldref=
"293">NPER(Rate; Pmt; PV; FV; Type)
</paragraph>
587 <paragraph role=
"paragraph" id=
"par_id3155946" xml-lang=
"en-US" l10n=
"U" oldref=
"294">
588 <emph>Rate
</emph> is the periodic interest rate.
</paragraph>
589 <paragraph role=
"paragraph" id=
"par_id3149042" xml-lang=
"en-US" l10n=
"U" oldref=
"295">
590 <emph>Pmt
</emph> is the constant annuity paid in each period.
</paragraph>
591 <paragraph role=
"paragraph" id=
"par_id3153134" xml-lang=
"en-US" l10n=
"U" oldref=
"296">
592 <emph>PV
</emph> is the present value (cash value) in a sequence of payments.
</paragraph>
593 <paragraph role=
"paragraph" id=
"par_id3154398" xml-lang=
"en-US" l10n=
"U" oldref=
"297">
594 <emph>FV
</emph> (optional) is the future value, which is reached at the end of the last period.
</paragraph>
595 <paragraph role=
"paragraph" id=
"par_id3145127" xml-lang=
"en-US" l10n=
"U" oldref=
"298">
596 <emph>Type
</emph> (optional) is the due date of the payment at the beginning or at the end of the period.
</paragraph>
597 <paragraph role=
"paragraph" id=
"par_idN1166C" xml-lang=
"en-US" l10n=
"NEW">
598 <embedvar href=
"text/scalc/00/00000004.xhp#optional"/>
600 <paragraph role=
"heading" id=
"hd_id3155795" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"299">Example
</paragraph>
601 <paragraph role=
"paragraph" id=
"par_id3147378" xml-lang=
"en-US" l10n=
"U" oldref=
"300">How many payment periods does a payment period cover with a periodic interest rate of
6%, a periodic payment of
153.75 currency units and a present cash value of
2.600 currency units.
</paragraph>
602 <paragraph role=
"paragraph" id=
"par_id3156171" xml-lang=
"en-US" l10n=
"U" oldref=
"301">
603 <item type=
"input">=NPER(
6%;
153.75;
2600)
</item> = -
12,
02. The payment period covers
12.02 periods.
</paragraph>
606 <paragraph role=
"paragraph" id=
"par_id3150309" xml-lang=
"en-US" l10n=
"U" oldref=
"314"><link href=
"text/scalc/01/04060103.xhp" name=
"Back to Financial Functions Part One">Back to Financial Functions Part One
</link></paragraph>
607 <paragraph role=
"paragraph" id=
"par_id3153163" xml-lang=
"en-US" l10n=
"U" oldref=
"315"><link href=
"text/scalc/01/04060119.xhp" name=
"Back to Financial Functions Part Two">Back to Financial Functions Part Two
</link></paragraph>
608 <embed href=
"text/scalc/01/04060100.xhp#drking"/>