The Excel ADDRESS Function returns a cell address for specified row and column coordinates. Optional arguments allow you to specify the style of address (A1 or R1C1), the sheet name it refers to and whether the reference is absolute or relative.
Excel ADDRESS Function Syntax
|Syntax:||=ADDRESS(row_num, column_num, [abs_num], [a1], [sheet_text])|
Note: Arguments in square brackets are optional.
At its most basic the ADDRESS Function requires two arguments, the row and column numbers:
|row_num||Numeric value that specifies the cell reference's row number|
|column_num||Numeric value that specifies the cell reference's column number|
|[abs_num]||Numeric value that specifies whether the reference returned is absolute or relative. An absolute reference is returned if this argument is omitted. See table below.|
|[abs_num]||Returns a reference that is:|
|1 or omitted||Absolute|
|2||Absolute row; relative column|
|3||Relative row; absolute column|
|[a1]||Specifies the reference style; A1 or R1C1:|
|TRUE or 1||returns the A1 reference style where rows are numbered, and columns labeled alphabetically.|
|FALSE or 0||returns R1C1 reference style where rows and columns are numbered..|
|[sheet_text]||A text value that allows you to specify the sheet the reference is on.|
|e.g. =ADDRESS(1,1,1,1,"Sheet4") returns Sheet4!$A$1. If this argument is omitted the address returned refers to a cell on the current sheet.|
Download the Workbook
Enter your email address below to download the sample workbook.
Excel ADDRESS Function Examples
The table below contains examples with varying abs_num and style [A1] arguments (notice the sheet_text argument is omitted in these examples):
The references above all assume they refer to the current sheet, but if you want to return an address that refers to a different sheet or a different workbook, then you can use the sheet_text argument like so:
Return the Cell ADDRESS of a Named Range
It can be handy to keep a record of the cell references your named ranges refer to, particularly if they’re dynamic. For example, cells B53:C58 in the image below are named Rng.
I can use the ADDRESS function to document the first cell in the range
The last cell in the range:
Or the complete range:
The row and column number vales are calculated using the ROW, ROWS, COLUMN and COLUMNS functions.
- ROW returns the row number
- ROWS returns number of rows in a range
- COLUMN returns the column number
- COLUMNS returns the number of columns in a range
More on the ROW, ROWS, COLUMN and COLUMNS functions.
Tip: If you just want to find the address of a cell, then the CELL function is simpler:
Caution: Notice that CELL only returns the address of the first cell in Rng, so it's great for single cells or for returning the first cell in a range.
Convert an ADDRESS to a Cell Reference
If you want to use the ADDRESS function to return a reference to a cell, while nested inside another function, then you need to wrap it in INDIRECT.
For example; cell E74 in the image below contains a text string. The ADDRESS Function using ROW and COLUMN simply returns the cell reference, but if you actually want to evaluate the cell reference, in other words return the value in cell E74, then you need to wrap the ADDRESS formula in INDIRECT.
More on the INDIRECT function here.
Excel ADDRESS Function Errors
#VALUE! In the ADDRESS function this generally signals the wrong type of argument. Typically, one or more of the first 3 arguments will be wrong. E.g. specifying an abs_num argument value > 4.
#NAME? This error can be triggered in the ADDRESS function when you incorrectly enter the style or abs_num argument, or specify the row or column number with anything other than a number.
More Examples of the ADDRESS Function
- Highlight cells referenced in Excel formulas
- Dynamic hyperlinks that update based on a selection
- Dynamic hyperlink lookup
If you liked this please click the buttons below to share.