Skip to content

ADDRESS

Builds a cell address as text, such as "$C$5", from a row number and a column number. The result is text, not a reference.

Syntax

=ADDRESS(, , , , )

Lookup and reference

Every version of Excel, including Microsoft 365, Excel 2024, 2021, 2019, 2016 and earlier, Excel for the web and the mobile apps.

Try it

Edit the formula in C2 or change the inputs. The sheet recalculates as you type.

C2
A
B
C
D
1
Row
Column
Address
2
5
3
$C$5
3
4

C2 =ADDRESS(A2,B2) returns $C$5

How ADDRESS works

ADDRESS turns a row number and a column number into the text of a cell address. =ADDRESS(5, 3) returns the text $C$5. It doesn't read the cell. It only spells out where the cell is.

The arguments

  • row_num and column_num are plain numbers, counted from 1. Column 3 is C, column 27 is AA.
  • abs_num controls the dollar signs. 1 (the default) gives $C$5, 2 gives C$5, 3 gives $C5 and 4 gives C5.
  • a1 chooses the style. Leave it out for A1 style, or give FALSE for R1C1, such as R5C3.
  • sheet_text adds a sheet name in front: =ADDRESS(5, 3, 1, TRUE, "Summary") returns Summary!$C$5.

The result is text

ADDRESS returns text, not a working reference. =ADDRESS(5, 3) shows $C$5 but doesn't give you the contents of C5. To read the cell, wrap the result in INDIRECT: =INDIRECT(ADDRESS(5, 3)). INDIRECT is volatile and its text isn't updated when the layout changes, so for a plain read by position, INDEX is better.

Common uses

  • Finding where something is. =ADDRESS(MATCH(E2, B1:B20, 0), 2, 4) finds E2 in column B and returns its address, such as B7. MATCH supplies the row. Make sure the MATCH range starts on row 1, or add the offset, because MATCH returns a position within the range.
  • Building a link. =HYPERLINK("#"&ADDRESS(ROW(), 1), "Go to here") creates a clickable link to a cell in the same workbook. See HYPERLINK.
  • Turning a column number into a letter. =SUBSTITUTE(ADDRESS(1, 27, 4), "1", "") returns AA. The row is dropped by removing the 1.
  • Showing a reference in a report or an audit sheet. For instance, listing where each total lives.
  • Feeding INDIRECT. ADDRESS is the cleaner way to build text addresses than joining letters and numbers with &, since it handles columns past Z.

Absolute and relative

The abs_num argument matters only for the text it produces. If you later paste that text into a formula or pass it to INDIRECT, a $ makes no difference to which cell is read. It matters when someone copies the text into a formula by hand and then fills it.

Limits

A row_num or column_num below 1, or beyond the sheet (1,048,576 rows or 16,384 columns), returns #VALUE!. ADDRESS doesn't check whether the sheet name you give exists.

Arguments

row_num
The row number to use in the address, such as 5.
column_num
The column number to use in the address, such as 3 for column C.
abs_numoptional
The kind of reference to build. 1 or left out gives an absolute address, $C$5. 2 gives an absolute row and relative column, C$5. 3 gives a relative row and absolute column, $C5. 4 gives a fully relative address, C5.
a1optional
TRUE, or leaving it out, gives A1 style such as $C$5. FALSE gives R1C1 style such as R5C3.
sheet_textoptional
A sheet name to put in front of the address, such as "Summary". If the name contains spaces, ADDRESS adds the quotes for you.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

A row and a column become an address

C2 =ADDRESS(A2,B2)

Result: $C$5

Row 5, column 3 is C5. With no abs_num the address is absolute, with a dollar sign in front of the letter and the number.

C2
A
B
C
D
1
Row
Column
Address
2
5
3
$C$5
3
4

C2 =ADDRESS(A2,B2) returns $C$5

Example 2

A relative address with no dollar signs

C2 =ADDRESS(A2,B2,4)

Result: AB12

abs_num 4 gives a fully relative address. Column 28 is AB, which is why ADDRESS is handier than building letters by hand.

C2
A
B
C
D
1
Row
Column
Address
2
12
28
AB12
3
4

C2 =ADDRESS(A2,B2,4) returns AB12

Example 3

Include a sheet name

C2 =ADDRESS(A2,B2,1,TRUE,"Summary")

Result: Summary!$B$8

The fifth argument puts the sheet name in front. ADDRESS doesn't check that the sheet exists, so a typo in the name still produces text.

C2
A
B
C
D
1
Row
Column
Address
2
8
2
Summary!$B$8
3
4

C2 =ADDRESS(A2,B2,1,TRUE,"Summary") returns Summary!$B$8

Example 4

Where is a value? Combine ADDRESS with MATCH

D5 =ADDRESS(MATCH(D2,B1:B5,0),2,4)

Result: B4

MATCH finds the customer at position 4 of B1:B5, which starts on row 1, so the position is also the sheet row. ADDRESS turns row 4, column 2 into B4.

D5
A
B
C
D
1
Invoice
Customer
Customer
2
INV-9001
Ridge Supply
Oakfield School
3
INV-9002
Lakeside Cafe
4
INV-9003
Oakfield School
Found in
5
INV-9004
Lakeside Cafe
B4
6
7
8
9

D5 =ADDRESS(MATCH(D2,B1:B5,0),2,4) returns B4

Example 5

R1C1 style

C2 =ADDRESS(A2,B2,1,FALSE)

Result: R5C3

With a1 set to FALSE the address is written in R1C1 style: row 5, column 3.

C2
A
B
C
D
1
Row
Column
Address
2
5
3
R5C3
3
4

C2 =ADDRESS(A2,B2,1,FALSE) returns R5C3

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C9, return the address of the cell at the row in A9 and the column in B9, with a dollar sign on both the column and the row.

Answer in C9.

C9
A
B
C
D
E
1
SKU
Bin
2
FX-1010
A-03
3
FX-1047
B-14
4
FX-1062
A-11
5
FX-1085
D-22
6
FX-1101
C-09
7
8
Row
Column
Address
9
7
4
10
11
SKU to find
Cell holding it
12
FX-1085
13
14

Common mistakes

  • ADDRESS returns text, not a reference. To read the cell it names, wrap it in INDIRECT, or use INDEX with the row and column numbers instead.
  • When you combine MATCH with ADDRESS, MATCH returns a position within its range. If the range doesn't start on row 1, add the offset or the address will be too high or too low.
  • ADDRESS doesn't check the sheet name. ADDRESS(1, 1, 1, TRUE, "Smmary") returns Smmary!$A$1 without complaint.
  • A row or column number that is below 1 or past the edge of the sheet returns #VALUE!.
  • Column numbers are counted from 1 at column A. Column 26 is Z and column 27 is AA, so check your numbers against the layout.

Questions people ask

What does ADDRESS do in Excel?

It builds the text of a cell address from a row number and a column number. `=ADDRESS(5, 3)` returns `$C$5`.

How do I get the value, not the address?

Wrap ADDRESS in INDIRECT: `=INDIRECT(ADDRESS(5, 3))`. For a plain lookup by row and column number, `=INDEX(A1:Z100, 5, 3)` does the same without being volatile.

How do I remove the dollar signs from ADDRESS?

Set the third argument, abs_num, to 4: `=ADDRESS(5, 3, 4)` returns `C5`.

How do I convert a column number into a letter?

Use ADDRESS with abs_num 4 on row 1 and remove the 1: `=SUBSTITUTE(ADDRESS(1, 27, 4), "1", "")` returns AA.

Learn ADDRESS in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.