> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/formula-syntax/identifiers/has_some.md).

# HAS\_SOME

Checks whether one or more specified values exist within a list and returns TRUE or FALSE.

The **HAS\_SOME** identifier checks if one or more of the specified values are part of the list. It can be used with formula columns, and data input columns (select, multi-select) and returns TRUE or FALSE.

### Syntax

```javascript
HAS_SOME(column1, [column2],..., searchvalue1, [searchvalue2],...)
```

### Arguments

* column1, column2 - The list of columns where the search needs to be performed. The argument column1 is required and other columns are optional.
* searchvalue1, searchvalue2 - The list of values of to search in the columns. The argument searchvalue1 is required and other searchvalues are optional.

### **Example**

Let us consider the below scenario.&#x20;

The 'Project status' column is created using the data input column of type single select and status is defined for each product. Based on the status, funds are allocated and the expected project completion time is defined.&#x20;

The 'Fund allocation' column is a data input - number column, which uses the HAS\_SOME identifier to search for status and assign funds based on project status.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FI48BzLRW5IEuzy1thJCq%2FFormula%20has%20some%201.png?alt=media&amp;token=76a54ee6-d3c4-4b18-a9d3-36d1aaf9816b" alt=""><figcaption><p>Using the HAS_SOME identifier</p></figcaption></figure>

Another formula column is created using HAS\_SOME to display the project completion time.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FX7aYDGJxy95xMYHeuKBg%2FFormula%20has%20some.png?alt=media&amp;token=612796a8-10ae-4f70-a288-441dcbbea05e" alt=""><figcaption><p>Using the HAS_SOME identifier</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.inforiver.com/formula-syntax/identifiers/has_some.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
