> 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/logical-functions/isrefexist.md).

# ISREFEXIST

Verifies whether a reference exists and returns a logical result.

The **ISREFEXIST** function returns TRUE if the specified reference exists in the model. It returns FALSE if the reference is invalid, missing, or does not exist. It is commonly used to validate references before applying calculations or logic.

### Syntax

<pre class="language-javascript"><code class="lang-javascript"><strong>ISREFEXIST(reference)
</strong></code></pre>

### Arguments

reference - The reference to validate. Required.

### **Return value**

Either TRUE or FALSE.

### **Example**

<pre class="language-javascript"><code class="lang-javascript"><strong>IF(ISREFEXIST([2027 Plan]), [2027 Plan], "Reference Does Not Exist")
</strong></code></pre>

In this example, the formula checks whether the reference '\[2027 Plan]' exists in the model. If TRUE, it returns the value of '\[2027 Plan]'. If FALSE, it returns 'Reference Does Not Exist'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FwcqH0NLA89nKARz4UrC2%2F2026-02-23_15h37_21.png?alt=media&amp;token=ec37c9b7-12a1-4c8a-8919-9b12a02a6933" alt=""><figcaption><p>Applying ISREFEXIST function</p></figcaption></figure>

### **Excel equivalent**

[ISREF](https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665)


---

# 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/logical-functions/isrefexist.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.
