How to Use the ADDRESS Function in Excel

This guide provides a comprehensive overview of the ADDRESS function in Microsoft Excel and Google Sheets. It covers the function’s syntax, applications, and examples to help you effectively utilize ADDRESS in your spreadsheets.

Syntax Overview

The ADDRESS function generates a cell address in text format based on specified row and column numbers. Here is the syntax for this function:

=ADDRESS(row_num, column_num, [abs_num], [a1], [sheet])
  • row_num: Specifies the row number for the cell address.
  • column_num: Specifies the column number for the cell address.
  • abs_num (optional): Defines the type of reference – relative (0), absolute (1), or mixed (2 for absolute row and relative column, 3 for relative row and absolute column).
  • a1 (optional): Indicates the reference style, with A1 style as TRUE and R1C1 style as FALSE.
  • sheet (optional – Excel only): Names the worksheet that the cell address refers to.

Examples of Tasks

The ADDRESS function is versatile and can be applied to:

  • Creating dynamic ranges.
  • Generating addresses under specific conditions.
  • Formulating dynamic references within formulas.

Implementation

Here are some practical examples to illustrate how the ADDRESS function can be applied:

Example 1: Basic Usage

For instance, to find the address of the cell located at row 3 and column 2:

Formula Result
=ADDRESS(3, 2) $B$3

Example 2: Dynamic Range Reference

Creating a dynamic range using the ADDRESS function:

Formula Result
=SUM(INDIRECT(ADDRESS(1, 1)&":"&ADDRESS(3, 3))) Sum of values in range A1:C3

Example 3: Cell Reference Based on Condition

Obtaining the address of a cell based on a specific condition, such as if the value in cell A1 is greater than 5:

Formula Result
=IF(A1>5, ADDRESS(2, 2), ADDRESS(4, 4)) Returns the address of B2 if A1>5, or D4 otherwise

By integrating the ADDRESS function with other functions like SUM, INDIRECT, and IF, you can significantly enhance the flexibility and performance of your spreadsheets in both Excel and Google Sheets.

More information: https://support.microsoft.com/en-us/office/address-function-d0c26c0d-3991-446b-8de4-ab46431d4f89

Other functions
Returns the number of areas in a reference
Chooses a value from a list of values
Returns the column number of a reference
Returns the number of columns in a reference
Filters a range of data based on criteria you define
Returns the formula at the given reference as text
Returns data stored in a PivotTable report
Looks in the top row of an array and returns the value of the indicated cell
Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet
Uses an index to choose a value from a reference or array
Returns a reference indicated by a text value
Looks up values in a vector or array
Looks up values in a reference or array
Returns a reference offset from a given reference
Returns the row number of a reference
Returns the number of rows in a reference
Retrieves real-time data from a program that supports COM automation
Sorts the contents of a range or array
Sorts the contents of a range or array based on the values in a corresponding range or array
Returns the transpose of an array
Returns a list of unique values in a list or range
Looks in the first column of an array and moves across the row to return the value of a cell
Searches a range or an array, and returns an item corresponding to the first match it finds If a match doesn't exist, then XLOOKUP can return the closest (approximate) match
Returns the relative position of an item in an array or range of cells