Loading
Feature degradation | Gmail Email delivery failureRead More
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          ISBLANK

          ISBLANK

          Determines if an expression has a value and returns TRUE if it does not. If it contains a value, this function returns FALSE.

          Use

          ISBLANK(expression) and replace expression with the expression you want evaluated.

          Tips

          • Use ISBLANK instead of ISNULL in new formulas. ISBLANK has the same functionality as ISNULL, but also supports text fields. Salesforce continues to support ISNULL, so you do not need to change any existing formulas.
          • A field is not empty if it contains a character, blank space, or zero. For example, a field that contains a space inserted with the spacebar is not empty.
          • Use the BLANKVALUE function to return a specified string if the field doesn't have a value; use the ISBLANK function if you only want to check if the field has a value.
          • If you use this function with a numeric field, the function only returns TRUE if the field has no value and is not configured to treat blank fields as zeroes.
          • If you use this function with a picklist, use ISBLANK(TEXT(<picklist>)) to convert the picklist items into a text value.
          Formula Example
          Formula Example
          (IF(ISBLANK(Maint_Amount__c), 0, 1) + ​
           IF(ISBLANK(Services_Amount__c), 0,1) + ​
            IF(ISBLANK(Discount_Percent__c), 0, 1) + ​
             IF(ISBLANK(Amount), 0, 1) +​
              IF(ISBLANK(Timeline__c), 0, 1)) / 5

          This formula takes a group of fields and calculates what percent of them are being used by your personnel. This formula field checks five fields to see if they are blank. If so, a zero is counted for that field. A “1” is counted for any field that contains a value, and this total is divided by five (the number of fields evaluated). This formula requires you to select the Treat blank fields as blanks option under Blank Field Handling while the Advanced Formula subtab is showing.

           
          Loading
          Salesforce Help | Article