

Private Sub Worksheet_SelectionChange(ByVal Target As Range) Right-click on the Dashboard sheet name and click on the "View Code" option to enter directly into Worksheet Module in VBE so that we can use the worksheet event.Write all region's names in a range, I write them in range A2:A4.Step 3: Change the region as you select a region name in the specified range. The next step is to change the region name in D1 as you select an option from the specified cell. Now as you change the region name in D1 the chart will change accordingly. Hide the source of the chart if you don't want to show them. Insert A chart using this data on the Dashboard sheet.Here we are using dynamic column indexing for VLOOKUP. Since my source data is in A2:D8 on Source Datasheet. We want the data to change as the region changes in D1.

Now we want to pull data of the region in Cell D1.Write one region's name adjacent to the month. Step 2: Get one region's data at one time on a different sheet. Here I have some sample data from different regions in a sheet. Step1: Prepare the data in a Sheet as a source for the chart.

We will make cells clickable and change data to create a chart from the selected cell.įollow the below steps to make dynamic charts in excel that change as per the cell selection. We won't need any drop-down, slicer, or combo box. If you want to make a dashboard with a chart that changes its data as per the selected options, you can use the events in VBA.
