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

Data Analysis

  • Filter Data Based on Date in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • How to add Trendline to a chart in Excel
  • How To Filter Data in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • How to use Excel FORMULATEXT function
  • Count unique text values with criteria
  • How to get last column number in range in Excel
  • Basic INDEX MATCH approximate in Excel
  • How to use Excel VLOOKUP Function

Data Validations

  • Excel Data validation allow uppercase only
  • Excel Data validation date in next 30 days
  • Data validation must not exist in list
  • Excel Data validation unique values only
  • Excel Data validation must not contain

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.

Worked Example:   How to get relative column numbers in a range in Excel

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)

Worked Example:   Automatically fill series of cells in Excel using AutoFill

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.

Worked Example:   How to calculate project complete percentage in Excel

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:

Lock Cells in a Worksheet Excel

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

  • Extract multiple matches into separate rows in Excel
  • How to use Excel AND Function
  • SWITCH function example in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • OR function Examples in Excel

Date Time

  • Display Days in month in Excel
  • Get date from day number in Excel
  • TIME function: Description, Usage, Syntax, Examples and Explanation
  • Count times in a specific range in Excel
  • How to calculate percent of year complete in Excel

Grouping

  • Group numbers at uneven intervals in Excel
  • Group times into 3 hour buckets in Excel
  • Group arbitrary text values in Excel
  • Running count group by n size in Excel
  • Group numbers with VLOOKUP in Excel

General

  • How to calculate decrease by percentage in Excel
  • How to create dynamic worksheet reference in Excel
  • Count cells that contain errors in Excel
  • Split Cell Content Using Text to Columns in Excel
  • How to calculate percent sold in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning