Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Managing Conditional Formatting Rules in Excel
  • How to Create Column Chart in Excel
  • How to create Checklist in Excel
  • How To Create Frequency Distribution in Excel
  • How to Create Gantt Chart in Excel

References

  • How to get address of last cell in range in Excel
  • How to get first column number in range in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Merge tables with VLOOKUP in Excel
  • How to use Excel INDIRECT Function

Data Validations

  • Excel Data validation allow weekday only
  • Excel Data validation number multiple 100
  • Data validation must not exist in list
  • Excel Data validation require unique number
  • Excel Data validation must not contain

How to get address of named range in Excel

by

To get the full address of a named range with an Excel formula, you can use the ADDRESS function together with the ROW and COLUMN functions.

Formula

=ADDRESS(ROW(nr),COLUMN(nr))&":
"&ADDRESS(ROW(nr)+ROWS(nr)-1,
COLUMN(nr)+COLUMNS(nr)-1)

Explanation

In the example shown, the formula in G5 is:

=ADDRESS(ROW(data),COLUMN(data),4)
&":"&ADDRESS(ROW(data)+ROWS
(data)-1,COLUMN(data)+COLUMNS(data)-1,4)

where “data” is the named range B5:D10

How this formula works

The core of this formula is the ADDRESS function, which is used to return a cell address based on a given row and column. Unfortunately, the formula gets somewhat complicated because we need to use ADDRESS twice: once to get address of the first cell in the range, and once to get the address of the last cell in the range. The two results are joined with concatenation and the range operator (:) and the full range is returned as text.

To get the first cell in the range, we use this expression:

=ADDRESS(ROW(data),COLUMN(data))

ROW returns the first row number associated with the range, 5*.

COLUMN returns the first column number associated with the range, 2.

With abs_num set to 4 (relative), ADDRESS returns the text “B5”.

=ADDRESS(5,2,4) // returns "B5"

To get the last cell in the range, we use this expression:

=ADDRESS(ROW(data)+ROWS(data)-1,
COLUMN(data)+COLUMNS(data)-1,4)

See this page for a detailed explanation.

Essentially, we follow the same idea as above, adding simple math to calculate the last row and last column of the range, which are fed as before into ADDRESS with abs_num set to 4. This reduces to the following expression, which returns the text “D10”:

=ADDRESS(10,4,4) // returns "D10"

Both results are concatenated with a colon to get a final range address as text:

="B5"&":"&"D10"
="B5:D10

Named range from another cell

To get an address for a named range in another cell, you’ll need to use the INDIRECT function. For example, to get the address of a name in A1, you would use:

=ADDRESS(ROW(INDIRECT(A1)),COLUMN(INDIRECT
(A1)))&":"&ADDRESS(ROW(INDIRECT(A1))+ROWS
(INDIRECT(A1))-1,COLUMN(INDIRECT(A1))
+COLUMNS(INDIRECT(A1))-1)

Set abs_num to 4 inside ADDRESS to get a relative address.

* Actually, in all cases where we use ROW and COLUMN with a multi-cell named range, we’ll get back an array of numbers instead of a single value. However, since we aren’t using an array formula, processing is limited to the first item in these arrays.

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Complete List of Excel Logical Functions, References and Examples
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • How to use IFS function in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get last working day in month in Excel
  • Dynamic date list in Excel
  • ISOWEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • WEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • How to get number of days, weeks, months or years between two dates in Excel

Grouping

  • Map text to numbers in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel
  • Group numbers at uneven intervals in Excel

General

  • Delete Blank Rows at Once in Excel
  • How to get original number from percent change in Excel
  • How to count total number of cells in a rectangular range in Excel
  • How to Delete Cells, Row and Rows in Excel
  • Split Cell Content Using Text to Columns in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning