
if field1 = "WA" add 1 to numericField;
if field2 = "CA" add 1 to numericField;
At the end of this, the numericField can either be 0, 1 or 2. Can this be done?
2 respostas

if field1 = "WA" add 1 to numericField;
if field2 = "CA" add 1 to numericField;
At the end of this, the numericField can either be 0, 1 or 2. Can this be done?
If (field1__c = "WA", 1, 0) +
If (field2__c = "CA", 1, 0)