Going Stellar

Home/Google Sheets reference

Google Sheets function · Lookup

ADDRESS in Google Sheets: syntax and examples

ADDRESS turns a row and column number into a reference written as text. It does not read the cell. Pair it with INDIRECT to get the value, or with ROW and COLUMN to build references from positions.

Syntax

ADDRESS(row, column, [absolute_relative_mode], [use_a1_notation], [sheet])

Arguments

ArgumentTypeRequiredWhat it does
rownumberyesRow number of the cell, from 1.
columnnumberyesColumn number of the cell, from 1 (A).
absolute_relative_modenumberno1 absolute (default), 2 absolute row only, 3 absolute column only, 4 relative.
use_a1_notationbooleannoTRUE (default) for A1 style, FALSE for R1C1 style.
sheetstringnoSheet name to put in front of the reference.

Examples

The examples use this table, starting in A1:

NameQty
Lamp12
=ADDRESS(2, 3)

Result: $C$2

Row 2, column 3 as an absolute reference.

Run in a Google Sheet (English US locale) on .

=ADDRESS(2, 3, 4)

Result: C2

Mode 4 gives a relative reference with no dollar signs.

Run in a Google Sheet (English US locale) on .

=ADDRESS(2, 3, 1, FALSE)

Result: R2C3

FALSE switches to R1C1 notation.

Run in a Google Sheet (English US locale) on .

=ADDRESS(1, 1, 4, TRUE, "My Data")

Result: 'My Data'!A1

A sheet name with a space is wrapped in single quotes automatically.

Run in a Google Sheet (English US locale) on .

=INDIRECT(ADDRESS(2, 2))

Result: 12

ADDRESS builds the reference as text and INDIRECT reads the cell, here the quantity 12.

Run in a Google Sheet (English US locale) on .

Common errors

  • ADDRESS returns text, not a live reference. To read the cell, wrap it in INDIRECT.
  • Row or column 0 returns #VALUE!. Counting starts at 1.
  • absolute_relative_mode only accepts 1 to 4. A value such as 7 returns #NUM!.
  • A sheet name with spaces is wrapped in single quotes in the result, as in 'My Data'!A1.

Compared with Excel

Same syntax as Excel ADDRESS.

Sources

  1. ADDRESS (Docs Editors Help)

Markdown version · All functions