Excel Dynamic Chart Linked with a Drop-down List
Last Updated :
27 Dec, 2021
Dynamic Chart using drop-down list is very helpful when we deal with tons of grouped data and perform comparative analysis. For example, an E-commerce site sells different types of products. They can create a drop-down list for every product and in the chart, they can see the sales details in the last ten years.
In this article, we are going to see how to create a dynamic chart with a drop-down list using a suitable example shown below.
Example: Consider the table below which shows the details of the ratings provided by our mentors to different students in the courses they have enrolled in. The rating is on a scale of 0-5 based on their performance. The goal is to create a single drop-down list for the courses and associate a chart with it.

Implementation :
Follow the below steps to implement a dynamic chart linked with a drop-down menu in Excel:
Step 1: Insert the data set into an Excel sheet in the cells as shown above.
Step 2: Now select any cell where you want to create the drop-down list for the courses.
Step 3: Now click on the Data tab from the top of the Excel window and then click on Data Validation.

Step 4: In the Data Validation dialog box :
- In Allow: Select List.
- In Source: Select the cell range for the columns. You can enter manually or select the cell range by clicking the cell followed by dragging the AutoFill Options as shown below.

Step 5: The drop-down list is ready and now you can format it by changing the color, font size. This drop-down list will do nothing as we have not yet associated it with any Formulas. It will just show the list of courses available in the list.

Step 6: It is the most important step. Now we have to associate this drop-down list with the data of the original table using the Formulas. In our case, we have used the INDEX function and MATCH function for creating the Formula.
The syntax for the INDEX function is :
= INDEX(array,row_num,[col_num],[area_num])
array : range of cells
The syntax for the MATCH function is :
= MATCH(lookup_value, lookup_array, [match_type])
[match_type] : It denotes whether we need an exact match or appropriate match. The values can be 1,0,-1.
In our case, the [match_type] is “0” since we need an exact match with the original data set.
Step 7: Now copy and paste all the names in a random cell in Excel where we will create the formula.

8. Now copy the cell location of the drop-down where you have copied the names of the cell. It would be the column name for the dynamic set.
= Cell_Location
In our case the Cell_Location is B9.
Click Enter. It will show whatever is being shown in the cell where the drop-down list is created.

Step 9: Now write the Formula as shown below to create a dynamic data set.
In the Formula, we have used two MATCH functions. One is for matching the set of Rows for names and the second one is for matching the set of Columns.

Step 10: Click Enter. The first data will be inserted in the column. Now drag the AutoFill Options and all the data will be copied from the original table. Now, successfully we have created a dynamic list data set.

The drop-down list is now active. Currently, it is showing the ratings of students for the course “Python”. Now, if you select “DSA” from the drop-down the data will be automatically updated.
Step 11: Select the data set created in step 9 and go to Insert followed by Chart Groups and insert a suitable chart.

Step 12: The Dynamic Chart is now ready to use. You can change the courses using the drop-down list and the chart will be automatically updated as shown below. You can format the chart and add suitable titles, axes title, data labels, etc.

Dynamic Chart with drop-down list
Similar Reads
How to Create a Dynamic Chart with Drop down List in Excel?
The Dynamic Charts are the chart that gets updated itself when the range of underline data changes. In these types, of charts the dynamic range is used as the source data of the chart. So, as the data changes the dynamic range gets updated instantly which further updates the chart according to the n
4 min read
Dynamic Map with Drop-Down in Excel
The map charts are generally used to compare the data values and show different categories across the geographical region. In excel we use map char to visualize the KPI (Key Performance Indicator) and represent the distribution of KPI across multiple geographical regions for any specific category. I
4 min read
How to Make a Dynamic Dependent Drop-Down List in Excel
Dynamic Drop Down List in Excel 365: Quick StepsPrepare Your DataConvert the List into an Excel TableCreate the Drop-Down List Using Data ValidationTest the Dynamic Drop-Down ListCreating dynamic dependent drop-down lists in Excel is a powerful way to improve data entry accuracy and user experience,
5 min read
How to Create a Drop-Down List in Excel: 2 Easy Methods
How to Build Drop Down Menu in Excel: Quick StepsOpen MS Excel Spreadsheet >> Enter List Items Select Cell >> Go to Data Validation Choose List Option Set the Source >>Click OKHave you ever typed the same data repeatedly in Excel, only to make typos or inconsistencies? A drop-down
9 min read
How to Edit, Copy and Delete Drop Down List in Excel
Excel is a versatile tool used globally for various data management tasks, including the use of drop-down lists to simplify data entry and ensure consistency. However, there might be times when you need to modify these lists to keep up with changes in data or requirements. These essential techniques
11 min read
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
Compare Data in an Excel Chart using Drop Down Lists
An Excel chart is a graphical representation of a set of data that can be used for analyzing the data easily. A drop-down list allows the user to choose a specific item or element from a list. Here, we will compare and analyze data using an Excel chart with the help of a drop-down list. We will use
6 min read
How to Create a Dependent Drop Down List in Excel
Dependent Down Lists allow you to validate the data and make the data entry and data filtering very smooth and time-saving. Dependent Down Lists increase the chances of fewer errors in one's worksheet. The prerequisites for learning Dependent Drop Down List are Create from Selection and Drop Down Li
9 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
Generating Dynamic Charts With VBA in Excel
A powerful graph range is an information range that refreshes naturally when you change the information source. This unique reach is then utilized as the source information in an outline. As the information changes, the powerful reach refreshes right away which prompts an update in the outline. The
2 min read