How to make dynamic named range in Microsoft Excel

 

What is dynamic named range in Microsoft Excel?

A dynamic named range helps to automatically fetch the newly entered value in the list of defined range name in Excel.

How to create dynamic range in Microsoft Excel?

To create dynamic named range, we have to enter formula for the range which will be a combination of COUNTA and OFFSET functions.

Let’s take an example and understand:-

We have number list in Column A. Select the range of A1:A6 and name it Revenue in the Name Box. Calculate the Average in cell C1.

 

Image 1

 

image 2

Now we need when we add any number in column A, Excel update the Average automatically.

 

Follow below given steps:-

  • Go to formula tab and click on Name Manager under the Defined names group.

image 3

 

  • Name Manager Dialog box will appear.

image 4

 

  • Click on Edit button, Edit Name dialog box will appear.

image 5

 

  • Enter the formula in “Refers to” box =OFFSET($A$1,0,0,COUNTA($A:$A),1).

image 6

 

  • Click on ok.
  • Click on Close to Name Manager Dialog box.

image 7

 

Now when you will update the value in column A, then Excel will update the Average function automatically.

 

Formula Explanation:-

COUNTA function calculates the available number of values in the range that are not blank, so that whenever we add any value in the range, COUNTA function gives the result according to the values available in the range. It will provide the number for height.

OFFSET function takes 5 arguments, `=OFFSET(reference,rows,cols,height,width) for reference, we have defined $A$1, rows:- 0, columns:- 0, height:- 6 and width:- 1.

This is all about we can create the dynamic named range in Microsoft Excel.

 

image 48

 

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

 
 



Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>