Use the DURATION function through 4 topics, including entering the function, filling in arguments with prompts, referencing values across worksheets, and combining formulas with recalculation; choose a topic from the index and follow the entry path and steps.
How-to Index
| No. | Topic | Membership |
|---|---|---|
| 1 | 1. Enter the DURATION function | Free |
| 2 | 2. Fill in arguments with syntax prompts | Free |
| 3 | 3. Reference arguments across worksheets | Free |
| 4 | 4. Nest formulas and recalculate results | Free |
How-to Guide
1. Enter the DURATION function
Entry path: Formulas tab → formula bar
- Open WPS Spreadsheet and go to the workbook where you want to calculate a result.
- Select the cell where the result should appear.
- Type
=and then enterDURATION(. - Continue entering the required arguments and press Enter.
Success Criteria
- Interface result: The result appears in the selected cell, and the full formula is visible in the formula bar.
- What you can do next: You can edit arguments, copy the formula, or fill it down to other cells.
Tips While Using
- Common mistake: If you do not start with
=, the function will not run as a worksheet formula.- Environment note: Date arguments should use valid date cells or date-function results.
2. Fill in arguments with syntax prompts
Entry path: Formula input prompt in the formula bar
- Type
=DURATION(in a cell. - Check the syntax prompt shown in the editing area.
- Enter settlement date, maturity date, coupon rate, yield, payment frequency, and the optional basis argument in order.
- Check brackets and separators, then press Enter.
Success Criteria
- Interface result: The formula is submitted normally without an obvious syntax interruption.
- What you can do next: You can click the cell again to review and edit the arguments.
Tips While Using
- Common mistake: Unmatched brackets, missing separators, or incomplete arguments can cause an error.
- Environment note: If date text is not in a valid format, the calculation may not return the expected result.
3. Reference arguments across worksheets
Entry path: Worksheet tabs + formula bar
- In the result cell, type
=DURATION(and enter part of the formula. - Switch to another worksheet that stores the input values.
- Click the corresponding cells to insert their references into the formula.
- Return to the current worksheet, complete the remaining arguments, and confirm the formula.
Success Criteria
- Interface result: The formula shows cross-worksheet references.
- What you can do next: When referenced cells change, the result updates accordingly.
Tips While Using
- Common mistake: Referencing text-formatted numbers or invalid dates can affect the result.
- Environment note: If a worksheet name changes, check whether the reference is still correct.
4. Nest formulas and recalculate results
Entry path: Formula bar
- Use other function results or calculated cells as arguments inside DURATION.
- Press Enter to view the result.
- Change the values or dates in related parameter cells.
- Check whether the result cell updates automatically, or confirm the formula again if you need to review it.
Success Criteria
- Interface result: The result changes when the source arguments change.
- What you can do next: You can continue combining DURATION with other financial or statistical functions.
Tips While Using
- Common mistake: If the nested formula is complex, verify intermediate results step by step.
- Environment note: Circular references or invalid data formats can affect the final result.