---
schema_version: "1"
id: 44ede30eb85a7db7adfd33339771cfdbbcbc980abbff525ed72a5e7b6fda6c50
title: NOT
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_not.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_not.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f8c3e6762b83220d74cf188cf5e647ffccb1da281c358a2b201cd9cc1234fdb5
description: Returns FALSE for TRUE and TRUE for FALSE.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# NOT

Returns FALSE for TRUE and TRUE for FALSE.

## Use

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

![Formula Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

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.