This how-to guide covers 3 topics for using the DURATION function in WPS Sheets, with 3 free topics and 0 membership-related topics, so you can choose the method that fits your worksheet task.
How-to Index
| # | Topic | Membership |
|---|---|---|
| 1 | 1. Enter the function from the Insert Function dialog box | Free |
| 2 | 2. Type the formula directly in a cell | Free |
| 3 | 3. Review the function syntax and parameter details | Free |
How-to Guide
1. Enter the function from the Insert Function dialog box
Entry point: Formula tab → Insert Function
- Select the cell where you want to enter the formula.
- Click the fx button in the formula bar, or click Insert Function on the Formula tab.
- Search for DURATION in the dialog box.
- Select the function and click OK.
- Enter each parameter in the Function Arguments dialog box.
- Click OK to finish entering the function.
Success Criteria
- The current cell contains the DURATION function.
- After the parameter window closes, the worksheet shows the formula result or the formula itself.
- You can continue editing other cells or copy the formula.
Tips While Using
- Keep the parameter order consistent with the function syntax.
- For date-related arguments, use valid date values to avoid calculation issues.
2. Type the formula directly in a cell
Entry point: Cell → Formula bar
- Select the cell where you want to enter the formula.
- Type
=DURATION(...)directly in the cell or in the formula bar. - Press Enter to confirm.
- If needed, review the argument order after typing the opening parenthesis.
Success Criteria
- The cell accepts the formula entry.
- After you press Enter, the cell shows the result or the full formula remains visible in the formula bar.
- The formula can be filled down to other cells.
Tips While Using
- Separate arguments with English commas.
- If you reference other cells, check that the references point to the correct locations.
3. Review the function syntax and parameter details
Entry point: Formula tab → Insert Function
- Click Insert Function on the Formula tab.
- Type DURATION in the search box.
- Select the function and review the syntax:
DURATION(settlement, maturity, coupon, yield, frequency, [basis]). - Check each argument description before finishing the formula entry.
Success Criteria
- You can see the DURATION function name and syntax structure.
- You can distinguish required arguments from the optional argument.
- You can return to the worksheet and enter the formula with the correct inputs.
Tips While Using
basisis optional, so confirm the day count setting that fits your worksheet.- In financial calculations, verify the source values for dates, coupon rate, and yield before calculating.