You need to sign in to do that
Don't have an account?
CRMsimple
IF(AND(ISPICKVAL - HELP!!!
I'm having some difficulty updating the following formula field:
I am trying to make the IF statements run but only if the picklist field Contact_Status__c is "Client" if not I want to the field to be null
I am getting all sorts of save errors on this one (and any others that I've tried) - Can anyone put me on track?
Thanks
Jeremy
Code:
IF (Days_since_last_review__c >= 120,"120 Days No Review", IF (Days_since_last_review__c >= 90, "90 Days No Review", IF (Days_since_last_review__c = 0, "Never Had Review", null) ) ) )
I am trying to make the IF statements run but only if the picklist field Contact_Status__c is "Client" if not I want to the field to be null
Code:
IF(AND(ISPICKVAL( Contact_Status__c , "Client", (Days_since_last_review__c >= 120, "120 Days No Review", (Days_since_last_review__c >= 90, "90 Days No Review", (Days_since_last_review__c = 0, "Never Had Review", null ) ) )
I am getting all sorts of save errors on this one (and any others that I've tried) - Can anyone put me on track?
Thanks
Jeremy
:smileysad:
and Rather than Null you might want to try using ""
IF(
ISPICKVAL( Contact_Status__c , "Client"),
IF(Days_since_last_review__c >= 120, "120 Days No Review",
IF(Days_since_last_review__c >= 90, "90 Days No Review",
IF(Days_since_last_review__c = 0, "Never Had Review",
""
)
)
)
)
maybe 2 nulls?
"",""
I'm Probably grasping at straws now:
(ISPICKVAL( Contact_Status__c , "Client")),
The error message seems to indicate it is not finding a result for both a true and a false condition for each IF.
Hopefully BioscienceMan will get a look at this, he always seems to have the best take on these.
Really appreciate it.
Jeremy
The IF statements require a value-if-true and a value-if-false in order to work. Salesforce doesn't allow you to leave out one of the conditions, they all have to be there. It would be nice if they would allow you to leave out the value-if-false and it would default to null like one is allowed to do in Excel.