Documentation/How Tos/Calc: COUPDAYSNC function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 18:45, 27 June 2008 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


COUPDAYSNC

Returns the number of days between the settlement date and the next coupon date.

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

Syntax:

COUPDAYSNC(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 chosen from a list of options and indicates how the year is to be calculated. Defaults to 0 if omitted.
0 - US method (NASD), 12 months of 30 days each
1 - Exact number of days in months, exact number of days in year
2 - Exact number of days in month, year has 360 days
3 - Exact number of days in month, year has 365 days
4 - European method, 12 months of 30 days each

Example:

COUPDAYSNC("2001-01-25"; "2001-11-15; 2; 4)

returns 110. 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 basis 4, there are 110 days from the settlement date until the next interest payment.

See also:

COUPDAYS, COUPDAYBS

Financial functions

Personal tools