Add or Subtract Dates Automatically

Eliminate manual calculations by using Formula Fields in your Advanced Document Automation Templates

E
Written by Eszter Takacs
Updated over a week ago
Advanced.png

Say you have a Date field called "Effective Date". And you want to have another Date field that is "Expiration Date" which will always automatically be 30 days after "Effective Date." There is a very easy way to do this using Formula fields and the DATEADD function.

Below, we'll walk through creating a Date field called "Effective Date" and a formula field called "Expiration Date" where "Expiration Date" is automatically always 30 days after "Effective Date." You can repeat this process for any number of Date fields and a number of dependent Formula fields that you like.
​


​1: Create the "Effective Date" field

Here we'll just create a regular Date field and specify a format for it.

2. Create the "Expiration Date" field

When creating the "Expiration Date" field, instead of selecting "Date" as the field type, select "Formula." Then in the formula input box type:

DATEADD({Effective Date}, 30, "days")


Make sure you set up a format and save the field.

This will tell the template to automatically add 30 days to whatever the "Effective Date" is.

Find more Formula use cases below:

Did this answer your question?