Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Dynamic Charts with Formulas | Section
Excel Charts and Data Visualization

Dynamic Charts with Formulas

Swipe to show menu

A dynamic chart range is a data range that changes automatically based on a condition or selection. Instead of building a chart from a fixed range, you build it from a formula-driven range. When the formula result changes, the chart updates. The chart itself is not dynamic. The data source is.

How It Works

  1. A user selects a value from a dropdown;
  2. A formula returns only the matching rows;
  3. The chart is built from that formula output;
  4. When the selection changes, the formula output changes;
  5. The chart updates automatically.

The key idea: the chart depends on a formula range, not the full dataset.

Creating the Dynamic Range

Assume:

1

Step 1: Create a Dropdown

  1. Select an empty cell;
  2. Go to Data → Data Validation;
  3. Choose List;
  4. Select the category range.
carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img

Step 2: Create the Formula Output

In a new area, enter: =FILTER(A2:C100; B2:B100=E2)

This creates a dynamic output table.

carousel-imgcarousel-imgcarousel-imgcarousel-img

Step 3: Build the Chart

Insert a chart using the filtered output, not the original data. Now the chart updates when the dropdown changes.

carousel-imgcarousel-imgcarousel-img

Task

Using the provided dataset:

  • Create a dropdown cell to select a Category;
  • Use the FILTER function to return matching rows into a separate output area;
  • Insert a Line or Column Chart based on the filtered output range;
  • Change the dropdown selection and confirm that the chart updates automatically.

Goal: build a chart that updates based on a formula-driven data range, not manual filtering.

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 11

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Section 1. Chapter 11
some-alt