Excel ADDRESS function to get cell address and more
This tutorial provides a concise overview of the Excel ADDRESS function's syntax and demonstrates its use in retrieving cell addresses and more. Manually entering cell references is an alternative, but the ADDRESS function, coupled with other functions, offers solutions when direct cell referencing is impossible.
Key Features Covered:
- Excel ADDRESS function: syntax and basic applications
- Practical examples of ADDRESS function usage:
- Retrieving cell values using row and column numbers
- Determining the address of cells containing maximum or minimum values
- Extracting column letters from column numbers
- Obtaining the address of named ranges (Excel 2007-2019 and Excel 365/2021)
Excel ADDRESS Function: Syntax and Basic Usage
The ADDRESS function generates a cell address (as text) based on given row and column numbers. It's compatible with Excel versions 2007 and later, including Microsoft 365.
Syntax:
ADDRESS(row_num, column_num, [abs_num], [a1], [sheet_text])
-
row_num
(required): Row number for the cell reference. -
column_num
(required): Column number for the cell reference. -
abs_num
(optional): Reference type (1=absolute, 2=relative column/absolute row, 3=absolute column/relative row, 4=relative). Defaults to absolute ($A$1). -
a1
(optional): Reference style (1 or TRUE = A1 style, 0 or FALSE = R1C1 style). Defaults to A1. -
sheet_text
(optional): Worksheet name (enclosed in quotes). Omitted for the current sheet.
Examples:
-
=ADDRESS(1,1)
: Returns "$A$1" (absolute reference). -
=ADDRESS(1,1,4)
: Returns "A1" (relative reference).
The table below illustrates various ADDRESS function outputs:
Formula | Result | Description |
---|---|---|
=ADDRESS(1,2) |
$B$1 |
Absolute cell reference |
=ADDRESS(1,2,4) |
B1 |
Relative cell reference |
=ADDRESS(1,2,2) |
B$1 |
Relative column, absolute row |
=ADDRESS(1,2,3) |
$B1 |
Absolute column, relative row |
=ADDRESS(1,2,1,FALSE) |
R1C2 |
Absolute R1C1 reference |
=ADDRESS(1,2,4,FALSE) |
R[1]C[2] |
Relative R1C1 reference |
=ADDRESS(1,2,1,"Sheet2") |
Sheet2!$B$1 |
Absolute reference to another sheet |
=ADDRESS(1,2,4,"Sheet2") |
Sheet2!B1 |
Relative reference to another sheet |
Practical Applications of the ADDRESS Function
The following examples demonstrate the ADDRESS function's use within more complex formulas:
1. Retrieving a Cell Value Based on Row and Column Numbers:
Combine ADDRESS with the INDIRECT function: =INDIRECT(ADDRESS(E1,E2))
(where E1 contains the row number and E2 the column number).
2. Finding the Address of the Cell with the Highest or Lowest Value:
Use ADDRESS with MAX/MIN and MATCH:
-
=ADDRESS(MATCH(MAX(B2:B7),B:B,0),COLUMN(B2))
(for the maximum value) -
=ADDRESS(MATCH(MIN(B2:B7),B:B,0),COLUMN(B2))
(for the minimum value)
3. Obtaining a Column Letter from a Column Number:
Use ADDRESS and SUBSTITUTE: =SUBSTITUTE(ADDRESS(1,A2,4),"1","")
(where A2 contains the column number).
4. Getting the Address of a Named Range:
- Excel 2007-2019: Requires separate formulas for the first and last cells, then concatenating them with a colon. See the original document for detailed formulas.
-
Excel 365/2021: Leverage implicit intersection (
@
) to simplify the process. See the original document for detailed formulas.
Downloadable practice workbook available in the original document.
The above is the detailed content of Excel ADDRESS function to get cell address and more. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

This tutorial demonstrates how to efficiently locate the top N values within a dataset and retrieve associated data using Excel formulas. Whether you need the highest, lowest, or those meeting specific criteria, this guide provides solutions. Findi

This tutorial shows you how to add dropdown lists to your Outlook email templates, including multiple selections and database population. While Outlook doesn't directly support dropdowns, this guide provides creative workarounds. Email templates sav

This article explains how to access and utilize shared calendars within the Outlook desktop application, including importing iCalendar files. Previously, we covered sharing your Outlook calendar. Now, let's explore how to view calendars shared with

This tutorial provides a comprehensive guide to Excel's Flash Fill feature, a powerful tool for automating data entry tasks. It covers various aspects, from its definition and location to advanced usage and troubleshooting. Understanding Excel's Fla

In this tutorial, you'll learn how to use regular expressions in Excel to find and extract substrings matching a given pattern. Microsoft Excel provides a number of functions to extract text from cells. Those functions can cope with most

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

This tutorial explains how to use Excel's FV function to determine the future value of investments, encompassing both regular payments and lump-sum deposits. Effective financial planning hinges on understanding investment growth, and this guide prov

This tutorial demonstrates several methods for separating text and numbers within Excel cells, utilizing both built-in functions and custom VBA functions. You'll learn how to extract numbers while removing text, isolate text while discarding numbers
