Use the How-to Index to choose from 3 tasks; all 3 are available without membership and 0 are membership-related.
How-to Guide
How-to Index
| No. | Task | Access |
|---|---|---|
| 1 | 1. Create a formula field and use DATEDIF | Free |
| 2 | 2. Review and fill in the parameter format | Free |
| 3 | 3. Combine DATEDIF with other formulas | Free |
Step-by-Step Guide
1. Create a formula field and use DATEDIF
Entry path: Add Field > Formula
- Open the multidimensional table you want to edit.
- Select Add Field.
- Choose Formula as the field type.
- Enter a formula that includes DATEDIF.
- Save the field and check the returned result.
What success looks like
- Interface result: A new formula field appears in the table and shows a calculated value.
- Next action: You can continue editing the formula or adjust referenced fields.
Notes
- Common issue: If a referenced field is not a valid date field, the result may not calculate as expected.
- Environment note: You need an editable multidimensional table.
2. Review and fill in the parameter format
Entry path: Formula Editor > Function Library > DATEDIF
- Open the formula editor in your multidimensional table.
- Find DATEDIF in the function library.
- Enter parameters in the format DATEDIF(start date, end date, unit).
- Check that the start date and end date references are correct.
- Enter the unit you want to return, such as years, months, or days.
What success looks like
- Interface result: The formula editor shows a complete DATEDIF structure.
- Next action: After saving, the field can return a date difference value.
Notes
- Common issue: If the parameter order is wrong, the result may be incorrect or fail.
- Environment note: Date fields should contain valid date values.
3. Combine DATEDIF with other formulas
Entry path: Formula Editor
- Open an existing formula field or create a new one.
- Enter DATEDIF as the base date-difference calculation.
- Use the DATEDIF result as an input for another function when needed.
- Check brackets, separators, and field references in the nested formula.
- Save the formula and confirm that the result updates with the data.
What success looks like
- Interface result: The formula field returns the combined calculation result.
- Next action: When the source date fields change, the result updates as well.
Notes
- Common issue: Missing brackets in nested formulas can prevent the formula from being saved.
- Environment note: It helps to verify that DATEDIF works correctly on its own before combining it.