Loading
Salesforce Enforces New Security Requirements in Summer 2026Read 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
          = and == (Equal)

          = and == (Equal)

          Evaluates if two values are equivalent. The = and == operators are interchangeable.

          Important
          Important Don’t use this function for a null comparison, such as MyDateTime__c == null. Use ISBLANK instead.

          Use

          expression1=expression2 or expression1 == expression2, and replace each expression with merge fields, expressions, or other numeric values.

          Due Date Example
          Due Date Example

          Due Date = CreatedDate + 5 returns true if the due date is equal to five days following a record’s created date.

          Commission Amount Example
          Commission Amount Example
          IF(Probability =1, ROUND(Amount*0.02, 2), 0)

          This formula calculates the 2% commission amount of an opportunity that has a probability of 100%. All other opportunities have a commission value of 0.

          Possible results:

          • An opportunity with a Probability of 90% has a commission of 0.
          • An opportunity with a Probability of 100% and an Amount of $100,000 has a commission of $2,000.
           
          Loading
          Salesforce Help | Article