IF( TEXT( LeadSource )="Event", 50, 0, IF(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +30, 37.5, IF(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +60, 25, IF(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +120, 0, 0))))
If I add AND to the formula this is what it gives me - Error: Syntax error. Missing ')'. IF I add those it just shifts to another error. IF( TEXT( LeadSource )="Event", 50, 0, IF(AND(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +30, 37.5, IF(AND(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +60, 25, IF(AND(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +120, 0, 0)))))
Hi @Reinhard Ndlovu ,
I think the syntax error will go away. However, I'm not sure what this formula means.
This part doesn't always work
Are you mistaken for today?
Last_Activity_Date__c > Last_Activity_Date__c +30
IF( TEXT( LeadSource )="Event", 50,
IF(AND(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +30), 37.5,
IF(AND(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +60), 25,
IF(AND(TEXT( LeadSource )="Event", Last_Activity_Date__c > Last_Activity_Date__c +120), 0,
0))))