How to Create a Dynamic Dashboard in Excel with ChatGPT
Building a dynamic dashboard in Excel often feels like a daunting task, full of complex formulas and manual formatting. But by pairing the power of Excel with the conversational intelligence of ChatGPT, you can streamline the entire process. This article will guide you through creating a powerful, interactive Excel dashboard, using ChatGPT to handle the heavy lifting from generating formulas to suggesting chart ideas.
First, Structure Your Data for Success
Before you build anything, your raw data needs to be clean, organized, and in the right format. A dynamic dashboard is only as good as the data powering it. The best practice for dashboarding in Excel is to format your data as a proper Excel Table.
This is a non-negotiable first step. An Excel Table isn't just a range of cells with borders, it’s a structured object that makes your data much easier to manage, reference, and update.
Imagine your data looks like this simple, messy range:
To turn it into a powerhouse for your dashboard:
Click anywhere inside your data range.
Press Ctrl + T (or go to Insert > Table).
Ensure the "My table has headers" box is checked.
Click OK.
Your data will now be formatted as a structured Table, with benefits like filter buttons, banded rows, and most importantly, the ability to use structured references (e.g., TableName[ColumnName]) in formulas. This makes your formulas more readable and resilient to changes. When you add new rows of data, the Table automatically expands, and your dashboard formulas will include the new data instantly.
Brainstorming KPIs and Metrics with ChatGPT
Now that your data is structured, you need to decide what to measure. If you're unsure which Key Performance Indicators (KPIs) matter most, you can use ChatGPT as your data strategist. Describe your dataset, and it will give you great starting points.
Let's assume our sales data Table (which we'll name "SalesData") has the following columns: Date, Region, Product, SalesRep, UnitsSold, and Revenue.
Sample Prompt for ChatGPT:
"I'm creating a sales dashboard in Excel. My data table is named 'SalesData' and has these columns: Date, Region, Product, SalesRep, UnitsSold, and Revenue. What are 5-7 essential KPIs I should track to measure sales performance?"
ChatGPT might give you a list like this:
Total Revenue: The overall top-line revenue for the period.
Total Units Sold: The total quantity of products sold.
Average Revenue Per Sale: Total Revenue divided by the number of sales.
Sales by Region: A breakdown of revenue from each geographical region.
Top 5 Products by Revenue: Identify which products are driving the most income.
Sales Rep Leaderboard: Rank sales representatives by their total revenue generated.
Revenue Trend Over Time: A monthly or quarterly view of revenue to spot trends.
This gives you a clear roadmap for the exact calculations you’ll need to build.
Using ChatGPT to Generate Your Excel Formulas
This is where ChatGPT becomes your on-demand Excel expert, saving you from searching for formula syntax on Google. Let's create a "Calculations" sheet in your workbook where all the dashboard logic will live. This keeps your dashboard presentation layer clean and separate from the backend calculations.
On this new sheet, set up a small table to house your main KPIs.
Generating SUMIFS and COUNTIFS Formulas
To get your main KPIs, you can ask ChatGPT directly for the formulas you need.
Sample Prompt for ChatGPT:
"Using my Excel Table named 'SalesData', write me the Excel formula to calculate Total Revenue from the 'Revenue' column."
ChatGPT's Response:
=SUM(SalesData[Revenue])
What if you want to calculate sales for a specific region, like "North"?
Sample Prompt for ChatGPT:
"Now, give me an Excel formula to calculate the Total Revenue just for the 'North' region. The table is 'SalesData', the revenue is in the 'Revenue' column, and the region is in the 'Region' column."
ChatGPT's Response:
=SUMIFS(SalesData[Revenue], SalesData[Region], "North")
You can use this same process for all your summary calculations. Create a summary table that will eventually power your charts. Ask ChatGPT for each formula:
Total Revenue for the West region.
Total Units Sold by a specific Sales Rep.
The number of sales (using
COUNTIFS) for a particular product.
Bringing Your Dashboard to Life with Visuals
With your calculation table ready, it's time to visualize the data. A good dashboard uses a mix of chart types to tell a story at a glance. You can even ask ChatGPT for advice on which visuals to use.
Sample Prompt for ChatGPT:
"Based on these KPIs (Sales by Region, Top 5 Products by Revenue, Revenue Trend Over Time), what are the best chart types to use in a professional Excel dashboard?"
ChatGPT will likely suggest:
Bar Chart or Map Chart for Sales by Region.
Horizontal Bar Chart for Top 5 Products.
Line Chart for Revenue Trend Over Time.
Create a new sheet named "Dashboard" and start building. To create a chart, simply highlight the summary data from your "Calculations" sheet (e.g., the regions and their corresponding revenues), click the Insert tab in Excel, and choose the recommended chart type.
For single-value KPIs like "Total Revenue," you can create a "card" or "scorecard" visual. Simply insert a Text Box (Insert > Text Box), click on the formula bar, and type = followed by a click on the cell containing your Total Revenue calculation. This links the text box to the cell, and it will update automatically.
Making Your Dashboard Truly Interactive
A static report is good, but a dynamic dashboard that users can filter is great. The easiest way to add interactivity without getting into complex settings is by using dropdown lists powered by Data Validation.
Let's create a dropdown menu to filter the entire dashboard by region.
Step 1: Create a Unique List of Regions
First, you need a list of all your unique regions. You can ask ChatGPT for the formula to do this:
Sample Prompt for ChatGPT:
"In Excel, write me a formula to create a dynamic list of unique values from the 'Region' column in my 'SalesData' table."
ChatGPT's Response:
=UNIQUE(SalesData[Region])
Place this formula in a spare cell on your "Calculations" page. This creates a spill range with a unique list of your regions.
Step 2: Add a Dropdown Control
On your main "Dashboard" sheet, select a cell where you want the dropdown to appear (e.g., cell E1).
Go to the Data tab and click Data Validation.
In the "Allow" dropdown, choose List.
In the "Source" box, click the cell that contains your
=UNIQUE(...)formula from the previous step and add#at the end. This tells Excel to use the entire spilled array from your unique list. For example, if your formula is in cellP2, you'd enter$P$2#.Click OK. You now have a dropdown list of all your regions!
Step 3: Connect Your Formulas to the Dropdown
The final step is to make your dashboard formulas reactive to the dropdown selection. For this, you’ll need ChatGPT's help again.
Sample Prompt for ChatGPT:
"I have a dropdown in cell E1 on my 'Dashboard' sheet that contains a region name. How do I modify my dashboard formulas to update based on the selection in E1? For example, my formula for total revenue is =SUM(SalesData[Revenue]). It needs to show 'All Regions' or a specific region's total."
ChatGPT will give you a brilliant formula using an IF statement. To make it selectable for all regions, you can add "All Regions" manually to your unique list and use conditional logic.
Updated Prompt:
"My 'Dashboard'!E1 cell is my region filter dropdown. I need to modify my formulas. For example, my Total Revenue formula. If 'Dashboard'!E1 is blank, it should sum all revenue. If it has a region name, it should only sum revenue for that region. The table is 'SalesData', columns are 'Revenue' and 'Region'."
ChatGPT's Response:
=IF(Dashboard!E1="", SUM(SalesData[Revenue]), SUMIFS(SalesData[Revenue], SalesData[Region], Dashboard!E1))
Now, apply this logic to every calculation on your "Calculations" sheet. Every KPI and every chart will now update instantly whenever you select a new region from the dropdown menu.
Final Polish and Design
Your dashboard is functional and dynamic - now make it look professional. Here are a few final tips, and yes, you can get ideas from ChatGPT here too.
Use a Grid Layout: Align your charts and cards neatly. Turn on "Snap to Grid" (view Page Layout > Align > Snap to Grid) for perfect alignment.
Consistent Color Palette: Don't use the default Excel colors. Pick 2-3 complementary colors and use them consistently. You can ask ChatGPT, "Give me a professional color palette (with hex codes) for a business sales dashboard."
Clear Titles: Make sure every chart has a clear, descriptive title. "Monthly Revenue Trend" is better than "Chart 2".
Remove Clutter: Hide gridlines (View > uncheck Gridlines) for a cleaner look. Remove unnecessary chart axes or labels if they don't add value.
Final Thoughts
By following these steps, you've moved beyond simple spreadsheets and created a truly dynamic tool for data analysis. You’ve used ChatGPT as a smart assistant to simplify complex steps like writing formulas and choosing KPIs, saving you hours of work and letting you focus on the insights your data provides.
We know that even with AI assistants, toggling between Excel and ChatGPT to build reports still involves quite a few manual steps. For us, the goal was to eliminate this process entirely. With Graphed, we’ve embedded this AI-native workflow directly into the analysis. You simply connect your data sources, and then describe the dashboard you want in plain English. Graphed builds the charts, creates the filters, and arranges the real-time dashboard for you in seconds - no formulas, formatting, or back-and-forth required.