Loading
Prepare for Email to Become the Default Login ExperienceRead More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
NOT

NOT

Returns FALSE for TRUE and TRUE for FALSE.

Use

NOT(logical) and replace logical with the expression that you want evaluated.

Formula Example
Formula Example

IF(NOT(ISPICKVAL(Status, "Closed")), ROUND(NOW()-CreatedDate, 0), null checks to see if a variable is open and if so, calculates the number of days it has been open by subtracting the date and time created from the current date and time. The result is the number of days open rounded to zero decimal places. If the variable is not open, this field is blank.

 
Loading
Salesforce Help | Article