Creating dynamic charts, Using Name manager, Display or multiple charts at the same time in same location using filter

Dynamic charts are Excel visualizations that automatically update when the underlying data changes. These are essential for business analysts and financial modelers who need responsive dashboards. Unlike static charts that require manual updating, dynamic charts use named ranges and formulas like OFFSET, INDEX, and MATCH to reflect real-time updates in data. They are frequently used in sales reporting, budgeting, and KPI dashboards to streamline workflows and reduce repetitive tasks.

Best Practices for Dynamic Charts:

  • Use structured data tables: Excel tables (Ctrl + T) auto-expand with new entries.

  • Avoid volatile functions: While OFFSET is useful, excessive use can slow performance.

  • Name your ranges logically: E.g., Sales_2025, Region_Sales.

  • Test with sample data to ensure formulas update correctly.

  • Keep input cells separate: Reserve cells for user input (drop-downs, filters).

  • Document your model: Label your ranges and charts for clarity.

Creating Dynamic Charts Using Name Manager:

Step 1: Prepare Your Data

Let’s say you have sales data for each month:

Month Sales
Jan 5000
Feb 7000
Mar 6200

Step 2: Create Named Ranges

  • Go to Formulas > Name Manager > New.

  • In the Name box, type SalesData.

  • In the Refers to box, enter:

    excel
    =OFFSET(Sheet1!$B$2, 0, 0, COUNTA(Sheet1!$B:$B)-1, 1)

    This formula creates a dynamic range that expands with the data in column B.

  • Repeat the above for Months using:

    excel
    =OFFSET(Sheet1!$A$2, 0, 0, COUNTA(Sheet1!$A:$A)-1, 1)

Step 3: Create the Chart

  • Go to Insert > Chart (e.g., line or bar).

  • Right-click the chart and choose Select Data.

  • Click Add and input:

    • Series name: “Sales”

    • Series values: =Sheet1!SalesData

    • Axis labels: =Sheet1!Months

Now, your chart automatically updates when you add new months and sales values.

Using Drop-down Filter to Display Multiple Charts in One Location:

This is useful when you want to show one chart at a time (e.g., by region, product, or year) without cluttering your dashboard.

Step 1: Create a Drop-Down Using Data Validation

Go to a cell (e.g., D1) and apply Data Validation:

    • List options (e.g., Region1, Region2, Region3).

    • Use Data > Data Validation > List.

Step 2: Use INDEX-MATCH or INDIRECT for Dynamic Range

Assume you have three tables for three regions. Use formulas to pull data based on the selected drop-down:

excel
=IF($D$1="Region1", Region1Sales, IF($D$1="Region2", Region2Sales, Region3Sales))

Step 3: Link Chart to Dynamic Output

Create a summary table that displays data based on the drop-down (using formulas like INDEX, MATCH, or INDIRECT).

Step 4: Insert the Chart

Now, create a chart using the summary data. When you change the drop-down, the chart will update to show the corresponding values.

Advantages of These Techniques:

  • No need to create separate charts for each data set.

  • Easy to maintain and update.

  • Clean and interactive presentation.

  • Ideal for dashboards and reports for multiple stakeholders.

Leave a Reply

error: Content is protected !!