Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Last row number in range
  • Convert text string to valid reference in Excel using Indirect function
  • Merge tables with VLOOKUP in Excel
  • Vlookup Examples in Excel

Data Analysis Examples

  • Filter Data Based on Date in Excel
  • Excel Bar Chart
  • Move chart to a separate worksheet in Excel
  • Number and Text Filters Examples in Excel
  • How To Filter Data in Excel

Data Validation Examples

  • Excel Data validation must contain specific text
  • Excel Data validation exists in list
  • Excel Data validation don’t exceed total
  • Excel Data validation require unique number
  • Excel Data validation unique values only

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 calculate percent variance 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:   How to get last row in mixed data with blanks in Excel

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:   AutoFit Column Width, AutoFit Row Height 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:

How To Calculate Square Root in Excel

Next Post:

Understanding Various Paste Options in 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
  • Convert Numbers to Text in Excel
  • Find function vs Search function in Excel
  • PHONETIC function: Description, Usage, Syntax, Examples and Explanation
  • How to check if cell contains one of many things in Excel
  • CONCATENATE function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate months between dates in Excel
  • Sum race time splits in Excel
  • How to get same date next month or previous month in Excel
  • How to enter Today’s Date or Static Date and Time in Excel
  • How to calculate next anniversary date or birthday in Excel
  • ODDFYIELD function: Description, Usage, Syntax, Examples and Explanation
  • ACCRINT function: Description, Usage, Syntax, Examples and Explanation
  • IRR function: Description, Usage, Syntax, Examples and Explanation
  • DOLLARDE function: Description, Usage, Syntax, Examples and Explanation
  • SYD function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles