You need to sign in to do that
Don't have an account?
SueHall
Help with formula - trying to avoid hard coding date
The formula I am using is listed below. While it works, it is limiting due to the need to hard code the DATE (2009,06,30).
Does anyone know how I can get around harding coding the date?
If not, how can recode the formula to look at two years, rather than one? (I think it should be a case function but cannot figure it out)
(DATE(2009,06,30) - ( Projected_Start_Date__c )) /365 * ( Annual_Paid_Claims__c )
(DATE(2010,06,30) - ( Projected_Start_Date__c )) /365 * ( Annual_Paid_Claims__c )
For the year, try
YEAR(Today()) +1 = 2008
or
YEAR(Projected_Start_Date__c)
e.g.
(DATE(YEAR(Projected_Start_Date__c) ,06,30) - ( Projected_Start_Date__c )) /365 * ( Annual_Paid_Claims__c )
As for looking at two years, I am not sure what you mean.
DATE(YEAR(Projected_Start_Date__c+184) ,06,30) - ( Projected_Start_Date__c )) /365 * ( Annual_Paid_Claims__c )
If you shift the date by 184 into the future, then the year of that date is the one you want to work with.
Hi Michael,
This worked perfectly! Thanks so much for your help! Have a great weekend.
Sue