How to Make a Graph in Excel with AI

Cody Schneider

Manually creating graphs in Excel can feel like a chore, but new AI features have turned this tedious task into a quick conversation. This article will show you exactly how to use Excel's built-in AI tools and add-ins to generate charts and graphs just by describing what you want to see.

Why Use AI to Make Graphs in Excel?

In the past, making the right chart meant selecting the right data, navigating the "Insert Chart" menu, and often building a pivot table first just to get your data in the right shape. It wasn't difficult, but it was time-consuming and required you to know exactly which chart type you needed from the start. AI changes the game by flipping the script from manual creation to automated discovery.

Here’s why it’s so effective:

  • It saves tremendous amounts of time. Instead of manually formatting data, creating a pivot table, and then building a chart, you can now get a finished visualization in seconds with a single prompt.

  • It helps you discover insights. Excel's AI can analyze your dataset and suggest visualizations based on patterns you might not have noticed, such as correlations, trends over time, or outliers.

  • It makes data analysis accessible. You no longer need to be a spreadsheet expert. If you can type a question like "show sales by month," you can create a chart. This empowers team members who aren’t "data people" to explore information and find answers on their own.

First, Get Your Data Ready for AI

AI is powerful, but it's not a mind reader. For Excel’s AI features to work effectively, your data needs to be clean, organized, and structured in a simple, tabular format. If your spreadsheet is a mess, the AI will get confused and give you poor suggestions or error messages.

Before you start, run through this quick checklist to prep your data:

  • Use a simple table format. Your data should be organized in columns and rows, with a unique header for each column in the very first row.

  • Remove blank rows and columns. Empty rows or columns can make the AI think your data range has ended. Make sure your dataset is a single, continuous block of cells.

  • Avoid merged cells. Merged cells are notorious for breaking formulas, filters, and AI analysis. Unmerge any cells within your data range, especially in the header row.

  • Ensure consistent data types. Each column should contain a single type of data. Don’t mix numbers and text in a "Sales" column. Make sure dates are formatted as dates, and numbers are formatted as numbers.

Here’s a quick "bad vs. good" example of data formatting:

Bad Data (Will Confuse AI)

Notice the merged title cell, the blank row, and the mix of text and numbers in the 'Revenue' column.

Merged Title: Q1 Sales Report

Product

Month

Revenue

Widget A

Jan

$1,500

Widget B

Jan

Est. $2,200

Widget C

Feb

$1,800

Good Data (Ready for AI)

The data is in a clean, simple table with clear headers and consistent data types.

Product

Sale_Date

Region

Revenue

Units_Sold

Widget A

2024-01-15

North

1500

15

Widget B

2024-01-18

South

2200

20

Widget C

2024-02-05

North

1800

18

Widget A

2024-02-12

West

1100

11

Method 1: Use "Recommended Charts" for Quick Visuals

The simplest AI feature in Excel is "Recommended Charts." It's been around for a few versions now and uses basic AI to analyze your selected data and suggest the most appropriate chart types. It’s perfect when you have simple, clean data and want a quick visualization without much guesswork.

Step-by-Step Guide:

  1. Select your data. Click any cell inside your data table. Excel will automatically detect the entire data range as long as it's properly formatted. Alternatively, click and drag to highlight the specific cells you want to include.

  2. Navigate to the Insert Tab. At the top of the ribbon, click on the Insert tab.

  3. Click "Recommended Charts." You'll find this button in the "Charts" section. Clicking it opens a window with a list of suggested charts on the left.

Excel's intelligence comes from its ability to understand your data structure. If it sees a column of dates, it will likely recommend a line chart to show a trend over time. If it sees categorical data (like product names or regions), it will probably suggest a bar chart or column chart for comparison. Browse through the available previews. Once you find one you like, click OK to insert it directly into your worksheet.

Method 2: Use "Analyze Data" for AI-Powered Insights

"Analyze Data" (formerly called "Ideas") is Excel's more advanced AI engine. It doesn't just suggest chart types, it proactively analyzes your data, finds interesting patterns, and allows you to create charts using plain English prompts. This is where you can truly "talk" to your spreadsheet.

Step-by-Step Guide:

  1. Select your data. Just like before, make sure at least one cell in your data table is selected.

  2. Navigate to the Home Tab. Go to the Home tab on the ribbon.

  3. Click "Analyze Data." This button is located on the far right side of the Home tab. Clicking it will open a new pane on the right side of your screen.

Immediately, the "Analyze Data" pane will populate with several automatically generated charts and insights. It's essentially performing analysis on your behalf. You might see a bar chart showing "Region North has noticeably higher Revenue" or a scatter plot revealing a correlation between units sold and revenue.

This is already incredibly useful, but the real power is in the natural language query box at the top of the pane. Here, you can ask Excel specific questions about your data. You don't need to know how to create a pivot chart or write a formula, you just need to type what you want to see.

Examples of Natural Language Prompts:

  • Show total revenue by Product as a column chart

  • which region had the highest units sold?

  • Average revenue by month as a line graph

  • Create a pie chart for revenue by region

  • Correlation between Revenue and Units_Sold

Excel will interpret your question, generate the appropriate chart, and display it in the pane. If you like what you see, just click the "+ Insert" button, and the chart will be added to your spreadsheet, ready for you to customize.

Method 3: Level Up with AI Add-ins like Copilot

The future of AI in Excel is heavily tied to Add-ins, especially Microsoft's own Copilot for Microsoft 365. While the built-in "Analyze Data" feature is great, next-generation AI add-ins offer even more sophisticated capabilities.

Microsoft Copilot, which integrates directly into Excel, acts as a true data analyst assistant. You can use it to not only generate charts but also to clean data, create complex formula columns, and highlight insights with simple conversational prompts. For instance, you could ask Copilot to "Create a graph showing the sales trend for Widget A in the North region, and highlight in red the month with the lowest performance." Copilot can perform all the filtering, calculation, and formatting steps for you.

Beyond Copilot, the Office Add-in store contains a growing number of third-party tools that integrate chatbots like ChatGPT directly into Excel. These can help with formula generation, data structuring, and even creating chart prompts.

How to Find AI Add-ins:

  1. Go to the Insert tab.

  2. Click Get Add-ins.

  3. Use the search bar to look for terms like "AI," "Copilot," or "Chart Generator" to explore available tools.

Add-ins can unlock powerful new workflows, turning your spreadsheet into an even smarter analytics tool.

Best Practices for Working with AI-Generated Graphs

AI tools provide an incredible starting point, but they are assistants, not replacements for human oversight. Once your chart is created, a few final touches can ensure it's clear, accurate, and telling the right story.

  • Always review and refine. Use the Chart Design and Format tabs to improve your AI-generated graph. Add a clear title, label your axes, remove unnecessary gridlines, and adjust colors to match your brand or highlight key information.

  • Double-check the AI's work. Did the AI correctly identify what you wanted? Sometimes, it might sum a column when you wanted an average or misunderstand the context of your prompt. Spend a few seconds validating that the numbers look right and the chart accurately represents your data.

  • Make sure it's the right chart for the data. AI usually makes good suggestions, but sometimes a different visualization tells a better story. Remember the basics: use line charts for trends over time, bar charts for comparing categories, pie charts for showing parts of a whole (sparingly!), and scatter plots for relationships between two variables. If the AI suggests something that doesn't feel right, don't be afraid to change it.

Final Thoughts

Excel's evolution into an AI-powered analytics tool democratizes data visualization. Features like "Recommended Charts" and "Analyze Data" remove the technical barriers, allowing you to move from tedious, manual steps to simple, conversational requests. The days of struggling with pivot tables just to create a basic bar chart are fading fast.

While Excel is fantastic for analyzing a single dataset, often the most valuable insights come from connecting data across different platforms - your website traffic, ad spend, CRM, and sales data. This is where we built Graphed to help. We let you use the same intuitive, natural language approach you just learned, but instead of analyzing a single spreadsheet, you can instantly build real-time dashboards that pull in and unify all your marketing and sales data from sources like Google Analytics, Shopify, Facebook Ads, and Salesforce. Your questions get answers from your entire business, not just one slice of it.