I'm looking to auto-populate my End date field in the Opportunity Object.

I have Start Date, End Date, and Opportunity Length (in months).

Please help? :)


You can use date formula field for your use as suggested by CaspNZ

here is the answer for other person's reference

DATE( Year([start date])+floor((MONTH([start date]) + [# of months] - 1) / 12) , 

    mod(MONTH([start date]) + [# of months] -1, 12) + 1 , 

     day([start date])
) - 1
| improve this answer | |

If you assume that all months are 30 days long, it's reasonably easy. You would define the formula as:

End_Date = Start_Date + (Opportunity_Length*30)

If you need something that takes into account the length of each month, then it's quite a bit harder.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.