Common questions about the DURATION function usually fall into 3 areas: input errors, argument understanding, and unexpected results; this FAQ includes 3 common answers and a glossary.
FAQ
What should I do if the DURATION function returns an error?
- Check whether the formula starts with
=. - Check whether parentheses, commas, or other separators are complete.
- Check whether each argument is entered in the correct position.
- If you are using cell references, confirm that the referenced cells contain usable values for the calculation.
How can I view argument guidance for the DURATION function?
- Select the target cell or click the formula bar.
- Type
=DURATION(. - Look for syntax guidance, argument order, or example information near the input area.
- Continue entering the remaining arguments based on the prompt.
How do I troubleshoot a DURATION result that does not look right?
- Review whether settlement, maturity, rate, yield, frequency, and related arguments are in the correct positions.
- Check whether dates or numeric values were entered as text that cannot be calculated correctly.
- Review the referenced cells to make sure the formula is pointing to the intended data range.
- Update the arguments and press Enter again to see whether the result changes.
Glossary
| Term | Definition |
|---|---|
| DURATION | A financial function used to calculate the duration of a bond or similar security under specified conditions. |
| Syntax guidance | On-screen help shown while entering a function, such as argument order, format hints, or examples. |
| Cell reference | A way to use a cell address as a formula argument so the calculation can be reused and updated dynamically. |