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