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

Comparing two custom date fields
I am trying to create a report where I have 2 custom date fields. I want to be able to compare the fields so is field X is greater then field Y it should show it. Any ideas?
IF(MyDateFieldx__c > MyDateFieldy__c, MyDateFieldx__c, MyDateFieldy__c)
All Answers
IF(MyDateFieldx__c > MyDateFieldy__c, MyDateFieldx__c, MyDateFieldy__c)
I am using this formula
(TODAY() - Date_Mktg_Lead__c) - IF((LastActivityDate - Date_Mktg_Lead__c)> (Action_Taken_Date__c - Date_Mktg_Lead__c), (LastActivityDate - Date_Mktg_Lead__c), (Action_Taken_Date__c - Date_Mktg_Lead__c))
This Includes three date fields
Date_Mktg_Lead__c
LastActivityDate
Action_Taken_Date__c
This is working well if all the date fields are filled but if one of the field is blank it dosn't work. Please suggest....