New Batch#100 (10th Nov 2021) - Salesforce Admin + Dev Training (WhatsApp: +91 - 8087988044) :https://t.co/p4F3oeQagK

Showing posts with label Using 'If' condition in formula field of SFDC. Show all posts
Showing posts with label Using 'If' condition in formula field of SFDC. Show all posts

Tuesday, 24 July 2012

Using 'If' condition in formula field of SFDC

IF( ISBLANK( Close_Date__c ) , TODAY() - Open_Date__c, Close_Date__c - Open_Date__c )

- In the above formula field ISBLANK( Close_Date__c ) is the Condition.
- TODAY() - Open_Date__c will trigger if the condition is True.
- Close_Date__c - Open_Date__c will trigger if the condition is False.

Labels