YIELDMAT

In this comprehensive guide, we will explore the YIELDMAT function in Microsoft Excel. The YIELDMAT function is a financial formula used to calculate the yield to maturity of a security that pays interest at maturity. This function is particularly useful for investors and financial analysts who need to determine the yield of a bond or other fixed-income security. We will cover the syntax of the YIELDMAT function, provide examples, share tips and tricks, discuss common mistakes, troubleshoot issues, and introduce related formulae.

YIELDMAT Syntax

The YIELDMAT function in Excel has the following syntax:

YIELDMAT(settlement, maturity, issue, rate, pr, [basis])

Where:

  • settlement – The settlement date of the security, which is the date after the issue date when the security is traded to the buyer.
  • maturity – The maturity date of the security, which is the date when the security expires.
  • issue – The issue date of the security, which is the date when the security was issued.
  • rate – The annual interest rate of the security.
  • pr – The security’s price per $100 face value.
  • [basis] – (Optional) The day count basis to be used. If omitted, the default value is 0, which represents the US (NASD) 30/360 day count basis. Other available options are: 1 for Actual/Actual, 2 for Actual/360, 3 for Actual/365, and 4 for European 30/360.

YIELDMAT Examples

Let’s look at some examples of how to use the YIELDMAT function in Excel:

Example 1: Calculate the yield to maturity of a security with a settlement date of January 1, 2022, a maturity date of December 31, 2022, an issue date of January 1, 2021, an annual interest rate of 5%, and a price of $98 per $100 face value.

=YIELDMAT(“2022-01-01”, “2022-12-31”, “2021-01-01”, 0.05, 98)

This formula will return the yield to maturity for the given security, taking into account the default day count basis (US 30/360).

Example 2: Calculate the yield to maturity of a security with the same parameters as in Example 1, but using the Actual/Actual day count basis.

=YIELDMAT(“2022-01-01”, “2022-12-31”, “2021-01-01”, 0.05, 98, 1)

This formula will return the yield to maturity for the given security, using the Actual/Actual day count basis.

YIELDMAT Tips & Tricks

  • Ensure that the settlement, maturity, and issue dates are entered in a recognized date format in Excel. You can use the DATE function to create a date value if necessary.
  • Remember that the rate and pr arguments should be entered as decimal values. For example, a 5% interest rate should be entered as 0.05.
  • When comparing the yields of different securities, make sure to use the same day count basis for all calculations to ensure accurate comparisons.
  • Use the optional [basis] argument to adjust the day count basis as needed for your specific analysis.

Common Mistakes When Using YIELDMAT

  • Entering the rate and pr arguments as percentages instead of decimal values. To convert a percentage to a decimal, divide the percentage by 100.
  • Using an incorrect or unrecognized date format for the settlement, maturity, and issue dates. Ensure that the dates are entered in a format that Excel can recognize.
  • Forgetting to include the optional [basis] argument when a different day count basis is required for the analysis.
  • Confusing the order of the arguments in the YIELDMAT function, which can lead to incorrect results. Always double-check the order of the arguments to ensure accuracy.

Why Isn’t My YIELDMAT Working?

If your YIELDMAT function is not working as expected, consider the following troubleshooting steps:

  • Check the format of the settlement, maturity, and issue dates to ensure they are recognized by Excel.
  • Verify that the rate and pr arguments are entered as decimal values, not percentages.
  • Ensure that the correct day count basis is being used by including the optional [basis] argument if necessary.
  • Double-check the order of the arguments in the YIELDMAT function to ensure they are entered correctly.
  • Look for any error messages or error codes returned by Excel, which can provide additional information about the issue.

YIELDMAT: Related Formulae

Here are some related financial formulae in Excel that you may find useful when working with the YIELDMAT function:

  • YIELD – Calculates the yield of a security that pays periodic interest.
  • YIELDDISC – Calculates the annual yield for a discounted security, such as a Treasury bill.
  • PRICE – Calculates the price per $100 face value of a security that pays periodic interest.
  • PRICEMAT – Calculates the price per $100 face value of a security that pays interest at maturity.
  • ACCRINT – Calculates the accrued interest for a security that pays periodic interest.

By mastering the YIELDMAT function and related formulae, you can enhance your financial analysis skills and make more informed investment decisions.

Related

Did you find this article useful?

Share it with your friends or colleagues

About Aepoch Advisors

We are a boutique accounting and consulting firm servicing international businesses operating in China. We offers book keeping and business advisory service. We also help our clients select and implement SAAS business applications
 
Cloud technology significantly reduces cost foreign companies traditionally spent on tax compliance and ERP systems. Our cloud professionals can help with streamlining your management and controling structure, as well as advising you on how to reduce risks and maximize profits with software purposely built for Chinese business. Contact us today to learn more about our services.