Excel function

ADDRESSfunction

Builds a cell address as text (such as "$C$5") from a row and column number.

All versions
=ADDRESS(5, 3)
A
B
C
D
1
2
3
4
5
6
7
8
9

Click other cells in the sheet. Change abs_num and the $ signs move. Try breaking it on purpose to see the errors.

Result

$C$5

row_num

The row number of the address. 1 is row 1.

column_num

The column number of the address. 1 is column A, 3 is column C.

abs_num

Where to put $. Omitted means 1 (fully absolute).

What is the ADDRESS function?

=ADDRESS(row_num, column_num, [abs_num], [a1], [sheet_text])

ADDRESS builds a cell address as text, such as "$C$5", from a row number and a column number. Use it to show the position found by MATCH as an address.

The result is address text, not the cell's value. Wrap it in INDIRECT if you need the value. Click cells in the sheet above to see the address change.

Arguments

row_num
The row number of the address.
column_num
The column number of the address. 1 is column A.
abs_num
1 (omitted) $C$5, 2 C$5, 3 $C5, 4 C5.
a1
TRUE (omitted) for A1 style, FALSE for R1C1 style. This playground handles A1 only.
sheet_text
A sheet name to put before the address.

ADDRESS examples

  1. Example 1. Basic

    =ADDRESS(5, 3)

    "$C$5".

  2. Example 2. Relative reference

    =ADDRESS(5, 3, 4)

    "C5".

  3. Example 3. With a sheet name

    =ADDRESS(2, 3, 1, TRUE, "Stock")

    "Stock!$C$2".

  4. Example 4. Where the maximum is

    =ADDRESS(MATCH(MAX(C2:C9), C2:C9, 0)+1, 3)

    The address of the highest price, "$C$6".

Common mistakes

FAQ

Just the column letter?
Use =SUBSTITUTE(ADDRESS(1, column_num, 4), "1", "").
R1C1 style?
Set the fourth argument to FALSE to get something like "R5C3".