This post will guide you how to use Excel INDIRECT function with syntax and examples in Microsoft excel.
The Excel INDIRECT function returns the cell reference based on a text string, such as: type the text string “A2” in B1 cell, it just a text string, so you can use INDIRECT function to convert text string as cell reference.
The INDIRECT function is a build-in function in Microsoft Excel and it is categorized as a Lookup and Reference Function.
The INDIRECT function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.
The syntax of the INDIRECT function is as below:
= INDIRECT (ref_text,[a1])
Where the INDIRECT function arguments are:
Ref_text -This is a required argument. A reference to a cell as a text string.
A1 – This is an optional argument. It is a logical value that specify the style of the Ref_text reference.
Note: If A1 value is True or omitted, the ref_text will be interpreted as an A1-style reference.
If A1 value is False, The ref_text will be interpreted as R1C1 style reference.
The below examples will show you how to use Excel INDIRECT Lookup and Reference Function to return a cell or range reference that is represented by a text string.
#1 To get the value of the reference in cell A2, just using the following excel formula: =INDIRECT(A2)