Category: FUNCTION | Updated: 2026-11-22

How to Use the ISREF Function in Google Sheets | Check Whether a Value Is a Valid Cell Reference

ISREF Function

The ISREF function checks whether a specified value is a valid cell reference, returning TRUE if it is a valid reference and FALSE if it is a non-reference value (such as a number, text, or invalid reference error).

Syntax

=ISREF(value)
  • value: Specifies the expression or value you want to check for being a valid cell reference.

Practical Table Example

This example checks reference validity using direct references and in combination with the INDIRECT function.

Cell A (Sheet Name Input) B (Formula) C (Result) D (Description)
1 Sheet1 =ISREF(A1) TRUE A1 is a valid cell reference
2 Sheet1 =ISREF("A1") FALSE "A1" is just a text string
3 Sheet1 =ISREF(INDIRECT(A1&"!A1")) TRUE Valid because Sheet1 exists
4 Nonexistent Sheet =ISREF(INDIRECT(A4&"!A1")) FALSE Invalid because the sheet does not exist

Common Errors and Precautions

  • Do not pass text directly: Passing a string such as =ISREF("B2") evaluates it as text rather than a cell reference and always returns FALSE. Always use INDIRECT together for dynamic checks.
  • #REF! caused by deleting rows or columns: If a referenced row or column is deleted and becomes #REF!, ISREF returns FALSE.

Frequently Asked Questions

Q. In what situations is the ISREF function useful?

A. When dynamically referencing cells or other sheets from text using the INDIRECT function, it is often used to pre-check whether the specified sheet name or cell address actually exists (whether it will cause a #REF! error).

Q. What happens if you pass a cell address wrapped in double quotes like "A1" to ISREF?

A. FALSE is returned. Because "A1" is treated as a plain text string, you need to combine it with INDIRECT("A1") to convert the string into a reference.