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