How to Create a Dynamic Chart Range in Excel?
Last Updated :
01 Jun, 2021
A Dynamic chart range is the range of a data set which automatically updates on any modifications in the original data set. It is beneficial because at some point in time we need to add or delete data from the original data set. So, we want a method to automatically update the chart on performing any modifications in the source data set. This is known as Dynamic Chart Range in which as the source data changes, the dynamic range updates, and within a fraction of seconds the chart associated with the data set automatically gets updated.
In this article, we are going to see how to create a dynamic chart range in Excel. Basically, there are two methods :
- Using the Excel Table made with the data set.
- Using the Formula method.
Let’s consider an example shown below and see how to create a dynamic chart range using the above-listed methods.
Example: Consider the data set shown below which consists of the data about the number of students enrolled in our famous courses. We will create a dynamic range so that if any new data are either added or deleted the chart gets modified automatically.

Dynamic Chart Range using the Excel Table:
This feature is available from Excel 2007 version and higher which we generally use nowadays. It is the most efficient method because when we add new data to the original source table it gets automatically updated.
The steps to create a dynamic chart range using a table are as follows :
Step 1: Select the table.
Step 2: Click on the Insert tab from the top of the Excel window.
Step 3: Click on the Table.

Step 4: The Create Table window opens. Since the above table has headers “Courses”, “Number of Students” check the box as shown below and then click on OK.

The shortcut to the above two steps is CTRL+T which will open the Create Table window directly.

Dynamic Range Excel Table
Step 5: Now select the entire table and go to Insert and from the Chart Group sets select the 2-D column. You can choose any chart as per requirements.

Step 6: Now we insert new data in the Excel table and observe what happens in the chart.

It can be observed that as we enter the new data the chart gets automatically updated.
Using the Excel Formula:
It is an alternate method that can be used in any version of Excel. The functions used for generating formulas are “OFFSET”, “COUNTIF”.
OFFSET: It is basically used to create a reference offset from a starting point. To create a dynamic range we need the OFFSET function.
Syntax:
= OFFSET(reference,rows,cols,[height],[width])
arguments : reference,rows,cols,[height],[width]
COUNTIF : It is basically used to count cells that match the criteria or a single condition. In criteria, we use LOGICAL OPERATORS like (<,>,>=,<=,<>) and wildcards like (*,?) in case of any partial matching.
Syntax:
= COUNTIF(range,criteria)
arguments : range,criteria
Now, let’s discuss the key steps to be followed to create a dynamic range chart.
Step 1 : Select any cell in Excel and write the formula as shown below for both “Courses” and “Number of Students”. Copy this formula and store it somewhere, probably a notepad as we need it again.
The cell range is taken from Row 3 to Row 102 which is 100 cells in total. So, we created a dynamic range for the user to enter new data into the existing data set.
For example : For “The Number of Students” column the cell range will be from B3 to B102.

Step 2: Now go to the Formulas tab and select Name Manager.

Step 3: Now specify a new name in the Name Manager window.
In Refers to: Copy paste the previously written formula for the Number of Students column and click OK.

Similarly, do it for the “Courses” column by providing a new name GeekCourses.

In this step basically, we are creating two new ranges GeekCourses and GeekStudents which refer to the original data set values. Now, if we add any new data in the previous data set it will automatically be updated in the ranges created in this step.
Step 4 : Now we will create a new dynamic chart associated with the Dynamic Range created using the formulas in the above step.
Insert a blank chart and then go to the Design tab and click on Select Data.

Step 3: The Select Data Source dialog box opens. Now click on Add.
In the Series Value enter the following command :
Sheet_Name!(Name_Ranged_Formula)
Name_Ranged_Formula : The dynamic range created using the Formula.
In our case it is :
GeekFormula!GeekStudents

Now click OK. We can observe that the blank chart is now updated with the data set values. However, the Horizontal-axis (for Courses) is not yet correct. For that, we need go to the Edit tab and write the axis label range as :
GeekFormula!GeekCourses

Click OK. The Dynamic chart is now ready.

Now, enter new data in the original data set and it can be observed that the chart automatically updates. Also, if you delete any data the chart will delete those entries and modifies itself automatically.

Similar Reads
How to Create a Dynamic Pie Chart in Excel?
In Excel, Pie-chart is a graphical representation of different sections or sectors of a circle based on the proportion, it holds from the complete quantity. Pie-charts are generally categorized into two types: Static Pie-chart: A pie-chart created with static or fixed input values is known to be a s
3 min read
How to Create Dynamic Chart Titles In Excel?
Excel is a tool that is generally used by accounting professionals for financial data analysis but can be used for different purposes. It can be used for data visualization, data analysis, and data management, which uses spreadsheets for managing, storing, and visualizing large volumes of data. Cell
2 min read
How to Create a Line Chart in Excel
Line graphs are a highly valuable tool in Excel, helping users analyze trends and patterns effectively over time. They are widely used for time-series analysis in Excel, allowing a clear visual representation of changes in data. In this guide, you'll learn how to create a line graph in Excel, includ
10 min read
How to Create a Rolling Chart in Excel?
A chart range is a data range that automatically updates as the data source is changed. This dynamic range is then utilized in a graphic as the source data. As the data changes, the dynamic range updates instantaneously, causing the chart to refresh. A common necessity when developing reports in Exc
3 min read
How to Create a Pareto Chart in Excel (Static And Dynamic)?
A Pareto Chart is a type of chart that contains both, a line chart and a bar chart where the cumulative total is represented by the line chart. They are generally used to find the defects to prioritize, in order to observe the greatest overall improvement. The chart is named for the Pareto principle
3 min read
How to Create a Step Chart in Excel
A step chart is used to represent data that changes irregularly between time intervals. Now, Excel doesn't have a feature to create a Step Chart like the one shown below but we can create one by making some changes in our data. What is a Step Chart in ExcelA Step chart is the same as a Line Chart. T
4 min read
How to Make a Dynamic Gantt Chart in Excel?
The Gantt chart is named after Henry Gantt, an American mechanical engineer and management consultant who devised it in the 1910s. In Excel, a Gantt diagram displays projects or tasks as cascading horizontal bar charts. A Gantt chart depicts the project's breakdown structure by displaying start and
4 min read
How to Create a Thermometer Chart in Excel?
The Thermometer chart in Excel can be used to depict specific data based on the actual value and the target value. It can be used in a wide range of scenarios such as representing the past performance of horses in horse racing or the global temperature and it's variation throughout decades etc. In t
2 min read
How to Create a Bar Chart in Excel?
To learn how to create a Column and Bar chart in Excel, let's use a simple example of marks secured by some students in Science and Maths that we want to show in a chart format. Note that a column chart is one that presents our data in vertical columns. A bar graph is extremely similar in terms of t
4 min read
How to Create Dynamic Range Based on Cell Value in Excel VBA?
Dynamic ranges in excel VBA provide us with the flexibility to define ranges beyond the specific values. The dynamic range enables the program to perform transformation and data management steps with ease without the worry of changing the range of the data set. The dynamic range in excel VBA promote
3 min read