How to Create Dynamic Charts in Excel Using Data Filters – 3 Easy Methods

The following dataset will be used to create dynamic charts in Excel using data filters.


Method 1 – Filtering the Dataset to Create Dynamic Charts

Steps:

  • Select the whole dataset (B4:D12).
  • Go to the Data tab.
  • In Sort & Filter, select Filter.

create dynamic charts in excel using data filters

The dataset headers will display filters.

  • Select the dataset again.
  • Go to the Insert tab.
  • In Charts, select Recommended Charts.

create dynamic charts in excel using data filters

  • The Insert Chart box will open.

create dynamic charts in excel using data filters

  • Select a chart for the dataset. Here, the clustered column chart.
  • Click OK and the chart will be displayed.

  • Modify the graph.

This chart can be used as a dynamic chart.

  • Click the filter button in B4.

create dynamic charts in excel using data filters

  • Uncheck years 2016-2018. Click OK.

create dynamic charts in excel using data filters

The graph will automatically change.

Read More: How to Create Dynamic Chart with Multiple Series in Excel


Method 2 – Using Chart Filters

Steps:

  • Create a chart by selecting the whole dataset and choosing Recommended Charts from the Charts group in the Insert tab.

create dynamic charts in excel using data filters

  • Select a type of chart in Insert Chart. Here, the clustered column graph.

create dynamic charts in excel using data filters

  • Click OK and the chart will be displayed.

create dynamic charts in excel using data filters

  • Click the chart. Three additional features will be displayed.

  • Click Chart Filters to see the available filtering options.

create dynamic charts in excel using data filters

  • You can modify your parameters. Here, “Revenue” and the years 2014-2017 were unchecked.

create dynamic charts in excel using data filters

  • Click Apply. Your graph will change.

create dynamic charts in excel using data filters

Read More: How to Create Chart with Dynamic Date Range in Excel


Method 3 – Utilizing an Excel Table

Steps:

  • Select the dataset or a cell in the dataset.
  • Go to the Insert tab.
  • In Tables, select Table.

create dynamic charts in excel using data filters

  • Click OK in Create Table.  Make sure that My table has headers is checked.

The dataset is converted to an Excel table.

create dynamic charts in excel using data filters

  • Create a chart by selecting the whole dataset and choosing Recommended Charts from the Charts group in the Insert tab.

create dynamic charts in excel using data filters

  • Select a type of chart in Insert Chart. Here, the clustered column graph.

create dynamic charts in excel using data filters

  • Click OK and the chart will be displayed.

  • Use the data filters in the table headers to change the chart parameters. For example, click the filter in B4.

create dynamic charts in excel using data filters

  • Select your parameters. Years 2018-2021 were unchecked.

create dynamic charts in excel using data filters

  • Click OK and the chart will automatically change.

 

Read More: How to Create a Dynamic Chart in Excel Using VBA 


How to Create Dynamic Charts Without Data Filters in Excel

Steps:

  • Select I4.
  • Go to the Data tab.
  • In Data Tools, select Data Validation.

  • In the Data Validation window, select Settings.
  • In Allow, select List.
  • In Source, enter Expense, Revenue.

  • Click OK.

A data filter will be created in the cell.

  • Create a header for the years in F4.

  • Select G4 and enter the following formula.

=I4

  • Press Enter.

  • Copy all years to F5:F12.

  • Select G5 and enter the following formula.

=INDEX($C$5:$D$12,MATCH(F5,$B$5:$B$12,0),MATCH($G$4,$C$4:$D$4,0))

  • Press Enter.

  • Select the cell again and drag down the fill handle to fill the rest of the cells with the formula.

  • Select F4:G12 and go to the Insert tab.
  • In Charts, select Recommended Charts.

create dynamic charts in excel using data filters

  • Select a chart in Insert Chart. Here, the column chart.

create dynamic charts in excel using data filters

  • Click OK and the chart will be displayed.

  • Select I4 and change the option to Revenue.

create dynamic charts in excel using data filters

The chart will automatically change.

 


Download Practice Workbook


Related Articles


<< Go Back to Dynamic Excel Charts | Excel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Abrar-ur-Rahman Niloy
Abrar-ur-Rahman Niloy

Abrar-ur-Rahman Niloy, holding a B.Sc. in Naval Architecture and Marine Engineering, has contributed to Exceldemy for nearly 1.5 years. As a leader in Excel, VBA, and Content Development teams, he authored 114+ articles and assisted the Exceldemy forum. Presently, as a project writer, he prioritizes stepping out of his comfort zone, aiming for constant technical improvement. Niloy's interests encompass Excel & VBA, Pivot Table, Power Query, Python, Data Analysis, and Machine Learning libraries, showcasing his commitment to diverse... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo