---
schema_version: "1"
id: d77e2b242b4ab2f3dc5797541ec4dfee817fd2b9ac0786809d98c79c258dfb99
title: INCLUDES
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_includes.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_includes.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f5eefba4808b29992293119dcb08c80f8c74d2860c25238ffe8fad8f9849f398
description: Determines if any value selected in a multi-select picklist field equals a text literal you specify.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# INCLUDES

Determines if any value selected in a multi-select picklist field equals a text literal you specify.

## Use

`INCLUDES(multiselect_picklist_field, text_literal)` and replace multiselect\_picklist\_field with the merge field name for the multi-select picklist; and replace text\_literal with the multi-select picklist value you want to match in quotes.

## Tips

- The text\_literal expression must be of type text and enclosed in quotes. It cannot be a merge field or the result of a function.
- Salesforce returns an error if any of the following occurs:
    - You do not provide a text\_literal expression.
    - You provide an empty text\_literal expression, such as `""` or `" "`.
- Use [ISBLANK](https://help.salesforce.com/s/articleView?id=platform.customize_functions_isblank.htm&release=264.0.0&type=5 "Determines if an expression has a value and returns TRUE if it does not. If it contains a value, this function returns FALSE.") to determine if a multi-select picklist field is empty.
- Use the PRIORVALUE function inside the INCLUDES function to check if the previous value of a multi-select picklist field included a specific value. For example:
    
    ```
    INCLUDES(
       PRIORVALUE(multiselect_picklist_field),
    text_literal
    )
    ```

![Function 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)

Function Example

`INCLUDES(Hobbies__c, "Golf")` returns TRUE if one of the selected values in the Hobbies custom multi-select picklist field is Golf.