COUPDAYBS Function
The COUPDAYBS function is one of the financial functions. It is used to calculate the number of days from the beginning of the coupon period to the settlement date.
The COUPDAYBS function syntax is:
COUPDAYBS(settlement, maturity, frequency[, [basis]])
where
settlement is the date when the security is purchased.
maturity is the date when the security expires.
frequency is the number of interest payments per year. The possible values are: 1 for annual payments, 2 for semiannual payments, 4 for quarterly payments.
basis is the day count basis to use, a numeric value greater than or equal to 0, but less than or equal to 4. It is an optional argument. It can be one of the following:
Numeric value |
Count basis |
0 |
US (NASD) 30/360 |
1 |
Actual/actual |
2 |
Actual/360 |
3 |
Actual/365 |
4 |
European 30/360 |
Note: dates must be entered by using the DATE function.
The values can be entered manually or included into the cell you make reference to.
To apply the COUPDAYBS function,
- select the cell where you wish to display the result,
- click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar,
- select the Financial function group from the list,
- click the COUPDAYBS function,
- enter the required arguments separating them by commas,
- press the Enter button.
The result will be displayed in the selected cell.
Alla pagina precedente