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.
Now we need when we add any number in column A, Excel update the Average automatically.
Follow below given steps:-
Now when you will update the value in column A, then Excel will update the Average function automatically.
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.
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 firstname.lastname@example.org
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.