I have logic in Account object for Formula field, but while i try to save it gives me error
Error: Compiled formula is too big to execute (6,387 characters). Maximum size is 5,000 characters
Below is my code:
IF(
AND(
ISPICKVAL(Campaign.FCRM__FCR_Campaign_Sourced_By__c, 'Marketing'),
OR(TAL__c = True, Tele_Rejected__c = True)), 'Marketing',
IF(
OR(
AND(
ISPICKVAL(Campaign.FCRM__FCR_Campaign_Sourced_By__c, 'Marketing'),
OR(
TAL__c = False,
Tele_Rejected__c = False),
OR(
Oppy_Last_30_Days_On_Create__c > 0,
Country = 'Canada',
Country = 'Mexico',
Theater__c = 'APAC',
AND(Theater__c = 'EMEA',
OR(Country = 'United Kingdom',
Country = 'Germany',
Country = 'France',
Country = 'Sweden',
Country = 'Norway',
Country = 'Finland',
Country = 'Denmark',
Country = 'The Netherlands',
Country = 'Belgium',
Country = 'Luxembourg',
Country = 'Ireland')
),
Account_Type_on_Create__c = 'Active Prospect',
Account_Type_On_Update__c = 'Active Prospect',
Sales_Rejected__c = True,
Sales_Engaged__c = True,
ISPICKVAL(Contact.Account.Type, 'Client'),
ISBLANK(Contact.SA__c)
)
),
TEXT(Contact.Owner.Sales_Responsibilities__c) = "AM"), 'Marketing-RA',
IF(
AND(
ISPICKVAL(Campaign.FCRM__FCR_Campaign_Sourced_By__c, 'Marketing'),
TAL__c = False,
FCRM__FCR_SAR__c = True), 'Marketing-RA',
IF(
ISPICKVAL(Campaign.FCRM__FCR_Campaign_Sourced_By__c, 'Marketing'), 'Marketing',
'')
)
)
)
Can anyone suggest how to reduce this formula?