Description
The Excel COUPDAYBS function calculates the number of days from the beginning of a coupon's period to the settlement date.
The syntax of the function is :
COUPDAYBS( settlement, maturity, frequency, [basis] )
Where the arguments are as follows:
Note that the settlement and maturity dates should be input as either:
- References to cells containing dates
or
- Dates returned from formulas
- If you attempt to input these dates as text, there is a chance that Excel may misinterpret this due to different date systems, or date interpretation settings.
Warning: Although you can input the dates as serial numbers, this is not recommended as the serial numbers may vary across different computer systems.
Excel Coupdaybs Function Example
Cell A3 of the spreadsheet below contains an example of the Excel Coupdaybs function, used to calculate the number of days from the beginning of a coupon's period to the settlement date. The security has the settlement date 01-Jan-2011, the maturity date 25-Oct-2012, and 4 payments per year. The US (NASD) 30/360 day count basis is used.
The format of the function is shown in the spreadsheet on the left and the result is shown in the spreadsheet on the right.
Coupdaybs Function Errors
If you get an error from the Excel Coupdaybs Function, this is most likely to be one of the following:
Common Errors
No comments:
Post a Comment