---
schema_version: "1"
id: 73a024fae3d10099213bc1e1fba0844d90f7bc75a94c4fcbca890c014325182c
title: ISCHANGED
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_ischanged.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_ischanged.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bb762b1029ed8ec788bb3199a33257fe5f0a56e0c81130c57b313ae992d6739f
description: Compares the value of a field to the previous value and returns TRUE if the values are different. If the values are the same, this function returns FALSE.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# ISCHANGED

Compares the value of a field to the previous value and returns TRUE if the values are different. If the values are the same, this function returns FALSE.

## Use

`ISCHANGED(field)` and replace field with the name of the field you want to compare.

## Tips

- This function is available only in:
    - Assignment rules
    - Validation rules
    - Field updates
    - Workflow rules if the evaluation criteria is set to **Evaluate the rule when a record is: created, and every time it’s edited** .
    - Formula criteria for executing actions in Process Builder.
- Use the NOT function to reverse the return values of TRUE and FALSE.
- This function returns FALSE when evaluating any field on a newly created record.
- If a text field was previously blank, this function returns TRUE when it contains any value.
- For number, percent, or currency fields, this function returns TRUE when:
    - The field was blank and now contains any value
    - The field was zero and now is blank
    - The field was zero and now contains any other value

![Validation Rule 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)

Validation Rule Example The following validation rule prevents users from changing an object name after it has been created: `ISCHANGED(Name)`.

`NOT(AND(ISCHANGED(Priority), ISPICKVAL(Priority, “Low”)))` is a validation rule that ensures if a user changes the Priority of a case, the new priority cannot be “Low.”

`NOT(AND(ISCHANGED(CloseDate), ​OR(MONTH(CloseDate) <> MONTH(TODAY()), ​YEAR(CloseDate) <> YEAR(TODAY())),$Profile.Name <> "Sales Manager"))` is a validation rule that prevents a user from changing the Close Date of an opportunity to a date outside of the current month and year unless that user has the Sales Manager profile.

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

Note $Profile merge fields are only available in Enterprise, Unlimited, Performance, and Developer Editions.