I'm having two date time fields FieldA and FieldB and also I'm having a formula field which will hold either one of the two date time fields , if either is filled. But the value is not getting update. It still shows empty. Please find the formula I tried.

    FieldA!= null,
    FieldA ,
        FieldB != null,
  • Where does it being shown as empty? What are the values of fieldA and FieldB? – kurunve Feb 13 '18 at 11:58

Use ISBLANK() instead of checking for null.

Below or similar formula would do.

IF(ISBLANK( FieldA__c ), FieldB__c , FieldA__c )
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.