ISREF Function

Excel Functions › Information

All versions Information

The Excel ISREF function tests whether a value is a cell reference. It returns TRUE or FALSE, making it the building block of error-proof formulas, validation, and conditional logic.


Quick answer: test a cell:
=ISREF(A2) // TRUE when the value is a valid reference

Syntax

=ISREF(value)
ArgumentDescription
valueRequiredThe value, cell, or expression to test.

How to use it

ISREF returns TRUE when the value is a valid reference, and FALSE otherwise. Wrap it in IF to act on the result, or sum it with SUMPRODUCT to count matches: =SUMPRODUCT(--ISREF(A2:A100)).

The IS family: ISBLANK, ISNUMBER, ISTEXT, ISLOGICAL, ISNONTEXT, ISERR, ISERROR, ISNA, ISREF, ISFORMULA, ISEVEN, and ISODD each return TRUE or FALSE so you can branch with IF, count with SUMPRODUCT, or drive conditional formatting.

Try it: interactive demo

Live demo

Pick an input and watch the formula and result update.

Result:

Practice workbook

📊
Download the free ISREF practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

Where is ISREF actually useful?
Mostly inside formulas using INDIRECT — =ISREF(INDIRECT(A2)) checks whether the text in A2 is a valid reference before you use it.
How do I act on the TRUE/FALSE result?
Wrap it in IF: =IF(ISREF(A2), "yes", "no").
Can I count how many cells pass?
Yes: =SUMPRODUCT(--ISREF(range)) counts the TRUEs.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: ISERROR · ISNUMBER · ISBLANK · IFERROR · NA