How to Use the INDIRECT Function in Google Sheets

Have you ever wanted to reference a cell in Google Sheets using text? Look no further than the INDIRECT function! In this article, I’ll show you how to use the INDIRECT function to dynamically retrieve cell references based on text input.

Syntax

The syntax for the INDIRECT function is as follows:

INDIRECT(cell_reference_as_text, [A1_notation])

  • cell_reference_as_text is the text representation of the cell address. It should be enclosed in double quotes unless it refers to a cell containing the text itself.
  • [A1_notation] is an optional argument that specifies the cell address notation type. The default is TRUE, which returns the A1 notation (e.g., A1, B3, F14). If you need the R1C1 notation (e.g., R1C1, R3C2), you must specify FALSE.

How to Use the INDIRECT Function

To better understand how the INDIRECT function works, let’s take a look at some examples:

Image

In the examples above, you can see that the first parameter can be a direct text string enclosed in double quotes (lines 2 and 3), a cell reference that contains the address string (line 7), or even a concatenated string (lines 4 and 5).

Using the INDIRECT function, you can dynamically reference cells based on the text input, allowing for more flexibility and automation in your Google Sheets. It’s a powerful tool that can save you time and effort!

To explore more functions in Google Sheets, visit Crawlan.com.

Related posts