# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
