> 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

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="/files/YHBTb72gIGh5AlWm6SZz" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.inforiver.com/formula-syntax/logical-functions/isrefexist.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
