TL;DR: You can use AI in Excel through Copilot, the ChatGPT and Claude add-ins, AI chatbots, and Python in Excel. Learning how to use AI in Excel helps you write formulas, analyze data, build charts, and clean messy sheets using plain-language prompts. Copilot in Excel needs a paid Microsoft 365 plan, while some add-ins offer free tiers. Always check AI output before using it in reports.

Understanding how to use AI in Excel helps you work more efficiently: Microsoft's Copilot can analyze tables, build PivotTables, and edit workbooks from simple prompts, while ChatGPT and Claude run directly in your sheets. This guide explains how to use AI in Excel step by step, covering Copilot, ChatGPT, tools that work without Copilot, ready-to-use prompts, and the best practices that keep your numbers accurate.

How to Use AI in Excel: 4 Ways to Get Started

You can use AI in Excel in four main ways. They all start the same way: you describe what you want in plain language, and the AI handles the formulas, analysis, or edits.

Method

How It Works

Best For

Plan Required

Copilot in Excel

Open Copilot from the Home tab and type a prompt, or turn on Edit with Copilot to let it change the workbook

Analysis, formulas, charts, PivotTables, and multi-step edits

A Microsoft 365 plan that includes Copilot

ChatGPT or Claude add-in

Install the add-in from Home > Add-ins and work with it in a sidebar

Using a different AI model directly in your sheet

The add-in and a ChatGPT or Claude account

AI chatbot in a browser

Paste sample data or upload the file, then copy the result back into Excel

Writing formulas and VBA, or analyzing a file

Any AI chatbot account

Python in Excel with Copilot

Ask Copilot for advanced analysis, and it writes and runs the Python code

Forecasting, statistics, and advanced visualizations

Copilot plus Python in Excel

Whichever method you choose, the basic workflow stays the same:

  1. Prepare your data: Format the range as a table (Ctrl + T) with clear column headers.
  2. Write a specific prompt: Name the columns, time period, and output you want.
  3. Review the result: Check every formula and number against your data before using it.

How to Use Copilot in Excel - 8 Practical Ways

Copilot is Microsoft's AI assistant built into the Excel ribbon. It can answer questions about your data and, with Edit with Copilot, make changes to the workbook for you.

What You Need Before You Start:

  • A qualifying plan: According to Microsoft, Copilot's editing features are available with commercial Microsoft 365 Copilot licenses and Microsoft 365 Personal, Family, and Premium plans. Many business users without a Copilot license lost in-app access in 2026.
  • Clean, structured data: Good data formatting in Excel matters here, so format your range as a table (Ctrl + T) with clear column headers.
  • A saved file: Saving to OneDrive or SharePoint gives the smoothest experience, although Edit with Copilot now also works on local files.

How to Open Copilot and Turn On Edit with Copilot:

  1. Open your workbook and select Copilot on the Home tab.
  2. Type a question in the Copilot pane to chat about your data.
  3. To let Copilot make changes, select Tools and choose Edit with Copilot. This feature was previously called Agent Mode.
  4. Watch Copilot work through each step, then review the changes before saving.

1. Generate and Explain Formulas

Describe the calculation, and Copilot writes the formula. You can also ask whether a formula uses an absolute reference in Excel ($A$1), a common cause of copy errors.

Prompt: "Add a column that shows each order's profit margin as a percentage."

2. Analyze Data by Asking Questions

Ask Copilot direct questions about your table, the same way you would ask a colleague. This turns data analysis in Excel into a simple conversation. 

Prompt: "Which region had the highest sales in Q3, and by how much did it beat the second region?"

3. Identify Trends and Patterns

Identifying trends in a datasheet can be hard when you have huge and complex data. Copilot can spot outliers, seasonal patterns, and correlations in seconds, highlighting important patterns or trends that are easy to miss in a large table.

Prompt: "Show me any unusual spikes or drops in monthly revenue."

4. Create Charts and PivotTables

By analyzing the data and structure, Copilot can make a Pivot table in Excel or a chart, generate reports with professional formatting, and add it to a new sheet as well.

Prompt: "Create a PivotTable of sales by product category and region, with a clustered column chart."

5. Clean and Organize Data

Use Edit with Copilot for data cleaning in Excel and fix uneven text, split columns, remove any duplicates, and apply formatting to the spreadsheet.

Prompt: "Standardize the city names, remove duplicate rows, and highlight blank cells in yellow."

6. Summarize Large Datasets

Copilot can condense thousands of rows into a short summary of key figures for a quick review, reducing time and effort.

Prompt: "Summarize this sheet in five bullet points for a leadership update."

7. Run Advanced Analysis With Python in Excel

For forecasting or statistical work, Copilot can write and run Python for you, bringing data analytics with Python into the workbook. When you ask for advanced analysis, Copilot creates a new sheet, adds the Python code it needs, and returns the results as tables and charts. You don’t need to know Python to use it, and you can review or edit the code if you want to adjust the analysis. 

Prompt: "Analyze this data using Python and forecast sales for the next six months."

8. Automate Multi-Step Tasks

Edit with Copilot can chain several actions in one request, such as building a summary sheet, adding formulas, and formatting a dashboard.

Prompt: "Create a monthly report sheet with total sales, top five products, and a trend chart."

How to Use AI in Excel Without a Copilot License

No Copilot license? You still have several options:

  • Built-in smart features: Flash Fill (Ctrl + E) learns a pattern from one or two examples and fills the rest of the column. Forecast Sheet (Data > Forecast Sheet) casts future values from historical data. Data from Picture turns a photo of a printed table into editable cells.
  • Claude for Excel: One of the most popular ChatGPT alternatives, Anthropic’s add-in works in a sidebar but requires a paid Claude plan
  • Free Copilot on the web: Upload a workbook to Copilot Chat in your browser and ask questions about it.
  • AI-written VBA and Office Scripts: Ask any chatbot to write a macro or script, then run it in Excel to automate repetitive tasks.

How to Use ChatGPT With Excel

You can use ChatGPT inside Excel through its official add-in or alongside Excel in a chat window.

Option 1: Install the ChatGPT for Excel Add-in

OpenAI ChatGPT for Excel add-in is generally available across all ChatGPT plans as of 2026. To set it up:

  1. Go to Home > Add-ins in Excel and search for ChatGPT.
  2. Select Add, then sign in with your ChatGPT account.
  3. Open ChatGPT from the ribbon and type your request in the sidebar.

Option 2: Use ChatGPT in a Chat Window

If you cannot install add-ins, paste sample data or upload the file to ChatGPT, then copy the result back into Excel. Here is what it handles well:

  • Generate formulas: Write an XLOOKUP that returns the email in Sheet2 column C for each customer ID in A2.
  • Explain complex formulas: Explain this formula step by step: [paste formula].
  • Troubleshoot errors: My VLOOKUP returns #N/A even though the value exists. Tell me what could be wrong with this spreadsheet.
  • Create VBA code: Ask ChatGPT to write macros that automate repetitive tasks, such as copying filtered rows or helping you send email from Excel. Write a VBA macro that copies every row marked “Pending” to a new sheet.
  • Analyze data: From this sales file, list customers with no orders in the last 90 days.

Remove names, account numbers, and other sensitive details before uploading files to any public chatbot.

AI Prompts for Excel by Use Case

These prompts work in Copilot, ChatGPT, or Claude. Replace the column names with your own.

Use Case

Prompt

Data analysis

"Compare average order value by customer segment and explain the biggest difference."

Financial analysis

"Calculate month-over-month change in operating expenses and flag any increase above 10%."

Reporting

"Build a summary table of revenue, cost, and profit by quarter, with a line chart."

Forecasting

"Forecast the next 12 months of sales based on the last three years of data."

Data cleaning

"Cut extra spaces, fix capitalization in the Name column, and convert text dates to real dates."

Limitations of Using AI in Excel

  • Accuracy: AI sometimes misreads data or may produce wrong numbers that look correct, so fact-checking and review are very important.
  • Licensing: Copilot's in-app features require a paid plan, and access varies by organization.
  • Changing features: Tools evolve quickly. Microsoft retired the in-cell COPILOT() function on September 14, 2026, about a year after its preview.
  • Privacy: Be careful, as uploading extremely confidential workbooks to public chatbots can expose sensitive data.
  • Scale: Very large datasets may hit row or processing limits. For data that outgrows Excel, learn what is Power BI, it summarizes your data into charts, tables, and dashboards.

Conclusion

Learning how to use AI in Excel, including determining the right tool for your plan and task. Copilot handles analysis and edits inside the workbook, ChatGPT and Claude bring other AI models into your sheets, and Python in Excel opens up forecasting and statistics. Whatever model you choose, the AI's potential relies on your data, the prompt given, and review.

AI makes Excel faster, but strong analysis skills, which are the core skills required for a data analyst, still set professionals apart. If you want to build those skills, the Data Analyst course helps learners work with data, analyze it, and turn it into business insights.

Key Takeaways

  • The tool you can use depends on your Microsoft 365 plan, so check your license before building workflows around Copilot.
  • Specific prompts that name columns and outputs get far better results than vague requests.
  • AI output can look right and still be wrong, so every number needs a manual check before it reaches a report.
  • Excel's AI features change quickly, as the retirement of the COPILOT() function shows, so rely on supported features rather than previews.

FAQs

1. How can I use AI in Excel?

You can use Copilot built into Excel, install the ChatGPT or Claude add-in, or upload your file to an AI chatbot. Each option lets you write formulas, analyze data, and create charts using plain-language prompts.

2. Does Excel have built-in AI?

Yes, Copilot is built into Excel for web, Windows, and Mac. Excel also includes smart features like Flash Fill and Forecast Sheet that work without Copilot.

3. Is Copilot in Excel free?

No, full Copilot integration inside Excel is not free—it requires a paid Microsoft 365 subscription or business Copilot add-on. Free Copilot Chat on the web can still analyze uploaded files.

4. Can ChatGPT work with Excel?

Yes, the ChatGPT for Excel add-in runs inside your workbook and is available on all ChatGPT plans, with usage limits on the free plan. You can also upload Excel files to ChatGPT for analysis.

5. What is the best AI tool for Excel?

Copilot is the best fit if your Microsoft 365 plan includes it, since it works natively with tables, charts, and PivotTables. If not, the ChatGPT for Excel add-in is the easiest alternative to start with.

Our Data Science & Business Analytics Program Duration and Fees

Data Science & Business Analytics programs typically range from a few weeks to several months, with fees varying based on program and institution.

Program NameDurationFees
AI-Powered Data Analytics: From Data to Decisions

Cohort Starts: 4 Dec, 2026

15 weeks$2,690
Oxford Programme inAI and Business Analytics

Cohort Starts: 9 Dec, 2026

12 weeks$3,390