ADDRESS function

This article describes the formula syntax and usage of the ADDRESS function (function: A prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.) in Microsoft Excel.

Description

You can use the ADDRESS function to obtain the address of a cell in a worksheet, given specified row and column numbers. For example, ADDRESS(2,3) returns $C$2. As another example, ADDRESS(77,300) returns $KN$77. You can use other functions, such as the ROW and COLUMN functions, to provide the row and column number arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.) for the ADDRESS function.

Syntax

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

The ADDRESS function syntax has the following arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.):

  • row_num    Required. A numeric value that specifies the row number to use in the cell reference.
  • column_num    Required. A numeric value that specifies the column number to use in the cell reference.
  • abs_num    Optional. A numeric value that specifies the type of reference to return.
abs_num Returns this type of reference
1 or omitted Absolute (absolute cell reference: In a formula, the exact address of a cell, regardless of the position of the cell that contains the formula. An absolute cell reference takes the form $A$1.)
2 Absolute row; relative column
3 Relative row; absolute column
4 Relative
  • A1    Optional. A logical value that specifies the A1 or R1C1 reference style. In A1 style, columns are labeled alphabetically, and rows are labeled numerically. In R1C1 reference style, both columns and rows are labeled numerically. If the A1 argument is TRUE or omitted, the ADDRESS function returns an A1-style reference; if FALSE, the ADDRESS function returns an R1C1-style reference.

 Note   To change the reference style that Excel uses, click the File tab, click Options, and then click Formulas. Under Working with formulas, select or clear the R1C1 reference style check box.

  • sheet_text    Optional. A text value that specifies the name of the worksheet to be used as the external reference. For example, the formula =ADDRESS(1,1,,,"Sheet2") returns Sheet2!$A$1. If the sheet_text argument is omitted, no sheet name is used, and the address returned by the function refers to a cell on the current sheet.

Example

Use the embedded workbook shown here to work with examples of this function. You can inspect and change existing formulas, enter your own formulas, and read further information about how the function works.

These examples use the ADDRESS function with various arguments to return information about a cell (the first two arguments of the function are the row and column of the cell).

To work in-depth with this workbook, you can download it to your computer and open it in Excel. For more information, see the article Download an embedded workbook from OneDrive and open it on your computer.

Top of Page Top of Page

 
 
Applies to:
Excel 2010, Excel Web App, SharePoint Online for enterprises, SharePoint Online for professionals and small businesses