+ Reply to Thread
Results 1 to 5 of 5

Need help with bond yields

  1. #1
    Registered User
    Join Date
    02-07-2007
    Posts
    3

    Need help with bond yields

    I work for an investment management firm and I am having trouble calculating municipal bond yields with Excel. My problem is two fold.

    The first has to do with the how you write the formula or input the data. My traders use the following format:

    yield(trade price, redemption price, rate, 2, settlement date, redemption date, "MUNI")

    If you use insert function in Excel, the format is:

    yield(settlement date, redemption date, rate, trade price, redemption price, 2)

    If one of my traders sends me a spreadsheet using the first format/formula, it will properly calculate on my PC. But if I try to edit the formula in any way or replicate it on my own, Excel returns #NUM! We all appear to be using the same add-ins (I have the bond add-in installed).

    The other problem is that if I use the second format, the one built into Excel, it returns the wrong yield. The first format of course returns the correct yield. How do I know it is wrong? If I check the yield using a financial calculator or a Bloomberg terminal it matches what the first formula returns.

    Any help would be very much appreciated!!!

  2. #2
    Registered User
    Join Date
    02-07-2007
    Posts
    3

    Need help with bond yields

    I work for an investment management firm and I am having trouble calculating municipal bond yields with Excel. My problem is two fold.

    The first has to do with the how you write the formula or input the data. My traders use the following format:

    yield(trade price, redemption price, rate, 2, settlement date, redemption date, "MUNI")

    If you use insert function in Excel, the format is:

    yield(settlement date, redemption date, rate, trade price, redemption price, 2)

    If one of my traders sends me a spreadsheet using the first format/formula, it will properly calculate on my PC. But if I try to edit the formula in any way or replicate it on my own, Excel returns #NUM! We all appear to be using the same add-ins (I have the bond add-in installed).

    The other problem is that if I use the second format, the one built into Excel, it returns the wrong yield. The first format of course returns the correct yield. How do I know it is wrong? If I check the yield using a financial calculator or a Bloomberg terminal it matches what the first formula returns.

    Any help would be very much appreciated!!!

  3. #3
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195

    Need help with bond yields

    Quote Originally Posted by jereln
    I work for an investment management firm and I am having trouble calculating municipal bond yields with Excel. My problem is two fold.

    The first has to do with the how you write the formula or input the data. My traders use the following format:

    yield(trade price, redemption price, rate, 2, settlement date, redemption date, "MUNI")

    If you use insert function in Excel, the format is:

    yield(settlement date, redemption date, rate, trade price, redemption price, 2)

    If one of my traders sends me a spreadsheet using the first format/formula, it will properly calculate on my PC. But if I try to edit the formula in any way or replicate it on my own, Excel returns #NUM! We all appear to be using the same add-ins (I have the bond add-in installed).

    The other problem is that if I use the second format, the one built into Excel, it returns the wrong yield. The first format of course returns the correct yield. How do I know it is wrong? If I check the yield using a financial calculator or a Bloomberg terminal it matches what the first formula returns.

    Any help would be very much appreciated!!!
    Hi,

    the #NUM seems to indicate that the first two fields are not valid Dates, with the second being later than the first.

    Check your settings via Start, Control Panel, Regional & Language options, that your date format is the same as your trader, and that correct dates are being submitted to the formula.

    hth
    ---
    Si fractum non sit, noli id reficere.

  4. #4
    Registered User
    Join Date
    02-07-2007
    Posts
    3
    Thanks for the idea.

    The settings are the same. If they send me a spreadsheet and I change any of the data/variables, the yield will calculate. The problems comes if I try to replicate the formula on my own or edit it. Even if I just hit enter on the cell, I get the #NUM! error.

    Quote Originally Posted by Bryan Hessey
    Hi,

    the #NUM seems to indicate that the first two fields are not valid Dates, with the second being later than the first.

    Check your settings via Start, Control Panel, Regional & Language options, that your date format is the same as your trader, and that correct dates are being submitted to the formula.

    hth
    ---

  5. #5
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by jereln
    Thanks for the idea.

    The settings are the same. If they send me a spreadsheet and I change any of the data/variables, the yield will calculate. The problems comes if I try to replicate the formula on my own or edit it. Even if I just hit enter on the cell, I get the #NUM! error.
    Hi,

    can you extract the problem (less any private data) and post a sample here?

    In XP, Explore (MyComputer) rightmouse the file and Addto Archive, as a file.ZIP

    ---

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1