AND(
NOT(ISBLANK(Account.Name)),
OR(
AND(
ISPICKVAL(LeadSource, "Web"),
Lead_Source_Details__c <> ""
),
AND(
ISPICKVAL(LeadSource, "Referral"),
NOT(ISBLANK(Referral_Source__c))
)
),
OR(
Amount > 1000,
AND(
ISPICKVAL(Type, "New Business"),
Probability > 50
)
),
NOT(
AND(
ISNEW(),
ISCHANGED(Status)
),
NOT(ISBLANK(Email))
)
Additional criteria are being added to the section at the end to ensure that the contact and leadsource fields are not blank
NOT(
AND(
ISNEW(),
ISCHANGED(Status)
),
NOT(ISBLANK(Email)),
NOT(ISBLANK(Contact__c)),
NOT(ISBLANK(LeadSource))
)