ExcelFunctions.net Logo

The Excel ISREF Function

Home » Excel-Built-In-Functions » Excel-Information-Functions » Excel-Isref-Function
Search this site:
Custom Search
Related Functions: 

Basic Description

The Excel Isref function tests if a supplied value is a reference. If so, the function returns TRUE; Otherwise it returns FALSE.

The syntax of the function is:

ISREF( value )

Where the supplied 'value' argument can be supplied directly, or can be a value returned from a formula, or a reference to a cell containing a value.


Isref Function Examples

The spreadsheets below show examples of the Excel Isref function. The spreadsheet on the left shows the formulas used, and the spreadsheet on the right shows the results:

 Formulas:
  A B
1 =ISREF( B1 )  
2 =ISREF( B1:B2 )  
3 =ISREF( B1:D4 C1:C5 )  
4 =ISREF( "B1" )  
5 =ISREF( INDIRECT( "B1" ) )  
6 =ISREF( B1 * B2 )  
 Results:
  A B
1 TRUE  
2 TRUE  
3 TRUE  
4 FALSE  
5 TRUE  
6 FALSE  

Note that, in the above examples:

  • The text value "B1", supplied as the argument in cell A4 is a text value, not a reference. However, this text value can be converted to a reference, using the Indirect function, as shown in cell A5.
  • In cell A6, the expression B1 * B2 returns a value (the product of the values in two cells), and so in this case, the Isref function returns FALSE



Valid XHTML 1.0 Transitional
Disclaimer Privacy Policy

Copyright © 2008-2011 ExcelFunctions.net