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

Data Analysis

  • How to Sort by Color in Excel
  • How to count table columns in Excel
  • How to create Gauge Chart in Excel
  • How to Use Solver Tool in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • Two-way lookup with VLOOKUP in Excel
  • How to get address of named range in Excel
  • How to use Excel OFFSET function
  • How to get last column number in range in Excel
  • Get nth match with INDEX / MATCH in Excel

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation must begin with
  • Excel Data validation whole percentage only
  • Data validation must not exist in list
  • Prevent invalid data entering in specific cells

Dynamic Named Range in Excel

by

A dynamic named range expands automatically when you add a value to the range.

1. For example, select the range A1:A4 and name it Prices.

2. Calculate the sum.

3. When you add a value to the range, Excel does not update the sum.

To expand the named range automatically when you add a value to the range, execute the following the following steps.

4. On the Formulas tab, in the Defined Names group, click Name Manager.

5. Click Edit.

6. Click in the “Refers to” box and enter the formula =OFFSET($A$1,0,0,COUNTA($A:$A),1)

Explanation: the OFFSET function takes 5 arguments. Reference: $A$1, rows to offset: 0, columns to offset: 0, height: COUNTA($A:$A), width: 1. COUNTA($A:$A) counts the number of values in column A that are not empty. When you add a value to the range, COUNTA($A:$A) increases. As a result, the range returned by the OFFSET function expands.

7. Click OK and Close.

8. Now, when you add a value to the range, Excel updates the sum automatically.

 Also visit: Understanding Named Range, Named Constant, Name Manager in Excel Formulas

Post navigation

Previous Post:

TRUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Pie Chart

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

  • OR function Examples in Excel
  • How to use IFS function in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • Return blank if in Excel
  • Check multiple cells are equal in Excel

Date Time

  • Display Days in month in Excel
  • How to join date and text together in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • Add workdays to date custom weekends in Excel
  • Get project midpoint in Excel

Grouping

  • If cell contains one of many things in Excel
  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel
  • How to randomly assign people to groups in Excel
  • Map text to numbers in Excel

General

  • Count cells that do not contain errors in Excel
  • Excel Autofill Cell Ranges, Copy, Paste
  • Print Excel Sheet In Landscape Or Portrait
  • How to create dynamic worksheet reference in Excel
  • How to Insert Cells, Row and Rows in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning