Difference between revisions of "Manuals/calci/coupncd"

From ZCubes Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="font-size:30px">'''COUPNCD(settle, M, F, basis)'''</div><br/>
+
<div style="font-size:30px">'''COUPNCD(s,m,f,b)'''</div><br/>
  
*<math>Settle</math> is the security's settlement date.
+
*<math>s</math> is the security's settlement date.
*<math>M</math> is the security's maturity date(Expire date).
+
*<math>m</math> is the security's maturity date(Expire date).
*<math>F</math> is the number of coupon(interest) payments per year(1,2 or 4)
+
*<math>f</math> is the number of coupon(interest) payments per year(1,2 or 4)
*<math>basis</math> is the Type of day count basis.
+
*<math>b</math> is the Type of day count basis.
  
 
==Description==
 
==Description==
 
*This function returns a date that represents next coupon date after the settlement date.
 
*This function returns a date that represents next coupon date after the settlement date.
*<math>F<math> must be 1,2 or 4
+
*<math>f</math> must be 1,2 or 4
*COUPNCD shows there value  when  <math>basis\lt 0<math> or <math>basis\gt 0<math>Basis&gt;4,
+
*COUPNCD shows there value when <math>basis\lt 0</math> or <math>basis\gt 0</math>Basis&gt;4,
 
*<math>Settlement date</math> must be greater than or equal to maturity date.
 
*<math>Settlement date</math> must be greater than or equal to maturity date.
*<math>basis</math> is the calender system to use.  
+
*<math>b</math> is the calender system to use.  
 
  0 - US method (NASD), 12 months of 30 days each
 
  0 - US method (NASD), 12 months of 30 days each
 
  1 - Actual number of days in months, actual number of days in year
 
  1 - Actual number of days in months, actual number of days in year
Line 17: Line 17:
 
  3 - Actual number of days in month, year has 365 days
 
  3 - Actual number of days in month, year has 365 days
 
  4 - European method, 12 months of 30 days each
 
  4 - European method, 12 months of 30 days each
 +
*COUPNCD returns errors when
 +
Settlement<math>(s)</math> or Maturity<math>(m)</math> is not a valid date.
 +
Frequency<math>(f)</math> is any number other than 1, 2, or 4.
 +
Basis<math>(b)</math> < 0 or if Basis<math>(b)</math> > 4.
 +
Settlement<math>(s)</math> ≥ Maturity<math>(m)</math>.
  
 
==Examples==
 
==Examples==
UNIQ17b134979b170de4-nowiki-00000003-QINU
+
*=COUPNCD("2007/02/21","2008/02/21",2,1)
 +
Tue Aug 21 2007 00:00:00 GMT+0530 (India Standard Time)
 +
*=COUPNCD("2005-07-13", "2009-01-18", 2, 3)
 +
Mon Jul 18 2005 05:30:00 GMT+0530 (India Standard Time)
  
where
+
==Related Videos==
  
B2=2/25/2007
+
{{#ev:youtube|sH0foB1oh0Q|280|center|COUPNCD}}
  
B3=10/15/2008
+
==See Also==
  
B4=2
+
*[[Manuals/calci/couppcd | COUPPCD]]
 
+
*[[Manuals/calci/cumipmt | CUMIPMT ]]
B5=1
+
*[[Manuals/calci/cumprinc | CUMPRINC]]
 
 
COUPNCD returns (Sun APRIL 15, 2007).
 
  
 
==References==
 
==References==
 +
[https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_COUPNCD_function  COUPNCD]

Latest revision as of 12:00, 19 July 2015

COUPNCD(s,m,f,b)


  • is the security's settlement date.
  • is the security's maturity date(Expire date).
  •  is the number of coupon(interest) payments per year(1,2 or 4)
  • is the Type of day count basis.

Description

  • This function returns a date that represents next coupon date after the settlement date.
  • must be 1,2 or 4
  • COUPNCD shows there value when Failed to parse (unknown function "\lt"): {\displaystyle basis\lt 0} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle basis\gt 0} Basis>4,
  • must be greater than or equal to maturity date.
  • is the calender system to use.
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
  • COUPNCD returns errors when
Settlement or Maturity is not a valid date.
Frequency is any number other than 1, 2, or 4.
Basis < 0 or if Basis > 4.
Settlement ≥ Maturity.

Examples

  • =COUPNCD("2007/02/21","2008/02/21",2,1)
Tue Aug 21 2007 00:00:00 GMT+0530 (India Standard Time)
  • =COUPNCD("2005-07-13", "2009-01-18", 2, 3)
Mon Jul 18 2005 05:30:00 GMT+0530 (India Standard Time)

Related Videos

COUPNCD

See Also

References

COUPNCD