You need to sign in to do that
Don't have an account?
mgibson
Trying to create a formula field for a date
Hi all! I need to create a formula field and am getting stuck. Here are the three fields to use:
Start_Date__c = date field
Frequency__c = number field
Period__c = picklist (month and year are the picklist values)
I need to create a new formula field (date) to take that start date, and display a new date which is the Start Date + Frequency * Period
So examples would be:
Start Date = 1/1/2022
Frequency = 1
Period = Year
Desired new field output = 1/1/2023
Start Date = 1/1/2022
Frequency = 1
Period = Month
Desired new field output = 2/1/2022
Can anyone recommend how to accomplish this? Thanks!
Start_Date__c = date field
Frequency__c = number field
Period__c = picklist (month and year are the picklist values)
I need to create a new formula field (date) to take that start date, and display a new date which is the Start Date + Frequency * Period
So examples would be:
Start Date = 1/1/2022
Frequency = 1
Period = Year
Desired new field output = 1/1/2023
Start Date = 1/1/2022
Frequency = 1
Period = Month
Desired new field output = 2/1/2022
Can anyone recommend how to accomplish this? Thanks!
Can you try using this formula. This will take leapyear also into consideration if we have to add the years.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
Can you try using this formula. This will take leapyear also into consideration if we have to add the years.
If this solution helps, Please mark it as best answer.
Thanks,
Try Below Formula Please Mark It As Best Answer If It Helps
Thank You!