Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Principles of Finance

10.5 Using Spreadsheets to Solve Bond Problems

Principles of Finance10.5 Using Spreadsheets to Solve Bond Problems

Learning Outcomes

By the end of this section, you will be able to:

  • Demonstrate bond valuations using Excel.
  • Demonstrate bond yield calculations using Excel.

Calculating the Price (Present Value) of a Bond

The following examples illustrate how Microsoft Excel can be used to calculate common bond problems. Please be sure to refer to the chapters on the time value of money for examples of using spreadsheets to solve present value problems, as these same concepts are also used in solving bond problems.

You can use the following steps in Excel to determine the price or present value of a coupon bond. Suppose that a bond has a par or face value of $1,000, pays coupons semiannually at a 4% annual rate, and matures in 15 years. We can assume a YTM rate of 5%.

  1. First, select Formulas from the Excel upper menu bar, and from the dialog box, select PV (see Figure 10.11).
    A screenshot of excel shows function formulas from the upper menu bar. PV is selected from the function drop down menu.
    Figure 10.11 Using Excel to Enter a PV (Present Value) Function
  2. When the PV function is selected, another dialog box will appear (see Figure 10.12). It is here that the function variables, or arguments, will be entered. It is preferable to use cell addresses to refer to these arguments so that the spreadsheet can be easily used again if inputs/arguments change.
    A screenshot of a function arguments window, where parameters to calculate the present value function are required to be entered. The parameters to enter are rate, Nper, pmt, Fv, and Type.
    Figure 10.12 Function Arguments Dialog Box
  3. Enter the function inputs or arguments (see Figure 10.13). We refer to the cell addresses as per our example spreadsheet.
    A screenshot of the Function arguments window, where parameters to calculate the present value function are entered according to the data in the Excel sheet.
    Figure 10.13 Completed Data Entry Menu

Note that the result, the price or present value, will appear in the bottom left section of the Function Arguments box once the arguments are entered. It will appear as a negative value because of the sign convention and because the bond face value in cell F4 was entered as a positive value.

Calculating the Yield to Maturity (Interest Rate) of a Bond

Use the following steps in Excel to determine the YTM (interest rate) of a bond. Assume that you want to find the YTM of a $1,000, 3.5% bond with annual coupon payments that is selling for $675.00 and will mature in 12 years.

  1. First, select Formulas from the Excel upper menu bar, and from the dialog box, select Rate (see Figure 10.14).
    A screenshot of the Insert Function window, where the Rate function is selected.
    Figure 10.14 Using Excel to Enter a Rate Function
  2. After the dialog box appears, enter the variables or arguments. As with our earlier example, we will use the preferred method of identifying the arguments with cell addresses (see Figure 10.15).
    A screenshot of the Function arguments window, where parameters to calculate the rate value function are entered according to the data in the Excel sheet.
    Figure 10.15 Completed Data Entry Menu
  3. Again, after all arguments are entered through their correct cell references, the answer will appear in the lower left corner of the box. Once satisfied with the result, you can hit Enter to insert this final calculated value in your spreadsheet. This has been set up in this sheet in cell H10.

Think It Through

Calculating a Coca-Cola Bond to Maturity

Earlier, we covered how a financial calculator could be used to determine the YTM of our Coca-Cola bond example. If we wanted to use an Excel spreadsheet to perform this calculation instead of a calculator, we would set up our spreadsheet as shown in the steps below. The current bond price, entered as a negative, is ($952.06). The bond face value of FV is $1,000; the time period is 7 years×27 years×2, or 14 semiannual periods; the coupon rate is 1%21%2, or 0.05%; and the coupon payment is $5.00.

  1. First, select Formulas from the Excel upper menu bar, and from the dialog box, select Rate (see Figure 10.16).
    A screenshot of the Insert Function window, where the Rate function is selected.
    Figure 10.16 Using Excel to Enter a Rate Function
  2. After the dialog box appears, enter the variables or arguments. As with our earlier examples, we will use the preferred method of identifying arguments with cell addresses (see Figure 10.17).
    A screenshot of the Function arguments window, where parameters to calculate the rate value function are entered according to the data in the Excel sheet.
    Figure 10.17 Completed Data Entry Menu
  3. Again, after all arguments are entered through their correct cell references, the answer will appear in the lower left corner of the box. Once satisfied with the result, you can hit Enter to insert this final calculated value into your spreadsheet. This has been set up in this sheet in cell H10.

As noted above, remember that this is a semiannual rate because it was calculated using semiannual coupon payments and periods. To express it as an annual YTM rate, you must multiply it by 2.

Calculating the Maturity Period (Term) of a Bond

You can use the following steps in Excel to determine the maturity period or term of a bond. Assume that you are considering investing in a bond that is selling for $820.00, has a face value of $1,000, and has an annual coupon rate of 3%. If the YTM is 10%, how long will it be until the bond matures?

  1. First, select Formulas from the Excel upper menu bar, and from the dialog box, select Nper (see Figure 10.18).
    A screenshot of the Insert Function window, where the NPER function is selected.
    Figure 10.18 Using Excel to Calculate Bond Time to Maturity
  2. When the dialog box appears, enter function arguments (see Figure 10.19). Once again, we will use the preferred method of using cell addresses as reference points.
    A screenshot of the Function arguments window, where parameters to calculate the NPER value function are entered according to the data in the Excel sheet.
    Figure 10.19 Completed Data Entry Menu
  3. When arguments have all been entered, the answer will appear in the lower left of the Function Arguments box, as per the above. We arrive at a final answer of 3.12 years until this bond matures.

Calculating Coupon Rate and Interest (Coupon) Payments

Here is how you would determine the coupon or interest rate and coupon payment using Excel. Assume a $1,000 face value bond is selling for $595, has 20 years until it matures, and has a YTM of 6.5%. What are the coupon rate and the periodic coupon payment amount of the bond?

  1. First, select Formulas from the Excel upper menu bar, and from the dialog box, select PMT (see Figure 10.20).
    A screenshot of the Insert Function window, where the PMT function is selected.
    Figure 10.20 Using Excel to Enter a PMT or Payment Function
  2. When the dialog box appears, enter function arguments. Once again, we will use the preferred method of using cell addresses as reference points (see Figure 10.21).
    A screenshot of the Function arguments window, where parameters to calculate the PMT value function are entered according to the data in the Excel sheet.
    Figure 10.21 Completed Data Entry Menu
  3. When arguments have all been entered, the answer will appear in the lower left of the Function Arguments box, as per the above. We arrive at a final answer of $28.24 as the coupon payment.

The coupon rate can be calculated by taking this coupon payment amount and dividing it by the face value:

$28.24$1,000=2.824%$28.24$1,000=2.824%
10.13

So, the coupon rate is 2.824%.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/principles-finance/pages/1-why-it-matters
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/principles-finance/pages/1-why-it-matters
Citation information

© Jan 8, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.