You need to sign in to do that
Don't have an account?
Tracey Okeby Lucan
Create Date with set Day value and changing month and years on Opportunities
I need to create a field that returns the 15th of any month that opportunity is closed in. I think this should be simple but I cannot make it work. Needs to be a Date value in the end.
So basically if an Opp is closed in June 2017 then field should display 15/06/2017
Please help?
So basically if an Opp is closed in June 2017 then field should display 15/06/2017
Please help?
Then the formula within the formula field needs to be modified as below. I have considered the CloseDate but you can replace it with a valid Date field from the object. Please mark the thread as SOLVED and answer as the BEST ANSWER if it helps address your issue.
All Answers
You can achieve this using a Formula Field that returns a Date Value. Create a new custom field on the respective Salesforce object where you intend to display the resultant Date. So if you want to display a date after 15 Days from the Opportunity ClosedDate then the formula within the formula field would be as follows In case, the field that you are trying to use in the formula is of a DateTime datatype then use the DATEVALUE() function to use only the date part of the value and add the said number of days to it. Hope this helps
Please mark the thread as SOLVED and answer as the BEST ANSWER if it helps address your issue.
Are you saying that you need the formula to add 15 Days only if the Opportunity Closed Date is 6, 17 or 30 Jun 2017?
Then the formula within the formula field needs to be modified as below. I have considered the CloseDate but you can replace it with a valid Date field from the object. Please mark the thread as SOLVED and answer as the BEST ANSWER if it helps address your issue.