You need to sign in to do that
Don't have an account?

I have issue date in custom object and i want add another formula field to calculate 13 months from issue date
I have a field issue date in custom object and i want to add another formula field to calculate 13 months from issue date and date should be the last day of the month.
I used DATE(YEAR(ccs_IssueDate__c) +1, MONTH(ccs_IssueDate__c) + 2, 1) - 1 this formula .
But if the issue date is in decemeber month its showing #error in formula field.
Please give me some solution..
Thank you.
I used DATE(YEAR(ccs_IssueDate__c) +1, MONTH(ccs_IssueDate__c) + 2, 1) - 1 this formula .
But if the issue date is in decemeber month its showing #error in formula field.
Please give me some solution..
Thank you.
A function like the follwing one should help you.
DATE(case(Month(DateValue(ccs_IssueDate__c)), 11, 2, 12, 2, 1)+ Year(DateValue(ccs_IssueDate__c)), case(Month(DateValue(ccs_IssueDate__c)), 12, 2, 11, 1, 2 + Month(DateValue(ccs_IssueDate__c))), 1)-1