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

How do I get two different conditions in one formula field where one condition supersedes the other?
Two different conditions in one formula field.
IF(
AND(
NOT(
ISBLANK(Under_Current_Contract_Until__c)),
Under_Current_Contract_Until__c >=TODAY(),
Owner.LastName <> "Partners"),
IMAGE("/img/samples/color_red.gif", "red", 30, 30),
IMAGE("/img/samples/color_green.gif", "green", 30, 30))
I need to incorporate these parameters into the formula
above. These two conditions need to always be red.
RecordType.DeveloperName = "Phase 4,
Owner.LastName <> "Partners"
In other words I need these two parameters to supersede the other conditions.
I have tried OR statements and nested IF statements without success.
Any help would be appreciated. Thanks!
You can try like this,
IF(
AND(
NOT(ISBLANK(Under_Current_Contract_Until__c)),
Under_Current_Contract_Until__c >=TODAY(),
Owner.LastName <> "Partners", RecordType.DeveloperName = "Phase 4"),
IMAGE("/img/samples/color_red.gif", "red", 30, 30),
IMAGE("/img/samples/color_green.gif", "green", 30, 30))
Hope this helps!
Thanks
criteria but still comes up red becasuse it is a phase 4 and owner <> "Partners". When I tried your
solution it came up green.