ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel finance function (https://www.excelbanter.com/excel-worksheet-functions/97172-excel-finance-function.html)

DSS

Excel finance function
 
I need to write an Excel function that returns best price of a government bond.

The actual handwritten formula is quite complicated, impossible to display
here, and the input values for this formula are-----------------
Accrued days, Number of coupon period days, Days from settlement to next
coupon date, coupon periods per year, number coupon periods between
settlement & redemption, annual yield, discount rate.

[email protected]

Excel finance function
 
DSS wrote:
I need to write an Excel function that returns best price of a government bond.


You might need to make a distinction between US and Canadian bonds, for
example. See http://www.fin.gc.ca/invest/bondprice-e.html .

The actual handwritten formula is quite complicated, impossible to display
here, and the input values for this formula are-----------------
Accrued days, Number of coupon period days, Days from settlement to next
coupon date, coupon periods per year, number coupon periods between
settlement & redemption, annual yield, discount rate.


As I understand it, PV() should be sufficient, given correct inputs.
But there is also the PRICE() function, which might be more applicable
to the inputs. Use Excel Help to find other bond-related functions.



All times are GMT +1. The time now is 01:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com