Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use the DURATION Function in Excel

Learn how to use DURATION Function in Excel, including its purpose, syntax, examples, and common errors, with clear step-by-step guidance.

Table of Contents

This guide explains how to use DURATION Function in Excel, including its syntax, required arguments, practical examples, and common errors.

Description: The function that returns the validity of a bond is a weighted average of the current value of the cash flow.

Syntax: DURATION (settlement, maturity, coupon, yld, frequency, [basis]) .

Inside:

- settlement : The settlement date of a security is the date securities are sold to buyers after the issuance date, which is a required parameter.

- maturity : The expiry date of the stock, or the maturity date, is a required parameter.

- Coupon : The annual coupon rate of the security, is a required parameter.

- yld : Annual profit of the securities, is a mandatory parameter.

- frequency : Number of interest payment times per year, a required parameter.

- basis : The basis determined to calculate the number of days, is an optional parameter. The following values are available:

+ basis = 0: Calculates the number of days according to US standards, the number of days / year is 30/360.

+ basis = 1: The number of days / year is the actual number of days on the month / number of actual days per year.

+ basis = 2: The number of days / year is the actual number of days on the month / days on the year is 360.

+ basis = 3: The number of days / year is the actual number of days on the month / days on the year is 365.

+ basis = 4: Calculating the number of days according to European standards, the number of days / year is 30/360.

Attention:

- If the input parameters are decimal numbers => the function takes an integer part of the parameters.

- If the settlement date and expiry date of the CK are invalid => The function returns the error value #VALUE!.

- If coupon The function returns the #NUM error value.

- If frequency is outside the value set {1, 2, 4} => returns the #NUM! Error value

- If basis is outside the value set {0, 1, 2, 3, 4} => returns the #NUM! Error value

- If the expiration date is less than the settlement date => the function returns the #NUM! Error value.

For example:

With the following table, calculate the period of time to pay interest annually.

How to Use the DURATION Function in Excel screenshot

In the cell to calculate enter the following formula: = DURATION (D6, D7, D8, D9, D10, D11) .

How to Use the DURATION Function in Excel screenshot 2

After pressing Enter the result is:

How to Use the DURATION Function in Excel screenshot 3

Thus, the term of bonds with the above terms is 1,927235704.

Above is the instruction for using the DURATION function.

Good luck!

FAQ

What does the DURATION function do in Excel?

The DURATION function performs the calculation described in this guide. Use the correct arguments and compatible data types for reliable results.

How do I enter the DURATION function correctly?

Start with an equals sign, enter DURATION, add the required arguments inside parentheses, and confirm that cell references and separators are correct.

Why does the DURATION function return an error?

Common causes include missing arguments, invalid data types, incorrect cell references, unsupported values, or regional separator settings.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.