# How to use AI in Microsoft Excel

*Published March 26th 2026 · Updated November 24th 2026 · Written by Timo Lagus*

This is the Markdown version of <https://autosheet.com/blog/how-to-use-ai-in-excel>.

There are three ways to use AI in Microsoft Excel: **Microsoft Copilot** built into the ribbon, an **AI add-in** from the Office store such as GPT for Excel – Autosheet, and custom code with **VBA or Office Scripts** calling an AI API. The right method depends on your license, your data volume, and which AI models you need.

This guide covers all three, with setup steps, scale limits, and costs for each.

## The three ways to use AI in Excel, compared

| Method                         | What it is                                                   | Best for                                                                | Scale limits                                                                                   | Cost model                                                                                                                                                                                                                               | Where it breaks                                                                                                                                        |
| ------------------------------ | ------------------------------------------------------------ | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Microsoft Copilot**          | Microsoft's built-in AI side pane, with Agent Mode           | Summaries, formulas, pivot tables, workbook questions                   | Conversational — one request at a time, no reliable bulk row-by-row runs                       | Standard access with a Copilot Chat-eligible Microsoft 365 business or enterprise plan, or a Personal/Family plan with AI credits; full experience with the Microsoft 365 Copilot add-on (about $30/user/month) or Microsoft 365 Premium | Tasks that write text for each row — passed 2 of 11 in [AutosheetBench](https://autosheet.com/benchmark) (November 2026 run), against 11 for Autosheet |
| **AI add-in (e.g. Autosheet)** | Office add-in with an AI agent, bulk tools, and AI functions | Bulk row-by-row processing, everyday tasks by chat, choice of AI models | Up to 1 million rows in one run, at up to 1,000 answers per minute depending on model and task | Free trial, then a subscription from $25/seat with included usage                                                                                                                                                                        | Requires installing an Excel add-in                                                                                                                    |
| **VBA / Office Scripts**       | Custom code calling an AI provider's API                     | Bespoke automations and pipelines                                       | Whatever you engineer, within API rate limits                                                  | Free platform; you pay the AI provider per token                                                                                                                                                                                         | Requires coding, API key management, and ongoing maintenance                                                                                           |

The rest of this guide walks through each method: what it does well, what it costs, and where it stops being the right tool.

## How to use Microsoft Copilot in Excel

Copilot is Microsoft's own AI, built into the Excel ribbon — no install needed. Open the **Copilot** pane, then ask in plain language: summarize this table, suggest a formula, build a pivot table, highlight outliers. Agent Mode lets it edit the workbook directly rather than just suggesting.

Access comes in two tiers. Work and school accounts on a Copilot Chat-eligible Microsoft 365 or Office 365 business or enterprise plan get standard access, as do individuals on a Microsoft 365 Personal or Family plan with AI credits; standard access is subject to service capacity and may be restricted at peak times. The Microsoft 365 Copilot add-on license (about $30 per user per month) for work and school accounts, or Microsoft 365 Premium for individuals, unlocks the full experience: priority access, advanced reasoning, and a choice of Claude or GPT models.

**Where it shines:** zero setup, workbook-level questions, quick analysis inside files you already have open.

**Where it breaks:** bulk row-by-row work that writes text. In [AutosheetBench](https://autosheet.com/benchmark), our benchmark of 187 everyday spreadsheet tasks (November 2026 run), Copilot in Excel passed every formula and pivot table task, but only 2 of the 11 tasks that write text for each row, such as translations and summaries: its answers fell back to templates, and translations ran into quotas. It averaged 44 seconds per task, against 27 seconds for Autosheet. See the full comparison: [Autosheet vs. Copilot in Excel](https://autosheet.com/blog/gpt-for-excel-vs-copilot-in-excel).

**A note on the COPILOT() function.** Excel briefly had a native `=COPILOT()` formula for per-cell AI tasks, but [Microsoft has announced](https://support.microsoft.com/en-us/excel/copilot-function) it will no longer be available starting **September 14, 2026**, pointing users to the Copilot side pane instead. Don't build workflows on it — for formula-driven AI in Excel, add-in functions like `=GPT()` are the durable alternative.

## How to use ChatGPT, Claude, and other AI models in Excel (add-ins)

Office add-ins connect Excel to AI models beyond Copilot — the latest ChatGPT and Claude models — and are built for work at a scale the native features don't handle.

For step-by-step setup, see [how to connect ChatGPT to Microsoft Excel](https://autosheet.com/how-to-connect-chatgpt-to-microsoft-excel) and [how to connect Claude to Microsoft Excel](https://autosheet.com/how-to-connect-claude-to-microsoft-excel).

[GPT for Excel – Autosheet](https://pages.store.office.com/addinsinstallpage.aspx?assetid=WA200005502) is built around an **AI agent**: you describe what you need in plain language, and it reads your data, drafts a plan, and executes it directly in your workbook — from writing formulas to processing up to 1 million rows in one run. In [AutosheetBench](https://autosheet.com/benchmark) (187 tasks, November 2026 run), it passed 97.3% of the tasks with Opus 5.5, ahead of Claude in Excel (91.4%), ChatGPT in Excel (86.1%) and Copilot (81.8%), and it was the fastest, at 27 seconds per task on average. It was also the only one to pass all 11 tasks that write text for each row, such as translating a catalog or generating 1,000 sample CRM records. It keeps pace on cheaper models too: with Haiku 5.5, it matched Claude in Excel on Opus 5.5 (91.4%) in half the time. We build Autosheet, so the tasks, the scorer and every run are public.

[AI Agent in Excel: Demo Speedrun](https://www.youtube.com/watch?v=Em4fSyo99QI)

### How to install Autosheet

1. Go to the [GPT for Excel – Autosheet installation page](https://pages.store.office.com/addinsinstallpage.aspx?assetid=WA200005502) on the Microsoft Marketplace.
2. Click **Open in Excel** and confirm any permissions.

![Install the Autosheet add-in](https://autosheet.com/images/blog/gpt-for-excel-open.webp)

Once installed, open it from any workbook by clicking **GPT for Excel – Autosheet** in the **Home** tab (or **Home > Add-ins > My Add-ins**). The sidebar appears on the right. No API key is required, and the add-in comes with free starting credits.

![Autosheet sidebar with the Agent](https://autosheet.com/images/blog/gpt-for-excel-sidebar-autosheet.webp)

### How to use the AI agent

The **Agent** is the chat interface for spreadsheet work. Describe what you need — `Fill out this table`, `Translate column B to French`, `Fix the formula in H2` — and the Agent analyzes your request, drafts a plan, and executes it. You can follow its progress live in the sidebar.

![Autosheet workflow](https://autosheet.com/images/blog/gpt-for-excel-agent-workflow-autosheet.webp)

The fastest way to see it in action is a built-in example:

1. In the **Agent** tab, click **Examples** and select **Market research**.
2. Autosheet creates a sheet with sample data — company names and empty columns.
3. Click send on the prefilled prompt: `Fill out this table`. The Agent searches the web for each company and fills in the missing information, column by column.

[Video](https://autosheet.com/videos/gpt-for-excel-agent-market-research-autosheet.webm)

### What you can do with an AI add-in

**Everyday spreadsheet tasks** — the Agent writes and fixes formulas, formats and standardizes messy data, and builds charts and pivot tables from a plain-language description.

![Agent generates, inserts, and fills a formula in Microsoft Excel](https://autosheet.com/images/blog/excel-agent-use-case-write-formulas-autosheet.webp)

**Bulk row-by-row processing** — the work Copilot doesn't do at scale:

- **Translate at scale.** Product descriptions, customer tickets, any column, into one or more languages, with glossary support.
- **Generate content.** SEO product descriptions, ad copy, or summaries — a unique result for every row from a single prompt.
- **Enrich data.** The Agent searches the web to fill in missing company details, contact data, or market intelligence.
- **Categorize and score.** Classify support tickets, tag survey responses, or qualify leads against your criteria.

![Agent translates source text into multiple target languages in Microsoft Excel](https://autosheet.com/images/blog/excel-agent-use-case-translate-autosheet.webp)

Beyond the Agent, Autosheet also includes [bulk tools](https://autosheet.com/docs/gpt-for-excel/bulk-tools/get-started) (row-by-row processing with manual control over prompt, model, and settings) and [GPT functions](https://autosheet.com/docs/gpt-for-excel/gpt-functions/get-started) (custom formulas like `=GPT()` for reactive, formula-driven workflows — with no scheduled retirement). Start with the Agent; reach for the others when you need finer control.

### What an AI add-in costs

Autosheet comes with a free trial — free starting credits, no card required. After the trial, it's a monthly subscription with included usage (from $25 per seat); when a seat's quota runs out, you can buy shared extra-usage credits. On Business and Enterprise plans you can also bring your own API key and pay your provider directly, plus a platform fee of $1 per 1,000 requests. [See pricing](https://autosheet.com/pricing).

## How to use VBA or Office Scripts with an AI API in Excel

If you can code, you can call any AI provider's API from Excel yourself. In desktop Excel, VBA can send HTTP requests to an AI API with your own key. In Excel on the web and Microsoft 365, Office Scripts (TypeScript) does the same and pairs with Power Automate for scheduled flows.

This is the right method when you're building a bespoke pipeline — recurring enrichment jobs, custom integrations, logic no off-the-shelf tool covers. The platform is free; you pay your AI provider per token.

The trade-off is that you own an engineering project: API key storage, rate-limit handling, retries, and maintenance every time the API or your requirements change. For standard bulk work, an add-in gets you the same result without the code. (For background on macros themselves, see [what Excel macros are and how to use them](https://autosheet.com/blog/what-are-excel-macros-how-to-use-them).)

## Which method should you use?

- **You have a Copilot license and want quick analysis** → Microsoft Copilot. It's already in the ribbon.
- **You want AI inside formulas** → an add-in's AI functions, like `=GPT()`. Excel's native COPILOT() function retires on September 14, 2026.
- **You process data at scale, or need models beyond Copilot** → an add-in. Autosheet handles up to 1 million rows in one run with the latest ChatGPT and Claude models, and it scored highest and ran fastest in AutosheetBench.
- **You're building a custom pipeline and can code** → VBA or Office Scripts plus an AI API.

These methods aren't exclusive: plenty of teams use Copilot for ad-hoc questions and an add-in for production bulk work.

## Frequently asked questions

### Does Excel have built-in AI?

Yes. Microsoft Copilot sits in the Excel ribbon with no install needed — it summarizes data, writes formulas, builds pivot tables, and can edit your workbook in Agent Mode. Copilot Chat-eligible Microsoft 365 business and enterprise plans, and Personal or Family plans with AI credits, include standard access; the Microsoft 365 Copilot add-on license (about $30 per user per month) or Microsoft 365 Premium unlocks the full experience, including priority access and model choice.

### Is the COPILOT() function going away?

Yes. Microsoft has announced that the COPILOT function will no longer be available starting September 14, 2026, and recommends the Copilot side pane instead. While it lasts, it is limited to 100 calculations per 10 minutes and cannot access workbook data beyond the cells you reference. Add-in AI functions like `=GPT()` are the durable formula-based alternative.

### How do I add ChatGPT to Excel?

Install an AI add-in. [GPT for Excel – Autosheet](https://pages.store.office.com/addinsinstallpage.aspx?assetid=WA200005502) gives you the latest ChatGPT and Claude models through an AI agent you instruct in plain language, plus bulk tools and custom functions like `=GPT()`. Open it from the **Home** tab after installing from the Microsoft Marketplace.

### Can AI process thousands of rows in Excel?

Yes, but results vary widely. Copilot, Claude in Excel and ChatGPT in Excel all fill columns row by row, yet in [AutosheetBench](https://autosheet.com/benchmark), where bulk tasks fill up to 1,000 rows, they passed at most 4 of the 11 tasks that write text for each row, against all 11 for Autosheet. Autosheet processes up to 1 million rows in one run — translating, categorizing, enriching, or generating a unique result per row — at up to 1,000 answers per minute depending on model and task.

### What is the fastest AI for Excel?

In [AutosheetBench](https://autosheet.com/benchmark) (187 tasks, November 2026 run), Autosheet averaged 27 seconds per task with Opus 5.5, against 44 seconds for Microsoft Copilot, 55 seconds for Claude in Excel and 58 seconds for ChatGPT in Excel, while passing the most tasks (97.3%). With Sonnet 5.5, Autosheet averaged 16 seconds and still passed 91.4%.

### Is Autosheet free?

Autosheet comes with a free trial: it's free to install, with free starting credits and no card required. After the trial, usage is covered by a monthly subscription with included usage (from $25 per seat), plus shared extra-usage credits when you need more.

## Get started

1. [Install GPT for Excel – Autosheet](https://pages.store.office.com/addinsinstallpage.aspx?assetid=WA200005502) from the Microsoft Marketplace. No API key required.
2. Open the Agent from the **Home** tab.
3. Describe what you need and let the AI do the work.

### Resources

- [Documentation](https://autosheet.com/docs/gpt-for-excel)
- [Video tutorials](https://www.youtube.com/playlist?list=PLI1hJP_Ps2kNRDky7ROoGHxOFGu6yWbjY)
- [Example use cases](https://autosheet.com/docs/resources/guides/agent-use-cases)
- [Product page](https://autosheet.com/gpt-for-excel)
