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

Data Analysis

  • How To Create Pareto Chart in Excel
  • Excel Pie Chart
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Understanding Pivot Tables in Excel
  • Error Bars in Excel

References

  • How to create dynamic named range with OFFSET in Excel
  • How to use Excel COLUMN Function
  • Extract data with helper column in Excel
  • How to use Excel ROW Function
  • How to get first row number in range in Excel

Data Validations

  • Data validation must not exist in list
  • Excel Data validation specific characters only
  • Excel Data validation allow weekday only
  • Excel Data validation must contain specific text
  • Excel Data validation don’t exceed total

How to get address of last cell in range in Excel

by

To get the address of the first cell in a named range, you can use the ADDRESS function together with ROW and COLUMN functions.

Formula

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

Explanation

In the example shown, the formula in G6 is:

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

How this formula works

The ADDRESS function builds an address based on a row and column number.

Working from the inside out, we use the ROW function to generate a list of row numbers, which are then shifted by adding ROWS(data)-1,  so that the first item in the array is the last row number:

ROW(data)+ROWS(data)-1

Then we do the same thing with COLUMN and COLUMNS:

COLUMN(data)+COLUMNS(data)-1

The ADDRESS function then assembles and returns an array of addresses. When entered in a single cell, just the item from the array is displayed, which is the address corresponding to the last cell in a range.

CELL function alternative

You can also use the CELL function to get the address of the last cell in a range with this formula:

=CELL("address",INDEX(data,ROWS(data),COLUMNS(data)))

In this case, we use INDEX to get a reference to the last cell in the range, which we determine by passing total rows and total columns into INDEX. The reference returned by INDEX is then handled by the CELL function, using “address”, to return the address.

Note that the the CELL function can be volatile. If you add it to a worksheet, you’ll notice that you are prompted to save even when you’ve made no changes.

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

  • SWITCH function example in Excel
  • IF with wildcards in Excel
  • How to use Excel XOR Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • IF with boolean logic in Excel

Date Time

  • Display Days in month in Excel
  • Convert date to month and year in Excel
  • Convert date to text in Excel
  • Sum through n months in Excel
  • Convert decimal hours to Excel time

Grouping

  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Map text to numbers in Excel
  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel

General

  • Excel Ribbon Quick Overview For Beginners
  • Hide and Unhide Columns or Rows in Excel
  • Split Cell Content Using Text to Columns in Excel
  • Subtotal by invoice number in Excel
  • Zoom Worksheet in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning