You need to sign in to do that
Don't have an account?
Kelly Campbell 4
subtract contract start date from contract end date
Hey all, This is probably silly but I can't figure it out.
I'm trying to create a formula field (Contract Term in months) to get number (of months) a contract is, by subtracting my Subscription End Date custom date field from my Subscription Start Date custom field.
This isn't working: DATEVALUE(Pilot_Start_Date__c) - DATEVALUE(Pilot_End_Date__c)
Error: Incorrect argument type for function 'DATEVALUE()'.
Can anybody help? Thanks a million!
Kelly
I'm trying to create a formula field (Contract Term in months) to get number (of months) a contract is, by subtracting my Subscription End Date custom date field from my Subscription Start Date custom field.
This isn't working: DATEVALUE(Pilot_Start_Date__c) - DATEVALUE(Pilot_End_Date__c)
Error: Incorrect argument type for function 'DATEVALUE()'.
Can anybody help? Thanks a million!
Kelly
(Pilot_End_Date__c-Pilot_Start_Date__c)/31
All Answers
Please refer below link for your answer;
https://success.salesforce.com/answers?id=90630000000h22TAAQ
(Pilot_End_Date__c-Pilot_Start_Date__c)/31
@Ross that works, thanks!
(Pilot_Term_months__c + Subscription_Term_months__c)
Any Suggestions?