summaryrefslogtreecommitdiffstats
path: root/source/text/scalc/01/04060118.xhp
blob: a51d0cf6bee9b236934976ac2d32e925d539f5b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->

<meta>
  <topic id="textscalc0104060118xml" indexer="include">
    <title id="tit" xml-lang="en-US">Financial Functions Part Three</title>
    <filename>/text/scalc/01/04060118.xhp</filename>
  </topic>
</meta>

<body>


<paragraph id="hd_id3146780" role="heading" level="1" xml-lang="en-US">Financial Functions Part Three</paragraph>
<sort>

<section id="oddfprice">
<bookmark xml-lang="en-US" branch="index" id="bm_id3145112">
  <bookmark_value>ODDFPRICE function</bookmark_value>
  <bookmark_value>prices;securities with irregular first interest date</bookmark_value>
</bookmark>
<comment>mw added one entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDFPRICE" id="bm_id3146107" localize="false"/>

<paragraph id="hd_id3145112" role="heading" level="2" xml-lang="en-US">ODDFPRICE</paragraph>
<paragraph id="par_id3147250" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3146098" role="code" xml-lang="en-US">ODDFPRICE(Settlement; Maturity; Issue; FirstCoupon; Rate; Yield; Redemption; Frequency [; Basis])</paragraph>
<paragraph id="par_id3153337" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3149051" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3147297" role="paragraph" xml-lang="en-US"><emph>Issue</emph> is the date of issue of the security.</paragraph>
<paragraph id="par_id3150393" role="paragraph" xml-lang="en-US"><emph>FirstCoupon</emph> is the first interest date of the security.</paragraph>
<paragraph id="par_id3147402" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the annual rate of interest.</paragraph>
<paragraph id="par_id3151387" role="paragraph" xml-lang="en-US"><emph>Yield</emph> is the annual yield of the security.</paragraph>
<paragraph id="par_id3153023" role="paragraph" xml-lang="en-US"><emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
<paragraph id="par_id3150539" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
</section>

<section id="oddfyield">
<bookmark xml-lang="en-US" branch="index" id="bm_id3157871">
  <bookmark_value>ODDFYIELD function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDFYIELD" id="bm_id3149723" localize="false"/>

<paragraph id="hd_id3157871" role="heading" level="2" xml-lang="en-US">ODDFYIELD</paragraph>
<paragraph id="par_id3147414" role="paragraph" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_ODDFYIELD">Calculates the yield of a security if the first interest date falls irregularly.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3152982" role="code" xml-lang="en-US">ODDFYIELD(Settlement; Maturity; Issue; FirstCoupon; Rate; Price; Redemption; Frequency [; Basis])</paragraph>
<paragraph id="par_id3157906" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3150026" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3149012" role="paragraph" xml-lang="en-US"><emph>Issue</emph> is the date of issue of the security.</paragraph>
<paragraph id="par_id3148725" role="paragraph" xml-lang="en-US"><emph>FirstCoupon</emph> is the first interest period of the security.</paragraph>
<paragraph id="par_id3150465" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the annual rate of interest.</paragraph>
<paragraph id="par_id3146940" role="paragraph" xml-lang="en-US"><emph>Price</emph> is the price of the security.</paragraph>
<paragraph id="par_id3149893" role="paragraph" xml-lang="en-US"><emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
<paragraph id="par_id3148888" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
</section>

<section id="oddlprice">
<bookmark xml-lang="en-US" branch="index" id="bm_id3153933">
  <bookmark_value>ODDLPRICE function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDLPRICE" id="bm_id3145596" localize="false"/>

<paragraph id="hd_id3153933" role="heading" level="2" xml-lang="en-US">ODDLPRICE</paragraph>
<paragraph id="par_id3145145" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3155262" role="code" xml-lang="en-US">ODDLPRICE(Settlement; Maturity; LastInterest; Rate; Yield; Redemption; Frequency [; Basis])</paragraph>
<paragraph id="par_id3149689" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3148753" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3150861" role="paragraph" xml-lang="en-US"><emph>LastInterest</emph> is the last interest date of the security.</paragraph>
<paragraph id="par_id3155831" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the annual rate of interest.</paragraph>
<paragraph id="par_id3153328" role="paragraph" xml-lang="en-US"><emph>Yield</emph> is the annual yield of the security.</paragraph>
<paragraph id="par_id3149186" role="paragraph" xml-lang="en-US"><emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
<paragraph id="par_id3149726" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3152999" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3148567" role="paragraph" xml-lang="en-US">The price per 100 currency units per value of a security, which has an irregular last interest date, is calculated as follows:</paragraph>
<paragraph id="par_id3150332" role="paragraph" xml-lang="en-US">=ODDLPRICE("1999-02-07";"1999-06-15";"1998-10-15"; 0.0375; 0.0405;100;2;0) returns 99.87829.</paragraph>
</section>

<section id="oddlyield">
<bookmark xml-lang="en-US" branch="index" id="bm_id3153564">
  <bookmark_value>ODDLYIELD function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ODDLYIELD" id="bm_id3153732" localize="false"/>

<paragraph id="hd_id3153564" role="heading" level="2" xml-lang="en-US">ODDLYIELD</paragraph>
<paragraph id="par_id3158002" role="paragraph" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_ODDLYIELD">Calculates the yield of a security if the last interest date falls irregularly.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3150018" role="code" xml-lang="en-US">ODDLYIELD(Settlement; Maturity; LastInterest; Rate; Price; Redemption; Frequency [; Basis])</paragraph>
<paragraph id="par_id3159132" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3150134" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3145245" role="paragraph" xml-lang="en-US"><emph>LastInterest</emph> is the last interest date of the security.</paragraph>
<paragraph id="par_id3151014" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the annual rate of interest.</paragraph>
<paragraph id="par_id3149003" role="paragraph" xml-lang="en-US"><emph>Price</emph> is the price of the security.</paragraph>
<paragraph id="par_id3148880" role="paragraph" xml-lang="en-US"><emph>Redemption</emph> is the redemption value per 100 currency units of par value.</paragraph>
<paragraph id="par_id3155622" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3145350" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3157990" role="paragraph" xml-lang="en-US">The yield of the security, that has an irregular last interest date, is calculated as follows:</paragraph>
<paragraph id="par_id3150572" role="paragraph" xml-lang="en-US">=ODDLYIELD("1999-04-20";"1999-06-15"; "1998-10-15"; 0.0375; 99.875; 100;2;0) returns 0.044873 or 4.4873%.</paragraph>
</section>

<section id="vdb">
<bookmark xml-lang="en-US" branch="index" id="bm_id3148768">
  <bookmark_value>calculating;variable declining depreciations</bookmark_value>
  <bookmark_value>depreciations;variable declining</bookmark_value>
  <bookmark_value>VDB function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VDB" id="bm_id3145624" localize="false"/>

<paragraph id="hd_id3148768" role="heading" level="2" xml-lang="en-US">VDB</paragraph>
<paragraph id="par_id3154636" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3149025" role="code" xml-lang="en-US">VDB(Cost; Salvage; Life; S; End [; Factor [; NoSwitch]])</paragraph>
<paragraph id="par_id3150692" role="paragraph" xml-lang="en-US"><emph>Cost</emph> is the initial value of an asset.</paragraph>
<paragraph id="par_id3155369" role="paragraph" xml-lang="en-US"><emph>Salvage</emph> is the value of an asset at the end of the depreciation.</paragraph>
<paragraph id="par_id3154954" role="paragraph" xml-lang="en-US"><emph>Life</emph> is the depreciation duration of the asset.</paragraph>
<paragraph id="par_id3152817" role="paragraph" xml-lang="en-US"><emph>S</emph> is the start of the depreciation. A must be entered in the same date unit as the duration.</paragraph>
<paragraph id="par_id3153221" role="paragraph" xml-lang="en-US"><emph>End</emph> is the end of the depreciation.</paragraph>
<paragraph id="par_id3147536" role="paragraph" xml-lang="en-US"><emph>Factor</emph> (optional) is the depreciation factor. Factor = 2 is double rate depreciation.</paragraph>
<paragraph id="par_id3154865" role="paragraph" xml-lang="en-US"><emph>NoSwitch</emph>is an optional parameter. NoSwitch = 0 (default) means a switch to linear depreciation. In NoSwitch = 1 no switch is made.</paragraph>
<paragraph id="par_idN10A0D" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3153927" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3155991" role="paragraph" xml-lang="en-US"><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>
</section>

<section id="xirr">
<bookmark xml-lang="en-US" branch="index" id="bm_id3147485">
  <bookmark_value>calculating;internal rates of return, irregular payments</bookmark_value>
  <bookmark_value>internal rates of return;irregular payments</bookmark_value>
  <bookmark_value>XIRR function</bookmark_value>
</bookmark>
<comment>mw changed "calculating;..." and "internal rates of return"</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_XIRR" id="bm_id3083443" localize="false"/>

<paragraph id="hd_id3147485" role="heading" level="2" xml-lang="en-US">XIRR</paragraph>
<paragraph id="par_id3145614" role="paragraph" xml-lang="en-US"><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>
<paragraph id="par_idN10E62" role="paragraph" xml-lang="en-US">If the payments take place at regular intervals, use the <link href="text/scalc/01/04060103.xhp#irr" name="IRR">IRR</link> function.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3149826" role="code" xml-lang="en-US">XIRR(Values; Dates [; Guess])</paragraph>
<paragraph id="par_id3163821" role="paragraph" xml-lang="en-US"><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>
<paragraph id="par_id3149708" role="paragraph" xml-lang="en-US"><emph>Guess</emph> (optional) is a guess that can be input for the internal rate of return. The default is 10%.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3149273" role="paragraph" xml-lang="en-US">Calculation of the internal rate of return for the following five payments:</paragraph>

<table id="tbl_id3152970">
  <tablerow>
    <tablecell>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3155838" role="paragraph" xml-lang="en-US">A</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3152934" role="paragraph" xml-lang="en-US">B</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3154638" role="paragraph" xml-lang="en-US">C</paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3147083" role="paragraph" xml-lang="en-US">1</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3151187" role="paragraph" xml-lang="en-US">2001-01-01</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3145212" role="paragraph" xml-lang="en-US">-<item type="input">10000</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3146856" role="paragraph" xml-lang="en-US"><item type="input">Received</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3153277" role="paragraph" xml-lang="en-US">2</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3154052" role="paragraph" xml-lang="en-US">2001-01-02</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3151297" role="paragraph" xml-lang="en-US"><item type="input">2000</item></paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3149985" role="paragraph" xml-lang="en-US"><item type="input">Deposited</item></paragraph>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3154744" role="paragraph" xml-lang="en-US">3</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3153151" role="paragraph" xml-lang="en-US">2001-03-15</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3145657" role="paragraph" xml-lang="en-US">2500</paragraph>
    </tablecell>
    <tablecell>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3155101" role="paragraph" xml-lang="en-US">4</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3146894" role="paragraph" xml-lang="en-US">2001-05-12</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3143231" role="paragraph" xml-lang="en-US">5000</paragraph>
    </tablecell>
    <tablecell>
    </tablecell>
  </tablerow>
  <tablerow>
    <tablecell>
      <paragraph id="par_id3156012" role="paragraph" xml-lang="en-US">5</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3149758" role="paragraph" xml-lang="en-US">2001-08-10</paragraph>
    </tablecell>
    <tablecell>
      <paragraph id="par_id3147495" role="paragraph" xml-lang="en-US">1000</paragraph>
    </tablecell>
    <tablecell>
    </tablecell>
  </tablerow>
</table>

<paragraph id="par_id3152793" role="paragraph" xml-lang="en-US">=XIRR(B1:B5; A1:A5; 0.1) returns 0.1828.</paragraph>
</section>

<section id="xnpv">
<bookmark xml-lang="en-US" branch="index" id="bm_id3149198">
  <bookmark_value>XNPV function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_XNPV" id="bm_id3151172" localize="false"/>

<paragraph id="hd_id3149198" role="heading" level="2" xml-lang="en-US">XNPV</paragraph>
<paragraph id="par_id3153904" role="paragraph" xml-lang="en-US"><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>
<paragraph id="par_idN11138" role="paragraph" xml-lang="en-US">If the payments take place at regular intervals, use the <link href="text/scalc/01/04060119.xhp#npv" name="NPV">NPV</link> function.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3150117" role="code" xml-lang="en-US">XNPV(Rate; Values; Dates)</paragraph>
<paragraph id="par_id3153100" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the internal rate of return for the payments.</paragraph>
<paragraph id="par_id3155395" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3150525" role="paragraph" xml-lang="en-US">Calculation of the net present value for the above-mentioned five payments for a national internal rate of return of 6%.</paragraph>
<paragraph id="par_id3149910" role="paragraph" xml-lang="en-US"><item type="input">=XNPV(0.06;B1:B5;A1:A5)</item> returns 323.02.</paragraph>
</section>

<section id="rri">
<bookmark xml-lang="en-US" branch="index" id="bm_id3148822">
  <bookmark_value>calculating;rates of return</bookmark_value>
  <bookmark_value>RRI function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZGZ" id="bm_id3146996" localize="false"/>

<paragraph id="hd_id3148822" role="heading" level="2" xml-lang="en-US">RRI</paragraph>
<paragraph id="par_id3154293" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ZGZ">Calculates the interest rate resulting from the profit (return) of an investment.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3148804" role="code" xml-lang="en-US">RRI(P; PV; FV)</paragraph>
<paragraph id="par_id3154901" role="paragraph" xml-lang="en-US"><emph>P</emph> is the number of periods needed for calculating the interest rate.</paragraph>
<paragraph id="par_id3159149" role="paragraph" xml-lang="en-US"><emph>PV</emph> is the present (current) value. The cash value is the deposit of cash or the current cash value of an allowance in kind. As a deposit value a positive value must be entered; the deposit must not be 0 or &lt;0.</paragraph>
<paragraph id="par_id3149771" role="paragraph" xml-lang="en-US"><emph>FV</emph> determines what is desired as the cash value of the deposit.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3154212" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3150775" role="paragraph" xml-lang="en-US"><item type="input">=RRI(4;7500;10000)</item> = 7.46 %</paragraph>
<paragraph id="par_id3145413" role="paragraph" xml-lang="en-US">The interest rate must be 7.46 % so that 7,500 currency units will become 10,000 currency units.</paragraph>
</section>

<section id="rate">
<bookmark xml-lang="en-US" branch="index" id="bm_id3154267">
  <bookmark_value>calculating;constant interest rates</bookmark_value>
  <bookmark_value>constant interest rates</bookmark_value>
  <bookmark_value>RATE function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZINS" id="bm_id3153581" localize="false"/>

<paragraph id="hd_id3154267" role="heading" level="2" xml-lang="en-US">RATE</paragraph>
<paragraph id="par_id3151052" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ZINS">Returns the constant interest rate per period of an annuity.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3158423" role="code" xml-lang="en-US">RATE(NPer; Pmt; PV [ ; [ FV ] [ ; [ Type ] [ ; Guess ] ] ])</paragraph>
<paragraph id="par_id3148910" role="paragraph" xml-lang="en-US"><emph>NPer</emph> is the total number of periods, during which payments are made (payment period).</paragraph>
<paragraph id="par_id3148925" role="paragraph" xml-lang="en-US"><emph>Pmt</emph> is the constant payment (annuity) paid during each period.</paragraph>
<paragraph id="par_id3149160" role="paragraph" xml-lang="en-US"><emph>PV</emph> is the cash value in the sequence of payments.</paragraph>
<paragraph id="par_id3166456" role="paragraph" xml-lang="en-US"><emph>FV</emph> (optional) is the future value, which is reached at the end of the periodic payments.</paragraph>
<paragraph id="par_id3153243" role="paragraph" xml-lang="en-US"><emph>Type</emph> (optional) is the due date of the periodic payment, either at the beginning or at the end of a period.</paragraph>
<paragraph id="par_id3146949" role="paragraph" xml-lang="en-US"><emph>Guess</emph> (optional) determines the estimated value of the interest with iterative calculation.</paragraph>
<paragraph id="par_idN10E2A" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3150706" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3155586" role="paragraph" xml-lang="en-US"><item type="input">=RATE(3;-10;900)</item> = -75.63% The interest rate is therefore 75.63%.</paragraph>
</section>

<section id="intrate">
<bookmark xml-lang="en-US" branch="index" id="bm_id3149106">
  <bookmark_value>INTRATE function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_INTRATE" id="bm_id3152944" localize="false"/>

<paragraph id="hd_id3149106" role="heading" level="2" xml-lang="en-US">INTRATE</paragraph>
<paragraph id="par_id3149918" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3149800" role="code" xml-lang="en-US">INTRATE(Settlement; Maturity; Investment; Redemption [; Basis])</paragraph>
<paragraph id="par_id3148618" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3148988" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security is sold.</paragraph>
<paragraph id="par_id3154604" role="paragraph" xml-lang="en-US"><emph>Investment</emph> is the purchase price.</paragraph>
<paragraph id="par_id3154337" role="paragraph" xml-lang="en-US"><emph>Redemption</emph> is the selling price.</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3149426" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3151125" role="paragraph" xml-lang="en-US">=INTRATE("1990-01-15"; "2002-05-05"; 1000000; 2000000; 3) returns 8.12%.</paragraph>
</section>

<section id="coupncd">
<bookmark xml-lang="en-US" branch="index" id="bm_id3148654">
  <bookmark_value>COUPNCD function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPNCD" id="bm_id3148413" localize="false"/>

<paragraph id="hd_id3148654" role="heading" level="2" xml-lang="en-US">COUPNCD</paragraph>
<paragraph id="par_id3149927" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3150423" role="code" xml-lang="en-US">COUPNCD(Settlement; Maturity; Frequency [; Basis])</paragraph>
<paragraph id="par_id3150628" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3153536" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3145313" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3154794" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3159251" role="paragraph" xml-lang="en-US">=COUPNCD("2001-01-25"; "2001-11-15"; 2; 3) returns 2001-05-15.</paragraph>
</section>

<section id="coupdays">
<bookmark xml-lang="en-US" branch="index" id="bm_id3143281">
  <bookmark_value>COUPDAYS function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYS" id="bm_id3144759" localize="false"/>

<paragraph id="hd_id3143281" role="heading" level="2" xml-lang="en-US">COUPDAYS</paragraph>
<paragraph id="par_id3149488" role="paragraph" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_COUPDAYS">Returns the number of days in the current interest period in which the settlement date falls.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3149585" role="code" xml-lang="en-US">COUPDAYS(Settlement; Maturity; Frequency [; Basis])</paragraph>
<paragraph id="par_id3152767" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3151250" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3146126" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3147530" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3156338" role="paragraph" xml-lang="en-US">=COUPDAYS("2001-01-25"; "2001-11-15"; 2; 3) returns 181.</paragraph>
</section>

<section id="coupdaysnc">
<bookmark xml-lang="en-US" branch="index" id="bm_id3154832">
  <bookmark_value>COUPDAYSNC function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYSNC" id="bm_id3150941" localize="false"/>

<paragraph id="hd_id3154832" role="heading" level="2" xml-lang="en-US">COUPDAYSNC</paragraph>
<paragraph id="par_id3147100" role="paragraph" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_COUPDAYSNC">Returns the number of days from the settlement date until the next interest date.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3155121" role="code" xml-lang="en-US">COUPDAYSNC(Settlement; Maturity; Frequency [; Basis])</paragraph>
<paragraph id="par_id3158440" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3146075" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3154620" role="paragraph" xml-lang="en-US"><emph>Frequency </emph>is number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3148671" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3156158" role="paragraph" xml-lang="en-US">=COUPDAYSNC("2001-01-25"; "2001-11-15"; 2; 3) returns 110.</paragraph>
</section>

<section id="coupdaybs">
<bookmark xml-lang="en-US" branch="index" id="bm_id3150408">
  <bookmark_value>COUPDAYBS function</bookmark_value>
  <bookmark_value>durations;first interest payment until settlement date</bookmark_value>
  <bookmark_value>securities;first interest payment until settlement date</bookmark_value>
</bookmark>
<comment>mw added "durations;" and "securities;"</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPDAYBS" id="bm_id3153775" localize="false"/>

<paragraph id="hd_id3150408" role="heading" level="2" xml-lang="en-US">COUPDAYBS</paragraph>
<paragraph id="par_id3146795" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3159083" role="code" xml-lang="en-US">COUPDAYBS(Settlement; Maturity; Frequency [; Basis])</paragraph>
<paragraph id="par_id3146907" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3159390" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3154414" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3150592" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3151103" role="paragraph" xml-lang="en-US">=COUPDAYBS("2001-01-25"; "2001-11-15"; 2; 3) returns 71.</paragraph>
</section>

<section id="couppcd">
<bookmark xml-lang="en-US" branch="index" id="bm_id3152957">
  <bookmark_value>COUPPCD function</bookmark_value>
  <bookmark_value>dates;interest date prior to settlement date</bookmark_value>
</bookmark>
<comment>mw added "dates;"</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPPCD" id="bm_id3149553" localize="false"/>

<paragraph id="hd_id3152957" role="heading" level="2" xml-lang="en-US">COUPPCD</paragraph>
<paragraph id="par_id3153678" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3153790" role="code" xml-lang="en-US">COUPPCD(Settlement; Maturity; Frequency [; Basis])</paragraph>
<paragraph id="par_id3150989" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3154667" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3154569" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3148968" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3149992" role="paragraph" xml-lang="en-US">=COUPPCD("2001-01-25"; "2001-11-15"; 2; 3) returns 2000-15-11.</paragraph>
</section>

<section id="coupnum">
<bookmark xml-lang="en-US" branch="index" id="bm_id3150673">
  <bookmark_value>COUPNUM function</bookmark_value>
  <bookmark_value>number of coupons</bookmark_value>
</bookmark>
<comment>mw added "number..."</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COUPNUM" id="bm_id3153348" localize="false"/>

<paragraph id="hd_id3150673" role="heading" level="2" xml-lang="en-US">COUPNUM</paragraph>
<paragraph id="par_id3154350" role="paragraph" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_COUPNUM">Returns the number of coupons (interest payments) between the settlement date and the maturity date.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3153200" role="code" xml-lang="en-US">COUPNUM(Settlement; Maturity; Frequency [; Basis])</paragraph>
<paragraph id="par_id3159406" role="paragraph" xml-lang="en-US"><emph>Settlement</emph> is the date of purchase of the security.</paragraph>
<paragraph id="par_id3155864" role="paragraph" xml-lang="en-US"><emph>Maturity</emph> is the date on which the security matures (expires).</paragraph>
<paragraph id="par_id3154720" role="paragraph" xml-lang="en-US"><emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3152460" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3150640" role="paragraph" xml-lang="en-US">=COUPNUM("2001-01-25"; "2001-11-15"; 2; 3) returns 2.</paragraph>
</section>

<section id="ipmt">
<bookmark xml-lang="en-US" branch="index" id="bm_id3149339">
  <bookmark_value>IPMT function</bookmark_value>
  <bookmark_value>periodic amortizement rates</bookmark_value>
</bookmark>
<comment>mw added "periodic..."</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZINSZ" id="bm_id3149737" localize="false"/>

<paragraph id="hd_id3149339" role="heading" level="2" xml-lang="en-US">IPMT</paragraph>
<paragraph id="par_id3154522" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_ZINSZ">Calculates the periodic amortizement for an investment with regular payments and a constant interest rate.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3151283" role="code" xml-lang="en-US">IPMT(Rate; Period; NPer; PV [; FV [; Type]])</paragraph>
<paragraph id="par_id3147313" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the periodic interest rate.</paragraph>
<paragraph id="par_id3145158" role="paragraph" xml-lang="en-US"><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>
<paragraph id="par_id3147577" role="paragraph" xml-lang="en-US"><emph>NPer</emph> is the total number of periods, during which annuity is paid.</paragraph>
<paragraph id="par_id3156211" role="paragraph" xml-lang="en-US"><emph>PV</emph> is the present cash value in sequence of payments.</paragraph>
<paragraph id="par_id3151213" role="paragraph" xml-lang="en-US"><emph>FV</emph> (optional) is the desired value (future value) at the end of the periods.</paragraph>
<paragraph id="par_id3154195" role="paragraph" xml-lang="en-US"><emph>Type</emph> is the due date for the periodic payments.</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3149438" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3150496" role="paragraph" xml-lang="en-US"><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>
</section>

<section id="fv">
<bookmark xml-lang="en-US" branch="index" id="bm_id3151205">
  <bookmark_value>calculating;future values</bookmark_value>
  <bookmark_value>future values;constant interest rates</bookmark_value>
  <bookmark_value>FV function</bookmark_value>
</bookmark>
<comment>mw made "future values..." a two level entry</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZW" id="bm_id3156049" localize="false"/>

<paragraph id="hd_id3151205" role="heading" level="2" xml-lang="en-US">FV</paragraph>
<paragraph id="par_id3154140" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3145215" role="code" xml-lang="en-US">FV(Rate; NPer; Pmt [ ; [ PV ] [ ; Type ] ])</paragraph>
<paragraph id="par_id3155136" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the periodic interest rate.</paragraph>
<paragraph id="par_id3156029" role="paragraph" xml-lang="en-US"><emph>NPer</emph> is the total number of periods (payment period).</paragraph>
<paragraph id="par_id3151322" role="paragraph" xml-lang="en-US"><emph>Pmt</emph> is the annuity paid regularly per period.</paragraph>
<paragraph id="par_id3145256" role="paragraph" xml-lang="en-US"><emph>PV</emph> (optional) is the (present) cash value of an investment.</paragraph>
<paragraph id="par_id3150999" role="paragraph" xml-lang="en-US"><emph>Type</emph> (optional) defines whether the payment is due at the beginning or the end of a period.</paragraph>
<paragraph id="par_idN114D8" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3146813" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3149302" role="paragraph" xml-lang="en-US"><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>
</section>

<section id="fvschedule">
<bookmark xml-lang="en-US" branch="index" id="bm_id3155912">
  <bookmark_value>FVSCHEDULE function</bookmark_value>
  <bookmark_value>future values;varying interest rates</bookmark_value>
</bookmark>
<comment>mw added "future values"</comment>
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_FVSCHEDULE" id="bm_id3155341" localize="false"/>

<paragraph id="hd_id3155912" role="heading" level="2" xml-lang="en-US">FVSCHEDULE</paragraph>
<paragraph id="par_id3163726" role="paragraph" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_FVSCHEDULE">Calculates the accumulated value of the starting capital for a series of periodically varying interest rates.</ahelp></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3148891" role="code" xml-lang="en-US">FVSCHEDULE(Principal; Schedule)</paragraph>
<paragraph id="par_id3148904" role="paragraph" xml-lang="en-US"><emph>Principal</emph> is the starting capital.</paragraph>
<paragraph id="par_id3148562" role="paragraph" xml-lang="en-US"><emph>Schedule</emph> is a series of interest rates, for example, as a range H3:H5 or as a (List) (see example).</paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3148638" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3156358" role="paragraph" xml-lang="en-US"><item type="input">=FVSCHEDULE(1000;{0.03;0.04;0.05})</item> returns 1124.76.</paragraph>
</section>

<section id="nper">
<bookmark xml-lang="en-US" branch="index" id="bm_id3156435">
  <bookmark_value>calculating;number of payment periods</bookmark_value>
  <bookmark_value>payment periods;number of</bookmark_value>
  <bookmark_value>number of payment periods</bookmark_value>
  <bookmark_value>NPER function</bookmark_value>
</bookmark>

<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZZR" id="bm_id3154917" localize="false"/>

<paragraph id="hd_id3156435" role="heading" level="2" xml-lang="en-US">NPER</paragraph>
<paragraph id="par_id3152363" role="paragraph" xml-lang="en-US"><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>

<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph id="par_id3155934" role="code" xml-lang="en-US">NPER(Rate; Pmt; PV [ ; [ FV ] [ ; Type ] ])</paragraph>
<paragraph id="par_id3155946" role="paragraph" xml-lang="en-US"><emph>Rate</emph> is the periodic interest rate.</paragraph>
<paragraph id="par_id3149042" role="paragraph" xml-lang="en-US"><emph>Pmt</emph> is the constant annuity paid in each period.</paragraph>
<paragraph id="par_id3153134" role="paragraph" xml-lang="en-US"><emph>PV</emph> is the present value (cash value) in a sequence of payments.</paragraph>
<paragraph id="par_id3154398" role="paragraph" xml-lang="en-US"><emph>FV</emph> (optional) is the future value, which is reached at the end of the last period.</paragraph>
<paragraph id="par_id3145127" role="paragraph" xml-lang="en-US"><emph>Type</emph> (optional) is the due date of the payment at the beginning or at the end of the period.</paragraph>
<paragraph id="par_idN1166C" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#optional"/></paragraph>

<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph id="par_id3147378" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3156171" role="paragraph" xml-lang="en-US"><item type="input">=NPER(6%;153.75;2600)</item> = -12,02. The payment period covers 12.02 periods.</paragraph>
</section>
</sort>
<paragraph id="par_id3150309" role="paragraph" xml-lang="en-US"><link href="text/scalc/01/04060103.xhp" name="Back to Financial Functions Part One">Back to Financial Functions Part One</link></paragraph>
<paragraph id="par_id3153163" role="paragraph" xml-lang="en-US"><link href="text/scalc/01/04060119.xhp" name="Back to Financial Functions Part Two">Back to Financial Functions Part Two</link></paragraph>
<embed href="text/scalc/01/04060100.xhp#drking"/>
</body>

</helpdocument>