MS Excel: How to use the ADDRESS Function (WS)
This Excel tutorial explains how to use the Excel ADDRESS function with syntax and examples.
Description
The Microsoft Excel ADDRESS function returns a text representation of a cell address.
The ADDRESS function is a built-in function in Excel that is categorized as a Lookup/Reference Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the ADDRESS function can be entered as part of a formula in a cell of a worksheet.
Syntax
The syntax for the ADDRESS function in Microsoft Excel is:
ADDRESS( row, column, [ref_type], [ref_style], [sheet_name] )
Parameters or Arguments
- row
- The row number to use in the cell address.
- column
- The column number to use in the cell address.
- ref_type
- Optional. It is the type of reference to use. If this parameter is omitted, it assumes that the ref_type is set to 1. It can be any of the following values:
Value Explanation 1 Absolute referencing.
For example: $A$12 Relative column; absolute row
For example: A$13 Absolute column; relative row
For example: $A14 Relative referencing.
For example: A1 - ref_style
- Optional. It is the reference style to use: either A1 or R1C1. If this parameter is omitted, it assumes that the ref_style is set to TRUE. It can be any of the following values:
Value Explanation TRUE A1 style referencing FALSE R1C1 style referencing - sheet_name
- Optional. It is the name of the sheet to use in the cell address. If this parameter is omitted, then no sheet name is used in the cell address.
Returns
The ADDRESS function returns a string/text value.
Applies To
- Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel ADDRESS function examples and explore how to use the ADDRESS function as a worksheet function in Microsoft Excel:
=ADDRESS(4, 5) Result: "$E$4" =ADDRESS(4, 5, 1) Result: "$E$4" =ADDRESS(4, 5, 2) Result: "E$4" =ADDRESS(4, 5, 3) Result: "$E4" =ADDRESS(4, 5, 4) Result: "E4" =ADDRESS(4, 5, 1, TRUE) Result: "$E$4" =ADDRESS(4, 5, 1, FALSE) Result: "R4C5" =ADDRESS(4, 5, 1, TRUE, "Sheet1") Result: "Sheet1!$E$4"
टिप्पणियाँ
एक टिप्पणी भेजें