# ISREFEXIST

The **ISREFEXIST** function returns *TRUE* if the specified reference exists in the sheet. It returns *FALSE* if the reference is invalid 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.

### Return value

Returns *TRUE* if a valid reference exists; otherwise, returns *FALSE*.

### **Example**

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

In this example, the **ISREFEXIST** function checks whether the *2026 Revenue Plan* reference exists. If the condition is *TRUE*, the formula returns the value of the *2026 Revenue Plan*; otherwise, it returns the text *'Reference Does Not Exist'*.

### **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.fabricplan.com/planning-sheets/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.
