How to Do Data Analysis in Excel with AI

Cody Schneider

Staring at a massive Excel spreadsheet full of raw numbers can feel overwhelming, especially when you know important insights are buried somewhere in those rows and columns. While pivot tables and VLOOKUP have long been the go-to tools, there’s a much faster and more intuitive way to get answers. This guide will walk you through how to use artificial intelligence directly within Excel to analyze your data, saving you time and surfacing trends you might have missed.

Why Use AI for Data Analysis in Excel?

For years, a "data person" was someone who had mastered complex formulas and could build pivot tables in their sleep. This created a bottleneck where getting simple answers required waiting for an analyst or spending hours trying to wrangle the data yourself. AI changes that entirely.

The core benefit is accessibility. Instead of remembering specific syntax or navigating clunky menus, you can ask questions in plain English. This shift from "how do I build this?" to "what do I want to know?" democratizes data analysis, allowing anyone on the team to find answers quickly. AI tools act as your analytical co-pilot, handling the tedious work of structuring data and creating visualizations so you can focus on what the numbers actually mean for your business.

  • Speed: Go from a raw table of data to a finished chart in seconds, not minutes or hours.

  • Accessibility: You don't need to be an Excel expert. If you can ask a question, you can analyze data.

  • Deeper Insights: AI can spot correlations and patterns a human eye might gloss over, suggesting charts and insights you hadn't even thought to look for.

Getting Started with Excel’s Built-In AI Features

You don't need third-party tools to start leveraging AI in Excel. Microsoft has embedded some powerful features directly into the software that are perfect for getting quick insights. Before using any of them, make sure your data is organized in a "tidy" format: a simple table with a unique header for each column and one row for each record.

1. Analyze Data (Formerly "Ideas")

The fastest way to get an overview of your dataset is with the "Analyze Data" feature. It’s like having a data analyst look over your shoulder and point out the most interesting trends automatically.

How to Use It:

  1. Click on any single cell within your data table. Your data needs to have clear headers for this to work effectively.

  2. Navigate to the Home tab on the Excel ribbon.

  3. On the far right, click the Analyze Data button.

A new pane will open on the right side of your screen. Excel will automatically generate a series of insights based on your data, such as pivot charts, bar graphs, and key statistical callouts. For example, with a simple sales dataset, it might instantly show you "Sum of Revenue by Region" or "Count of Sales by Product Category."

You can click the "+ Insert" button on any of these suggestions to add them directly to a new sheet in your workbook.

Even better, at the top of the "Analyze Data" pane is a search box where you can ask questions using natural language. For example, you could type:

  • "total profit by month as a line chart"

  • "which country has the highest average transaction value"

  • "compare sales for 2022 vs 2023"

Excel will do its best to interpret your question and generate the corresponding pivot table or chart.

2. Flash Fill for Effortless Cleaning

Data rarely arrives in the perfect format. Flash Fill is a brilliant AI-powered feature for restructuring and cleaning data without writing a single formula. It works by detecting patterns in your manual entries and then automating the rest of the job for you.

How to Use It – A Common Example: Imagine you have a column of full names (e.g., "John Smith") and you want to separate them into "First Name" and "Last Name" columns.

  1. Create two new columns with the headers "First Name" and "Last Name" next to your full name column.

  2. In the first row of the "First Name" column, manually type the first name (e.g., "John"). Press Enter.

  3. In the second row, start typing the next first name. As soon as you type the first letter or two, Excel will detect the pattern and show a grayed-out preview of all the other first names it has extracted.

  4. If the preview looks correct, just hit Enter. The entire column will be filled instantly.

  5. Repeat the same process for the "Last Name" column.

Flash Fill is incredibly versatile and can be used for things like:

  • Extracting domain names from email addresses.

  • Formatting phone numbers consistently.

  • Combining cells (like First and Last Name into an email convention).

Level Up with Third-Party AI Add-Ins

While the built-in tools are great for quick analysis, the real power comes from integrating large language models (like the technology behind ChatGPT) directly into your workflow. This can be done with AI add-ins.

Finding and Installing AI Add-Ins

You can find these tools in the Office Add-in store.

  1. Go to the Insert tab on the ribbon.

  2. Click on Get Add-ins.

  3. In the search box, type "AI" or "GPT" to see a list of popular options.

Browse through the choices, read the reviews, and select one to add. Once installed, it will typically appear on your Home tab or its own dedicated tab.

Practical Use Cases for AI Add-ins in Excel

These add-ins unlock capabilities that go far beyond what Excel can do natively. You can essentially have a conversation with your data.

1. Text Analysis and Sentiment Analysis

Imagine you have a column of customer feedback from a survey. Manually reading through hundreds of comments would take forever. With an AI add-in, you could select that column and ask:

  • "What is the overall sentiment of this feedback in column C?"(The AI can create a new column with "Positive," "Negative," or "Neutral" for each comment.)

  • "Summarize the top 3 complaints from this customer feedback."

  • "Categorize each comment into themes like 'Pricing', 'Customer Support', or 'Product Quality'."

2. Complicated Formula Generation

Tired of searching Google for the right formula syntax? Just describe what you want to achieve in plain English.

=GENERATE_FORMULA("Find the median sales value for the 'Electronics' category in the West region")

The AI will write the complex formula for you (likely a combination of IF, MEDIAN, INDEX, or XLOOKUP), saving you a ton of time and frustration.

3. Automated Data Cleaning

For messier data that Flash Fill can't quite figure out, AI add-ins are a lifesaver. You can highlight a messy column and give commands like:

  • "Standardize all country names in column B. For example, change 'USA' and 'United States' to 'US'."

  • "Extract only the numeric zip code from the full addresses in column F."

Limitations of Using AI Exclusively in Excel

While these tools are a massive step forward, relying solely on Excel for AI-powered analysis has some significant drawbacks, especially for marketing and sales teams.

  • Static Data: The entire process depends on you manually importing data, usually through a CSV export. Your analysis is only as current as your last download. If you want to see what happened this morning, you have to start the whole export-and-analyze process over again.

  • Siloed Information: Your analysis is trapped within a single spreadsheet. You can’t easily compare your website traffic from Google Analytics with your ad spend from Facebook Ads and your sales data from Shopify without a complicated, manual process of stitching multiple exports together.

  • Lack of Deep Context: While AI add-ins are smart, they are just guessing what your column headers mean. They don't have a true, deep understanding of the source platform's data structure (its schema or ontology). This can sometimes lead to misunderstandings or inaccurate analysis because the AI lacks the full context.

  • Output Isn't a Live Dashboard: The result of your work is a static chart inside a spreadsheet. It's not a real-time, interactive dashboard that your team can check anytime to see up-to-the-minute performance.

Final Thoughts

Integrating AI-powered features into Excel is a fantastic way to speed up your data analysis workflow. From generating instant charts with Analyze Data to cleaning data with Flash Fill and writing formulas with AI add-ins, these tools make data far more approachable and reduce hours of tedious manual work to mere seconds.

But when you're managing marketing and sales channels, the analysis doesn't stop with a single spreadsheet. Instead of constantly exporting static CSV files, we built Graphed to connect directly to all your live data sources like Google Analytics, Shopify, Facebook Ads, and Salesforce. This way, you can use natural language to ask questions and build shared, real-time dashboards that are always up to date, eliminating the manual reporting cycle for good.