1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28<meta>
29<topic id="textscalc0104060118xml" indexer="include">
30<title id="tit" xml-lang="en-US">Financial Functions Part Three</title>
31<filename>/text/scalc/01/04060118.xhp</filename>
32</topic>
33</meta>
34<body>
35<paragraph role="heading" id="hd_id3146780" xml-lang="en-US" level="1" l10n="U" oldref="1">Financial Functions Part Three</paragraph>
36<sort>
37<section id="oddfprice">
38<bookmark xml-lang="en-US" branch="index" id="bm_id3145112"><bookmark_value>ODDFPRICE function</bookmark_value>
39<bookmark_value>prices;securities with irregular first interest date</bookmark_value>
40</bookmark><comment>mw added one entry</comment>
41<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDFPRICE" id="bm_id3146107" localize="false"/>
42<paragraph role="heading" id="hd_id3145112" xml-lang="en-US" level="2" oldref="71">ODDFPRICE</paragraph>
43<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>
44<paragraph role="heading" id="hd_id3153074" xml-lang="en-US" level="3" l10n="U" oldref="73">Syntax</paragraph>
45<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>
46<paragraph role="paragraph" id="par_id3153337" xml-lang="en-US" l10n="U" oldref="75">
47<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
48<paragraph role="paragraph" id="par_id3149051" xml-lang="en-US" l10n="U" oldref="76">
49<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
50<paragraph role="paragraph" id="par_id3147297" xml-lang="en-US" l10n="U" oldref="77">
51<emph>Issue</emph> is the date of issue of the security.</paragraph>
52<paragraph role="paragraph" id="par_id3150393" xml-lang="en-US" l10n="U" oldref="78">
53<emph>FirstCoupon</emph> is the first interest date of the security.</paragraph>
54<paragraph role="paragraph" id="par_id3147402" xml-lang="en-US" l10n="U" oldref="79">
55<emph>Rate</emph> is the annual rate of interest.</paragraph>
56<paragraph role="paragraph" id="par_id3151387" xml-lang="en-US" l10n="U" oldref="80">
57<emph>Yield</emph> is the annual yield of the security.</paragraph>
58<paragraph role="paragraph" id="par_id3153023" xml-lang="en-US" l10n="U" oldref="81">
59<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
60<paragraph role="paragraph" id="par_id3150539" xml-lang="en-US" l10n="U" oldref="82">
61<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
62<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
63</section>
64<section id="oddfyield">
65<bookmark xml-lang="en-US" branch="index" id="bm_id3157871"><bookmark_value>ODDFYIELD function</bookmark_value>
66</bookmark>
67<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDFYIELD" id="bm_id3149723" localize="false"/>
68<paragraph role="heading" id="hd_id3157871" xml-lang="en-US" level="2" oldref="87">ODDFYIELD</paragraph>
69<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>
70<paragraph role="heading" id="hd_id3150651" xml-lang="en-US" level="3" l10n="U" oldref="89">Syntax</paragraph>
71<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>
72<paragraph role="paragraph" id="par_id3157906" xml-lang="en-US" l10n="U" oldref="91">
73<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
74<paragraph role="paragraph" id="par_id3150026" xml-lang="en-US" l10n="U" oldref="92">
75<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
76<paragraph role="paragraph" id="par_id3149012" xml-lang="en-US" l10n="U" oldref="93">
77<emph>Issue</emph> is the date of issue of the security.</paragraph>
78<paragraph role="paragraph" id="par_id3148725" xml-lang="en-US" l10n="U" oldref="94">
79<emph>FirstCoupon</emph> is the first interest period of the security.</paragraph>
80<paragraph role="paragraph" id="par_id3150465" xml-lang="en-US" l10n="U" oldref="95">
81<emph>Rate</emph> is the annual rate of interest.</paragraph>
82<paragraph role="paragraph" id="par_id3146940" xml-lang="en-US" l10n="U" oldref="96">
83<emph>Price</emph> is the price of the security.</paragraph>
84<paragraph role="paragraph" id="par_id3149893" xml-lang="en-US" l10n="U" oldref="97">
85<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
86<paragraph role="paragraph" id="par_id3148888" xml-lang="en-US" l10n="U" oldref="98">
87<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
88<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
89</section>
90<section id="oddlprice">
91<bookmark xml-lang="en-US" branch="index" id="bm_id3153933"><bookmark_value>ODDLPRICE function</bookmark_value>
92</bookmark>
93<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDLPRICE" id="bm_id3145596" localize="false"/>
94<paragraph role="heading" id="hd_id3153933" xml-lang="en-US" level="2" oldref="103">ODDLPRICE</paragraph>
95<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>
96<paragraph role="heading" id="hd_id3152784" xml-lang="en-US" level="3" l10n="U" oldref="105">Syntax</paragraph>
97<paragraph role="code" id="par_id3155262" xml-lang="en-US" l10n="U" oldref="106">ODDLPRICE(Settlement; Maturity; LastInterest; Rate; Yield; Redemption; Frequency; Basis)</paragraph>
98<paragraph role="paragraph" id="par_id3149689" xml-lang="en-US" l10n="U" oldref="107">
99<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
100<paragraph role="paragraph" id="par_id3148753" xml-lang="en-US" l10n="U" oldref="108">
101<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
102<paragraph role="paragraph" id="par_id3150861" xml-lang="en-US" l10n="U" oldref="109">
103<emph>LastInterest</emph> is the last interest date of the security.</paragraph>
104<paragraph role="paragraph" id="par_id3155831" xml-lang="en-US" l10n="U" oldref="110">
105<emph>Rate</emph> is the annual rate of interest.</paragraph>
106<paragraph role="paragraph" id="par_id3153328" xml-lang="en-US" l10n="U" oldref="111">
107<emph>Yield</emph> is the annual yield of the security.</paragraph>
108<paragraph role="paragraph" id="par_id3149186" xml-lang="en-US" l10n="U" oldref="112">
109<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
110<paragraph role="paragraph" id="par_id3149726" xml-lang="en-US" l10n="U" oldref="113">
111<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
112<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
113<paragraph role="heading" id="hd_id3153111" xml-lang="en-US" level="3" l10n="U" oldref="114">Example</paragraph>
114<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>
115<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>
116<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>
117</section>
118<section id="oddlyield">
119<bookmark xml-lang="en-US" branch="index" id="bm_id3153564"><bookmark_value>ODDLYIELD function</bookmark_value>
120</bookmark>
121<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDLYIELD" id="bm_id3153732" localize="false"/>
122<paragraph role="heading" id="hd_id3153564" xml-lang="en-US" level="2" oldref="118">ODDLYIELD</paragraph>
123<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>
124<paragraph role="heading" id="hd_id3147366" xml-lang="en-US" level="3" l10n="U" oldref="120">Syntax</paragraph>
125<paragraph role="code" id="par_id3150018" xml-lang="en-US" l10n="U" oldref="121">ODDLYIELD(Settlement; Maturity; LastInterest; Rate; Price; Redemption; Frequency; Basis)</paragraph>
126<paragraph role="paragraph" id="par_id3159132" xml-lang="en-US" l10n="U" oldref="122">
127<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
128<paragraph role="paragraph" id="par_id3150134" xml-lang="en-US" l10n="U" oldref="123">
129<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
130<paragraph role="paragraph" id="par_id3145245" xml-lang="en-US" l10n="U" oldref="124">
131<emph>LastInterest</emph> is the last interest date of the security.</paragraph>
132<paragraph role="paragraph" id="par_id3151014" xml-lang="en-US" l10n="U" oldref="125">
133<emph>Rate</emph> is the annual rate of interest.</paragraph>
134<paragraph role="paragraph" id="par_id3149003" xml-lang="en-US" l10n="U" oldref="126">
135<emph>Price</emph> is the price of the security.</paragraph>
136<paragraph role="paragraph" id="par_id3148880" xml-lang="en-US" l10n="U" oldref="127">
137<emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
138<paragraph role="paragraph" id="par_id3155622" xml-lang="en-US" l10n="U" oldref="128">
139<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
140<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
141<paragraph role="heading" id="hd_id3145303" xml-lang="en-US" level="3" l10n="U" oldref="129">Example</paragraph>
142<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>
143<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>
144<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>
145</section>
146<section id="vdb">
147<bookmark xml-lang="en-US" branch="index" id="bm_id3148768"><bookmark_value>calculating;variable declining depreciations</bookmark_value>
148<bookmark_value>depreciations;variable declining</bookmark_value>
149<bookmark_value>VDB function</bookmark_value>
150</bookmark>
151<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VDB" id="bm_id3145624" localize="false"/>
152<paragraph role="heading" id="hd_id3148768" xml-lang="en-US" level="2" oldref="222">VDB</paragraph>
153<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>
154<paragraph role="heading" id="hd_id3155519" xml-lang="en-US" level="3" l10n="U" oldref="224">Syntax</paragraph>
155<paragraph role="code" id="par_id3149025" xml-lang="en-US" l10n="U" oldref="225">VDB(Cost; Salvage; Life; S; End; Factor; Type)</paragraph>
156<paragraph role="paragraph" id="par_id3150692" xml-lang="en-US" l10n="U" oldref="226">
157<emph>Cost</emph> is the initial value of an asset.</paragraph>
158<paragraph role="paragraph" id="par_id3155369" xml-lang="en-US" l10n="U" oldref="227">
159<emph>Salvage</emph> is the value of an asset at the end of the depreciation.</paragraph>
160<paragraph role="paragraph" id="par_id3154954" xml-lang="en-US" l10n="U" oldref="228">
161<emph>Life</emph> is the depreciation duration of the asset.</paragraph>
162<paragraph role="paragraph" id="par_id3152817" xml-lang="en-US" l10n="U" oldref="229">
163<emph>S</emph> is the start of the depreciation. A must be entered in the same date unit as the duration.</paragraph>
164<paragraph role="paragraph" id="par_id3153221" xml-lang="en-US" l10n="U" oldref="230">
165<emph>End</emph> is the end of the depreciation.</paragraph>
166<paragraph role="paragraph" id="par_id3147536" xml-lang="en-US" l10n="CHG" oldref="231">
167<emph>Factor</emph> (optional) is the depreciation factor. Factor = 2 is double rate depreciation.</paragraph>
168<paragraph role="paragraph" id="par_id3154865" xml-lang="en-US" l10n="CHG" oldref="232">
169<emph>Type </emph>is an optional parameter. Type = 1 means a switch to linear depreciation. In Type = 0 no switch is made.</paragraph>
170<paragraph role="paragraph" id="par_idN10A0D" xml-lang="en-US" l10n="NEW">
171<embedvar href="text/scalc/00/00000004.xhp#optional"/>
172</paragraph>
173<paragraph role="heading" id="hd_id3148429" xml-lang="en-US" level="3" l10n="U" oldref="233">Example</paragraph>
174<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>
175<paragraph role="paragraph" id="par_id3155991" xml-lang="en-US" l10n="U" oldref="235">
176<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>
177</section>
178<section id="xirr">
179<bookmark xml-lang="en-US" branch="index" id="bm_id3147485"><bookmark_value>calculating;internal rates of return, irregular payments</bookmark_value>
180<bookmark_value>internal rates of return;irregular payments</bookmark_value>
181<bookmark_value>XIRR function</bookmark_value>
182</bookmark><comment>mw changed "calculating;..." and "internal rates of return"</comment>
183<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_XIRR" id="bm_id3083443" localize="false"/>
184<paragraph role="heading" id="hd_id3147485" xml-lang="en-US" level="2" oldref="193">XIRR</paragraph>
185<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>
186<paragraph role="paragraph" id="par_idN10E62" xml-lang="en-US">If the payments take place at regular intervals, use the IRR function.</paragraph>
187<paragraph role="heading" id="hd_id3146149" xml-lang="en-US" level="3" l10n="U" oldref="195">Syntax</paragraph>
188<paragraph role="code" id="par_id3149826" xml-lang="en-US" l10n="U" oldref="196">XIRR(Values; Dates; Guess)</paragraph>
189<paragraph role="paragraph" id="par_id3163821" xml-lang="en-US" l10n="U" oldref="197">
190<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>
191<paragraph role="paragraph" id="par_id3149708" xml-lang="en-US" l10n="U" oldref="198">
192<emph>Guess</emph> (optional) is a guess that can be input for the internal rate of return. The default is 10%.</paragraph>
193<paragraph role="heading" id="hd_id3145085" xml-lang="en-US" level="3" l10n="U" oldref="199">Example</paragraph>
194<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>
195<table id="tbl_id3152970">
196<tablerow>
197<tablecell>
198</tablecell>
199<tablecell>
200<paragraph role="paragraph" id="par_id3155838" xml-lang="en-US" l10n="U" oldref="305">A</paragraph>
201</tablecell>
202<tablecell>
203<paragraph role="paragraph" id="par_id3152934" xml-lang="en-US" l10n="U" oldref="306">B</paragraph>
204</tablecell>
205<tablecell>
206<paragraph role="paragraph" id="par_id3154638" xml-lang="en-US" l10n="U" oldref="307">C</paragraph>
207</tablecell>
208</tablerow>
209<tablerow>
210<tablecell>
211<paragraph role="paragraph" id="par_id3147083" xml-lang="en-US" l10n="U" oldref="308">1</paragraph>
212</tablecell>
213<tablecell>
214<paragraph role="paragraph" id="par_id3151187" xml-lang="en-US" l10n="CHG" oldref="309">2001-01-01</paragraph>
215</tablecell>
216<tablecell>
217<paragraph role="paragraph" id="par_id3145212" xml-lang="en-US" l10n="U" oldref="201">-<item type="input">10000</item>
218</paragraph>
219</tablecell>
220<tablecell>
221<paragraph role="paragraph" id="par_id3146856" xml-lang="en-US" l10n="U" oldref="202">
222<item type="input">Received</item>
223</paragraph>
224</tablecell>
225</tablerow>
226<tablerow>
227<tablecell>
228<paragraph role="paragraph" id="par_id3153277" xml-lang="en-US" l10n="U" oldref="310">2</paragraph>
229</tablecell>
230<tablecell>
231<paragraph role="paragraph" id="par_id3154052" xml-lang="en-US" l10n="CHG" oldref="203">2001-01-02</paragraph>
232</tablecell>
233<tablecell>
234<paragraph role="paragraph" id="par_id3151297" xml-lang="en-US" l10n="U" oldref="204">
235<item type="input">2000</item>
236</paragraph>
237</tablecell>
238<tablecell>
239<paragraph role="paragraph" id="par_id3149985" xml-lang="en-US" l10n="U" oldref="205">
240<item type="input">Deposited</item>
241</paragraph>
242</tablecell>
243</tablerow>
244<tablerow>
245<tablecell>
246<paragraph role="paragraph" id="par_id3154744" xml-lang="en-US" l10n="U" oldref="311">3</paragraph>
247</tablecell>
248<tablecell>
249<paragraph role="paragraph" id="par_id3153151" xml-lang="en-US" l10n="CHG" oldref="206">2001-03-15</paragraph>
250</tablecell>
251<tablecell>
252<paragraph role="paragraph" id="par_id3145657" xml-lang="en-US" l10n="U" oldref="207">2500</paragraph>
253</tablecell>
254<tablecell>
255</tablecell>
256</tablerow>
257<tablerow>
258<tablecell>
259<paragraph role="paragraph" id="par_id3155101" xml-lang="en-US" l10n="U" oldref="312">4</paragraph>
260</tablecell>
261<tablecell>
262<paragraph role="paragraph" id="par_id3146894" xml-lang="en-US" l10n="CHG" oldref="208">2001-05-12</paragraph>
263</tablecell>
264<tablecell>
265<paragraph role="paragraph" id="par_id3143231" xml-lang="en-US" l10n="U" oldref="209">5000</paragraph>
266</tablecell>
267<tablecell>
268</tablecell>
269</tablerow>
270<tablerow>
271<tablecell>
272<paragraph role="paragraph" id="par_id3156012" xml-lang="en-US" l10n="U" oldref="313">5</paragraph>
273</tablecell>
274<tablecell>
275<paragraph role="paragraph" id="par_id3149758" xml-lang="en-US" l10n="CHG" oldref="210">2001-08-10</paragraph>
276</tablecell>
277<tablecell>
278<paragraph role="paragraph" id="par_id3147495" xml-lang="en-US" l10n="U" oldref="211">1000</paragraph>
279</tablecell>
280<tablecell>
281</tablecell>
282</tablerow>
283</table>
284
285<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>
286</section>
287<section id="xnpv">
288<bookmark xml-lang="en-US" branch="index" id="bm_id3149198"><bookmark_value>XNPV function</bookmark_value>
289</bookmark>
290<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_XNPV" id="bm_id3151172" localize="false"/>
291<paragraph role="heading" id="hd_id3149198" xml-lang="en-US" level="2" oldref="213">XNPV</paragraph>
292<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>
293<paragraph role="paragraph" id="par_idN11138" xml-lang="en-US">If the payments take place at regular intervals, use the NPV function.</paragraph>
294<paragraph role="heading" id="hd_id3155323" xml-lang="en-US" level="3" l10n="U" oldref="215">Syntax</paragraph>
295<paragraph role="code" id="par_id3150117" xml-lang="en-US" l10n="U" oldref="216">XNPV(Rate; Values; Dates)</paragraph>
296<paragraph role="paragraph" id="par_id3153100" xml-lang="en-US" l10n="U" oldref="217">
297<emph>Rate</emph> is the internal rate of return for the payments.</paragraph>
298<paragraph role="paragraph" id="par_id3155395" xml-lang="en-US" l10n="U" oldref="218">
299<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>
300<paragraph role="heading" id="hd_id3148832" xml-lang="en-US" level="3" l10n="U" oldref="219">Example</paragraph>
301<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>
302<paragraph role="paragraph" id="par_id3149910" xml-lang="en-US" l10n="U" oldref="221">
303<item type="input">=XNPV(0.06;B1:B5;A1:A5)</item> returns 323.02.</paragraph>
304</section>
305<section id="rri">
306<bookmark xml-lang="en-US" branch="index" id="bm_id3148822"><bookmark_value>calculating;rates of return</bookmark_value>
307<bookmark_value>RRI function</bookmark_value>
308</bookmark>
309<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZGZ" id="bm_id3146996" localize="false"/>
310<paragraph role="heading" id="hd_id3148822" xml-lang="en-US" level="2" oldref="237">RRI</paragraph>
311<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>
312<paragraph role="heading" id="hd_id3148444" xml-lang="en-US" level="3" l10n="U" oldref="239">Syntax</paragraph>
313<paragraph role="code" id="par_id3148804" xml-lang="en-US" l10n="U" oldref="240">RRI(P; PV; FV)</paragraph>
314<paragraph role="paragraph" id="par_id3154901" xml-lang="en-US" l10n="U" oldref="241">
315<emph>P</emph> is the number of periods needed for calculating the interest rate.</paragraph>
316<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="242">
317<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 &lt;0.</paragraph>
318<paragraph role="paragraph" id="par_id3149771" xml-lang="en-US" l10n="U" oldref="243">
319<emph>FV</emph> determines what is desired as the cash value of the deposit.</paragraph>
320<paragraph role="heading" id="hd_id3148941" xml-lang="en-US" level="3" l10n="U" oldref="244">Example</paragraph>
321<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>
322<paragraph role="paragraph" id="par_id3150775" xml-lang="en-US" l10n="U" oldref="246">
323<item type="input">=RRI(4;7500;10000)</item> = 7.46 %</paragraph>
324<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>
325</section>
326<section id="rate">
327<bookmark xml-lang="en-US" branch="index" id="bm_id3154267"><bookmark_value>calculating;constant interest rates</bookmark_value>
328<bookmark_value>constant interest rates</bookmark_value>
329<bookmark_value>RATE function</bookmark_value>
330</bookmark>
331<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZINS" id="bm_id3153581" localize="false"/>
332<paragraph role="heading" id="hd_id3154267" xml-lang="en-US" level="2" oldref="249">RATE</paragraph>
333<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>
334<paragraph role="heading" id="hd_id3154272" xml-lang="en-US" level="3" l10n="U" oldref="251">Syntax</paragraph>
335<paragraph role="code" id="par_id3158423" xml-lang="en-US" l10n="U" oldref="252">RATE(NPer; Pmt; PV; FV; Type; Guess)</paragraph>
336<paragraph role="paragraph" id="par_id3148910" xml-lang="en-US" l10n="U" oldref="253">
337<emph>NPer</emph> is the total number of periods, during which payments are made (payment period).</paragraph>
338<paragraph role="paragraph" id="par_id3148925" xml-lang="en-US" l10n="U" oldref="254">
339<emph>Pmt</emph> is the constant payment (annuity) paid during each period.</paragraph>
340<paragraph role="paragraph" id="par_id3149160" xml-lang="en-US" l10n="U" oldref="255">
341<emph>PV</emph> is the cash value in the sequence of payments.</paragraph>
342<paragraph role="paragraph" id="par_id3166456" xml-lang="en-US" l10n="U" oldref="256">
343<emph>FV</emph> (optional) is the future value, which is reached at the end of the periodic payments.</paragraph>
344<paragraph role="paragraph" id="par_id3153243" xml-lang="en-US" l10n="U" oldref="257">
345<emph>Type</emph> (optional) is the due date of the periodic payment, either at the beginning or at the end of a period.</paragraph>
346<paragraph role="paragraph" id="par_id3146949" xml-lang="en-US" l10n="U" oldref="258">
347<emph>Guess</emph> (optional) determines the estimated value of the interest with iterative calculation.</paragraph>
348<paragraph role="paragraph" id="par_idN10E2A" xml-lang="en-US" l10n="NEW">
349<embedvar href="text/scalc/00/00000004.xhp#optional"/>
350</paragraph>
351<paragraph role="heading" id="hd_id3149791" xml-lang="en-US" level="3" l10n="U" oldref="259">Example</paragraph>
352<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>
353<paragraph role="paragraph" id="par_id3155586" xml-lang="en-US" l10n="U" oldref="261">
354<item type="input">=RATE(3;10;900)</item> = -121% The interest rate is therefore 121%.</paragraph>
355</section>
356<section id="intrate">
357<bookmark xml-lang="en-US" branch="index" id="bm_id3149106"><bookmark_value>INTRATE function</bookmark_value>
358</bookmark>
359<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_INTRATE" id="bm_id3152944" localize="false"/>
360<paragraph role="heading" id="hd_id3149106" xml-lang="en-US" level="2" oldref="60">INTRATE</paragraph>
361<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>
362<paragraph role="heading" id="hd_id3149974" xml-lang="en-US" level="3" l10n="U" oldref="62">Syntax</paragraph>
363<paragraph role="code" id="par_id3149800" xml-lang="en-US" l10n="U" oldref="63">INTRATE(Settlement; Maturity; Investment; Redemption; Basis)</paragraph>
364<paragraph role="paragraph" id="par_id3148618" xml-lang="en-US" l10n="U" oldref="64">
365<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
366<paragraph role="paragraph" id="par_id3148988" xml-lang="en-US" l10n="U" oldref="65">
367<emph>Maturity</emph> is the date on which the security is sold.</paragraph>
368<paragraph role="paragraph" id="par_id3154604" xml-lang="en-US" l10n="U" oldref="66">
369<emph>Investment</emph> is the purchase price.</paragraph>
370<paragraph role="paragraph" id="par_id3154337" xml-lang="en-US" l10n="U" oldref="67">
371<emph>Redemption</emph> is the selling price.</paragraph>
372<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
373<paragraph role="heading" id="hd_id3145380" xml-lang="en-US" level="3" l10n="U" oldref="68">Example</paragraph>
374<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>
375<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>
376</section>
377<section id="coupncd">
378<bookmark xml-lang="en-US" branch="index" id="bm_id3148654"><bookmark_value>COUPNCD function</bookmark_value>
379</bookmark>
380<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPNCD" id="bm_id3148413" localize="false"/>
381<paragraph role="heading" id="hd_id3148654" xml-lang="en-US" level="2" oldref="163">COUPNCD</paragraph>
382<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>
383<paragraph role="heading" id="hd_id3153317" xml-lang="en-US" level="3" l10n="U" oldref="165">Syntax</paragraph>
384<paragraph role="code" id="par_id3150423" xml-lang="en-US" l10n="U" oldref="166">COUPNCD(Settlement; Maturity; Frequency; Basis)</paragraph>
385<paragraph role="paragraph" id="par_id3150628" xml-lang="en-US" l10n="U" oldref="167">
386<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
387<paragraph role="paragraph" id="par_id3153536" xml-lang="en-US" l10n="U" oldref="168">
388<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
389<paragraph role="paragraph" id="par_id3145313" xml-lang="en-US" l10n="U" oldref="169">
390<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
391<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
392<paragraph role="heading" id="hd_id3155424" xml-lang="en-US" level="3" l10n="U" oldref="170">Example</paragraph>
393<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>
394<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>
395</section>
396<section id="coupdays">
397<bookmark xml-lang="en-US" branch="index" id="bm_id3143281"><bookmark_value>COUPDAYS function</bookmark_value>
398</bookmark>
399<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYS" id="bm_id3144759" localize="false"/>
400<paragraph role="heading" id="hd_id3143281" xml-lang="en-US" level="2" oldref="143">COUPDAYS</paragraph>
401<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>
402<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="3" l10n="U" oldref="145">Syntax</paragraph>
403<paragraph role="code" id="par_id3149585" xml-lang="en-US" l10n="U" oldref="146">COUPDAYS(Settlement; Maturity; Frequency; Basis)</paragraph>
404<paragraph role="paragraph" id="par_id3152767" xml-lang="en-US" l10n="U" oldref="147">
405<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
406<paragraph role="paragraph" id="par_id3151250" xml-lang="en-US" l10n="U" oldref="148">
407<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
408<paragraph role="paragraph" id="par_id3146126" xml-lang="en-US" l10n="U" oldref="149">
409<emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
410<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
411<paragraph role="heading" id="hd_id3153705" xml-lang="en-US" level="3" l10n="U" oldref="150">Example</paragraph>
412<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>
413<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>
414</section>
415<section id="coupdaysnc">
416<bookmark xml-lang="en-US" branch="index" id="bm_id3154832"><bookmark_value>COUPDAYSNC function</bookmark_value>
417</bookmark>
418<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYSNC" id="bm_id3150941" localize="false"/>
419<paragraph role="heading" id="hd_id3154832" xml-lang="en-US" level="2" oldref="153">COUPDAYSNC</paragraph>
420<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>
421<paragraph role="heading" id="hd_id3151312" xml-lang="en-US" level="3" l10n="U" oldref="155">Syntax</paragraph>
422<paragraph role="code" id="par_id3155121" xml-lang="en-US" l10n="U" oldref="156">COUPDAYSNC(Settlement; Maturity; Frequency; Basis)</paragraph>
423<paragraph role="paragraph" id="par_id3158440" xml-lang="en-US" l10n="U" oldref="157">
424<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
425<paragraph role="paragraph" id="par_id3146075" xml-lang="en-US" l10n="U" oldref="158">
426<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
427<paragraph role="paragraph" id="par_id3154620" xml-lang="en-US" l10n="U" oldref="159">
428<emph>Frequency </emph>is number of interest payments per year (1, 2 or 4).</paragraph>
429<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
430<paragraph role="heading" id="hd_id3155604" xml-lang="en-US" level="3" l10n="U" oldref="160">Example</paragraph>
431<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>
432<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>
433</section>
434<section id="coupdaybs">
435<bookmark xml-lang="en-US" branch="index" id="bm_id3150408"><bookmark_value>COUPDAYBS function</bookmark_value>
436<bookmark_value>durations;first interest payment until settlement date</bookmark_value>
437<bookmark_value>securities;first interest payment until settlement date</bookmark_value>
438</bookmark><comment>mw added "durations;" and "securities;"</comment>
439<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYBS" id="bm_id3153775" localize="false"/>
440<paragraph role="heading" id="hd_id3150408" xml-lang="en-US" level="2" oldref="133">COUPDAYBS</paragraph>
441<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>
442<paragraph role="heading" id="hd_id3156142" xml-lang="en-US" level="3" l10n="U" oldref="135">Syntax</paragraph>
443<paragraph role="code" id="par_id3159083" xml-lang="en-US" l10n="U" oldref="136">COUPDAYBS(Settlement; Maturity; Frequency; Basis)</paragraph>
444<paragraph role="paragraph" id="par_id3146907" xml-lang="en-US" l10n="U" oldref="137">
445<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
446<paragraph role="paragraph" id="par_id3159390" xml-lang="en-US" l10n="U" oldref="138">
447<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
448<paragraph role="paragraph" id="par_id3154414" xml-lang="en-US" l10n="U" oldref="139">
449<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
450<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
451<paragraph role="heading" id="hd_id3153880" xml-lang="en-US" level="3" l10n="U" oldref="140">Example</paragraph>
452<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>
453<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>
454</section>
455<section id="couppcd">
456<bookmark xml-lang="en-US" branch="index" id="bm_id3152957"><bookmark_value>COUPPCD function</bookmark_value>
457<bookmark_value>dates;interest date prior to settlement date</bookmark_value>
458</bookmark><comment>mw added "dates;"</comment>
459<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPPCD" id="bm_id3149553" localize="false"/>
460<paragraph role="heading" id="hd_id3152957" xml-lang="en-US" level="2" oldref="183">COUPPCD</paragraph>
461<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>
462<paragraph role="heading" id="hd_id3156269" xml-lang="en-US" level="3" l10n="U" oldref="185">Syntax</paragraph>
463<paragraph role="code" id="par_id3153790" xml-lang="en-US" l10n="U" oldref="186">COUPPCD(Settlement; Maturity; Frequency; Basis)</paragraph>
464<paragraph role="paragraph" id="par_id3150989" xml-lang="en-US" l10n="U" oldref="187">
465<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
466<paragraph role="paragraph" id="par_id3154667" xml-lang="en-US" l10n="U" oldref="188">
467<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
468<paragraph role="paragraph" id="par_id3154569" xml-lang="en-US" l10n="U" oldref="189">
469<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
470<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
471<paragraph role="heading" id="hd_id3150826" xml-lang="en-US" level="3" l10n="U" oldref="190">Example</paragraph>
472<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>
473<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>
474</section>
475<section id="coupnum">
476<bookmark xml-lang="en-US" branch="index" id="bm_id3150673"><bookmark_value>COUPNUM function</bookmark_value>
477<bookmark_value>number of coupons</bookmark_value>
478</bookmark><comment>mw added "number..."</comment>
479<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPNUM" id="bm_id3153348" localize="false"/>
480<paragraph role="heading" id="hd_id3150673" xml-lang="en-US" level="2" oldref="173">COUPNUM</paragraph>
481<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>
482<paragraph role="heading" id="hd_id3148400" xml-lang="en-US" level="3" l10n="U" oldref="175">Syntax</paragraph>
483<paragraph role="code" id="par_id3153200" xml-lang="en-US" l10n="U" oldref="176">COUPNUM(Settlement; Maturity; Frequency; Basis)</paragraph>
484<paragraph role="paragraph" id="par_id3159406" xml-lang="en-US" l10n="U" oldref="177">
485<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
486<paragraph role="paragraph" id="par_id3155864" xml-lang="en-US" l10n="U" oldref="178">
487<emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
488<paragraph role="paragraph" id="par_id3154720" xml-lang="en-US" l10n="U" oldref="179">
489<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
490<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
491<paragraph role="heading" id="hd_id3149319" xml-lang="en-US" level="3" l10n="U" oldref="180">Example</paragraph>
492<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>
493<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>
494</section>
495<section id="ipmt">
496<bookmark xml-lang="en-US" branch="index" id="bm_id3149339"><bookmark_value>IPMT function</bookmark_value>
497<bookmark_value>periodic amortizement rates</bookmark_value>
498</bookmark><comment>mw added "periodic..."</comment>
499<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZINSZ" id="bm_id3149737" localize="false"/>
500<paragraph role="heading" id="hd_id3149339" xml-lang="en-US" level="2" oldref="263">IPMT</paragraph>
501<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>
502<paragraph role="heading" id="hd_id3153266" xml-lang="en-US" level="3" l10n="U" oldref="265">Syntax</paragraph>
503<paragraph role="code" id="par_id3151283" xml-lang="en-US" l10n="U" oldref="266">IPMT(Rate; Period; NPer; PV; FV; Type)</paragraph>
504<paragraph role="paragraph" id="par_id3147313" xml-lang="en-US" l10n="U" oldref="267">
505<emph>Rate</emph> is the periodic interest rate.</paragraph>
506<paragraph role="paragraph" id="par_id3145158" xml-lang="en-US" l10n="U" oldref="268">
507<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>
508<paragraph role="paragraph" id="par_id3147577" xml-lang="en-US" l10n="U" oldref="269">
509<emph>NPer</emph> is the total number of periods, during which annuity is paid.</paragraph>
510<paragraph role="paragraph" id="par_id3156211" xml-lang="en-US" l10n="U" oldref="270">
511<emph>PV</emph> is the present cash value in sequence of payments.</paragraph>
512<paragraph role="paragraph" id="par_id3151213" xml-lang="en-US" l10n="U" oldref="271">
513<emph>FV</emph> (optional) is the desired value (future value) at the end of the periods.</paragraph>
514<paragraph role="paragraph" id="par_id3154195" xml-lang="en-US" l10n="U" oldref="272">
515<emph>Type</emph> is the due date for the periodic payments.</paragraph>
516<paragraph role="heading" id="hd_id3150102" xml-lang="en-US" level="3" l10n="U" oldref="273">Example</paragraph>
517<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>
518<paragraph role="paragraph" id="par_id3150496" xml-lang="en-US" l10n="U" oldref="275">
519<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>
520</section>
521<section id="fv">
522<bookmark xml-lang="en-US" branch="index" id="bm_id3151205"><bookmark_value>calculating;future values</bookmark_value>
523<bookmark_value>future values;constant interest rates</bookmark_value>
524<bookmark_value>FV function</bookmark_value>
525</bookmark><comment>mw made "future values..." a two level entry</comment>
526<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZW" id="bm_id3156049" localize="false"/>
527<paragraph role="heading" id="hd_id3151205" xml-lang="en-US" level="2" oldref="277">FV</paragraph>
528<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>
529<paragraph role="heading" id="hd_id3155178" xml-lang="en-US" level="3" l10n="U" oldref="279">Syntax</paragraph>
530<paragraph role="code" id="par_id3145215" xml-lang="en-US" l10n="U" oldref="280">FV(Rate; NPer; Pmt; PV; Type)</paragraph>
531<paragraph role="paragraph" id="par_id3155136" xml-lang="en-US" l10n="U" oldref="281">
532<emph>Rate</emph> is the periodic interest rate.</paragraph>
533<paragraph role="paragraph" id="par_id3156029" xml-lang="en-US" l10n="U" oldref="282">
534<emph>NPer</emph> is the total number of periods (payment period).</paragraph>
535<paragraph role="paragraph" id="par_id3151322" xml-lang="en-US" l10n="U" oldref="283">
536<emph>Pmt</emph> is the annuity paid regularly per period.</paragraph>
537<paragraph role="paragraph" id="par_id3145256" xml-lang="en-US" l10n="U" oldref="284">
538<emph>PV</emph> (optional) is the (present) cash value of an investment.</paragraph>
539<paragraph role="paragraph" id="par_id3150999" xml-lang="en-US" l10n="U" oldref="285">
540<emph>Type</emph> (optional) defines whether the payment is due at the beginning or the end of a period.</paragraph>
541<paragraph role="paragraph" id="par_idN114D8" xml-lang="en-US" l10n="NEW">
542<embedvar href="text/scalc/00/00000004.xhp#optional"/>
543</paragraph>
544<paragraph role="heading" id="hd_id3146800" xml-lang="en-US" level="3" l10n="U" oldref="286">Example</paragraph>
545<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>
546<paragraph role="paragraph" id="par_id3149302" xml-lang="en-US" l10n="U" oldref="288">
547<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>
548</section>
549<section id="fvschedule">
550<bookmark xml-lang="en-US" branch="index" id="bm_id3155912"><bookmark_value>FVSCHEDULE function</bookmark_value>
551<bookmark_value>future values;varying interest rates</bookmark_value>
552</bookmark><comment>mw added "future values"</comment>
553<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_FVSCHEDULE" id="bm_id3155341" localize="false"/>
554<paragraph role="heading" id="hd_id3155912" xml-lang="en-US" level="2" oldref="51">FVSCHEDULE</paragraph>
555<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>
556<paragraph role="heading" id="hd_id3149571" xml-lang="en-US" level="3" l10n="U" oldref="53">Syntax</paragraph>
557<paragraph role="code" id="par_id3148891" xml-lang="en-US" l10n="U" oldref="54">FVSCHEDULE(Principal; Schedule)</paragraph>
558<paragraph role="paragraph" id="par_id3148904" xml-lang="en-US" l10n="U" oldref="55">
559<emph>Principal</emph> is the starting capital.</paragraph>
560<paragraph role="paragraph" id="par_id3148562" xml-lang="en-US" l10n="U" oldref="56">
561<emph>Schedule</emph> is a series of interest rates, for example, as a range H3:H5 or as a (List) (see example).</paragraph>
562<paragraph role="heading" id="hd_id3147288" xml-lang="en-US" level="3" l10n="U" oldref="57">Example</paragraph>
563<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>
564<paragraph role="paragraph" id="par_id3156358" xml-lang="en-US" l10n="U" oldref="59">
565<item type="input">=FVSCHEDULE(1000;{0.03;0.04;0.05})</item> returns 1124.76.</paragraph>
566</section>
567<section id="nper">
568<bookmark xml-lang="en-US" branch="index" id="bm_id3156435"><bookmark_value>calculating;number of payment periods</bookmark_value>
569<bookmark_value>payment periods;number of</bookmark_value>
570<bookmark_value>number of payment periods</bookmark_value>
571<bookmark_value>NPER function</bookmark_value>
572</bookmark>
573<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZZR" id="bm_id3154917" localize="false"/>
574<paragraph role="heading" id="hd_id3156435" xml-lang="en-US" level="2" oldref="290">NPER</paragraph>
575<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>
576<paragraph role="heading" id="hd_id3147216" xml-lang="en-US" level="3" l10n="U" oldref="292">Syntax</paragraph>
577<paragraph role="code" id="par_id3155934" xml-lang="en-US" l10n="U" oldref="293">NPER(Rate; Pmt; PV; FV; Type)</paragraph>
578<paragraph role="paragraph" id="par_id3155946" xml-lang="en-US" l10n="U" oldref="294">
579<emph>Rate</emph> is the periodic interest rate.</paragraph>
580<paragraph role="paragraph" id="par_id3149042" xml-lang="en-US" l10n="U" oldref="295">
581<emph>Pmt</emph> is the constant annuity paid in each period.</paragraph>
582<paragraph role="paragraph" id="par_id3153134" xml-lang="en-US" l10n="U" oldref="296">
583<emph>PV</emph> is the present value (cash value) in a sequence of payments.</paragraph>
584<paragraph role="paragraph" id="par_id3154398" xml-lang="en-US" l10n="U" oldref="297">
585<emph>FV</emph> (optional) is the future value, which is reached at the end of the last period.</paragraph>
586<paragraph role="paragraph" id="par_id3145127" xml-lang="en-US" l10n="U" oldref="298">
587<emph>Type</emph> (optional) is the due date of the payment at the beginning or at the end of the period.</paragraph>
588<paragraph role="paragraph" id="par_idN1166C" xml-lang="en-US" l10n="NEW">
589<embedvar href="text/scalc/00/00000004.xhp#optional"/>
590</paragraph>
591<paragraph role="heading" id="hd_id3155795" xml-lang="en-US" level="3" l10n="U" oldref="299">Example</paragraph>
592<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>
593<paragraph role="paragraph" id="par_id3156171" xml-lang="en-US" l10n="U" oldref="301">
594<item type="input">=NPER(6%;153.75;2600)</item> = -12,02. The payment period covers 12.02 periods.</paragraph>
595</section>
596</sort>
597<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>
598<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>
599<embed href="text/scalc/01/04060100.xhp#drking"/>
600</body>
601</helpdocument>
602