Difference between revisions of "Documentation/How Tos/Calc: COUPPCD function"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 88: Line 88:
 
:  returns <tt>'''15 November 2006'''</tt> as a [[Documentation/How Tos/Calc: Date & Time functions#Date and Time overview|date-time serial number]]; choose a format to display the date as you prefer.  A bond is originally issued on 15 November 1999, with a ten year term; the date of maturity is 15 November 2009. You subsequently purchase it on the secondary market, with a settlement date of 25 January 2007. Interest is paid half-yearly (<tt>'''frequency'''</tt> is 2); thus interest is due on the 15 May and the 15 November each year, during the bond's term.  The interest payment date just before 25 January 2007 is 15 November 2006.
 
:  returns <tt>'''15 November 2006'''</tt> as a [[Documentation/How Tos/Calc: Date & Time functions#Date and Time overview|date-time serial number]]; choose a format to display the date as you prefer.  A bond is originally issued on 15 November 1999, with a ten year term; the date of maturity is 15 November 2009. You subsequently purchase it on the secondary market, with a settlement date of 25 January 2007. Interest is paid half-yearly (<tt>'''frequency'''</tt> is 2); thus interest is due on the 15 May and the 15 November each year, during the bond's term.  The interest payment date just before 25 January 2007 is 15 November 2006.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: COUPDAYBS function|COUPDAYBS]]
 
* [[Documentation/How_Tos/Calc: COUPDAYBS function|COUPDAYBS]]
 
* [[Documentation/How_Tos/Calc: COUPDAYS function|COUPDAYS]]
 
* [[Documentation/How_Tos/Calc: COUPDAYS function|COUPDAYS]]

Revision as of 08:50, 17 July 2018


COUPPCD

Returns the coupon (interest payment) date which precedes the settlement date.

This function is only available if the Analysis AddIn is installed.

Syntax:

COUPPCD(settlement; maturity; frequency; basis)

settlement: the date of purchase of the security.
maturity: the date on which the security matures (expires).
frequency: number of interest payments per year (1, 2 or 4).
basis: is the calendar system to use. Defaults to 0 if omitted.
0 - US method (NASD), 12 months of 30 days each
1 - Actual number of days in months, actual number of days in year
2 - Actual number of days in month, year has 360 days
3 - Actual number of days in month, year has 365 days
4 - European method, 12 months of 30 days each

Example:

COUPPCD("2007-01-25"; "2009-11-15"; 2; 1)

returns 15 November 2006 as a date-time serial number; choose a format to display the date as you prefer. A bond is originally issued on 15 November 1999, with a ten year term; the date of maturity is 15 November 2009. You subsequently purchase it on the secondary market, with a settlement date of 25 January 2007. Interest is paid half-yearly (frequency is 2); thus interest is due on the 15 May and the 15 November each year, during the bond's term. The interest payment date just before 25 January 2007 is 15 November 2006.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_COUPPCD_function&oldid=243529"
Views
Personal tools
Navigation
Tools