Creates a cell address as text, given specified row and column numbers.
Syntax
ADDRESS(row_num,column_num,abs_num,a1,sheet_text)
Row_num is the row number to use in the cell reference.
Column_num is the column number to use in the cell reference.
Abs_num specifies the type of reference to return.
Abs_num | Returns this type of reference |
---|---|
1 or omitted | Absolute |
2 | Absolute row; relative column |
3 | Relative row; absolute column |
4 | Relative |
Sheet_text is text specifying the name of the sheet to be used as the external reference. If sheet_text is omitted, no sheet name is used.
Example
The example may be easier to understand if you copy it to a blank spreadsheet.
How?
- Create a blank spreadsheet.
- Select the example in the Help topic.
Selecting an example from Help
- Press CTRL+C.
- In the spreadsheet, select cell A1, and press CTRL+V.
- To switch between viewing the formula that returns the result and the result in the cell, select the cell and press F2 and then ENTER, or click Commands and Options on the spreadsheet toolbar, click the Formula tab, and look in the Formula in active cell (active cell) box.
Formula | Description (Result) |
---|---|
=ADDRESS(2,3) | Absolute reference ($C$2) |
=ADDRESS(2,3,2) | Absolute row; relative column (C$2) |
=ADDRESS(2,3,2,FALSE) | Absolute row; relative column in R1C1 reference style (R2C[3]) |
=ADDRESS(2,3,1,FALSE,"Sheet1") | Absolute reference to another sheet (Sheet1!R2C3) |