
- New business
- uplift
- renewal
We have a custom 'opp type' field with a few picklist values however we want the ACV to be calculated only for the above 3 picklist values. I know this is something that could be filtered via reports but would like to include this filter in the formula field itself if possible.
Current formula field is
IF( ISBLANK( ACV_Override__c) || (ACV_Override__c == 0) , Monthly_Revenue__c * MIN( Contract_Length__c ,12), ACV_Override__c)
Any suggestions?
1 réponse
Okay,
This should do it for you:
IF(
OR(TEXT(Opp_Type__c) = "New Business", TEXT(Opp_Type__c) = "Uplift", TEXT(Opp_Type__c) = "Renewal"),
IF( ISBLANK( ACV_Override__c) || (ACV_Override__c == 0) , Monthly_Revenue__c * MIN( Contract_Length__c ,12), ACV_Override__c),null)
Best of luck!