Jump to content

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

Recommended Posts

Posted

I have a field with a purchase date and a field with a lease term in months. How can I make a field that adds the months [for example, the No 36 (3 yrs)] to the purchase date to ive me the lease end date?

Thank you so much in advance

Posted

Hi try creating this calculation field:

c_LeaseEndDate=

Date( Month(PurchaseDate) + LeaseTermMonths, Day(PurchaseDate) , Year(PurchaseDate))

Don't forget to set calculation result is Date

Ed.

Posted

worked great!! thanks...but what if i waned to do this? Same as above, except have another field called status. The 2 choises for that field will be 'Purchased' and 'leased'. If 'leased' is selected, then the above calculation will be proformed. If 'purchased' is selected, that field will stay blank. Is that possible? very sorry if im asking too much

Posted

Case(status="Purchased",Date( Month(PurchaseDate) + LeaseTermMonths, Day(PurchaseDate) , Year(PurchaseDate)),TextToDate(""))

Dj

This topic is 7919 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.