Jump to content

Calculated End Date


This topic is 5781 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Change the field "End Date" to a calculation field, using the following calculation:

Start Date + Case( Plan = "1 month"; 30; Plan = 3 months"; 90; Plan = "1 year"; 365)

Then change the storage options so that it "Recalculates when needed." And set the result type to Date.

Also, make sure your Start Date field is a Date field.

Edited by Guest
Link to comment
Share on other sites

If you want to be a bit more precise:

Let( months = Case( Plan = "1 year" ; 12; GetAsNumber( Plan ) ) ; 

    Date( Month(Start Date) + months ; Day(Start Date) ; Year(Start Date) )

    )

Also, End Date could be a calculated field, but an auto-enter field could work as well.

Link to comment
Share on other sites

This topic is 5781 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.