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 =ADDRESS(A2,B2) returns $C$5
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(, , , , )
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 =ADDRESS(A2,B2) returns $C$5
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.
1 (the default) gives $C$5, 2 gives C$5, 3 gives $C5 and 4 gives C5.FALSE for R1C1, such as R5C3.=ADDRESS(5, 3, 1, TRUE, "Summary") returns Summary!$C$5.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.
=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.=HYPERLINK("#"&ADDRESS(ROW(), 1), "Go to here") creates a clickable link to a cell in the same workbook. See HYPERLINK.=SUBSTITUTE(ADDRESS(1, 27, 4), "1", "") returns AA. The row is dropped by removing the 1.ADDRESS is the cleaner way to build text addresses than joining letters and numbers with &, since it handles columns past Z.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.
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.
5.3 for column C.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.TRUE, or leaving it out, gives A1 style such as $C$5. FALSE gives R1C1 style such as R5C3."Summary". If the name contains spaces, ADDRESS adds the quotes for you.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
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 =ADDRESS(A2,B2) returns $C$5
Example 2
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 =ADDRESS(A2,B2,4) returns AB12
Example 3
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 =ADDRESS(A2,B2,1,TRUE,"Summary") returns Summary!$B$8
Example 4
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 =ADDRESS(MATCH(D2,B1:B5,0),2,4) returns B4
Example 5
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 =ADDRESS(A2,B2,1,FALSE) returns R5C3
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.
ADDRESS(1, 1, 1, TRUE, "Smmary") returns Smmary!$A$1 without complaint.#VALUE!.It builds the text of a cell address from a row number and a column number. `=ADDRESS(5, 3)` returns `$C$5`.
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.
Set the third argument, abs_num, to 4: `=ADDRESS(5, 3, 4)` returns `C5`.
Use ADDRESS with abs_num 4 on row 1 and remove the 1: `=SUBSTITUTE(ADDRESS(1, 27, 4), "1", "")` returns AA.
Tracks take you from the basics to modelling, one graded exercise at a time.