How to Use Copilot in Excel to Write and Fix Formulas
By Anu Verma
To use Copilot in Excel to write a formula, turn your data into a table, open Copilot and describe the calculation in plain English: which columns it uses, where the answer should go and what to do with blank cells. Copilot suggests a formula, explains how it works and, in edit mode, adds it to a single cell or as a new column that calculates for every row. To fix a formula, select its cell, ask Copilot to explain it, and say what result you expected instead. You need a plan that includes Copilot in Excel: Microsoft 365 Personal ($9.99 a month), Family or Premium at home, or a Copilot licence at work. The free Copilot app does not add it to Excel.

New to the assistant built into Office? Our free short course AI in the Tools You Already Have shows where Copilot sits in Outlook, Word, Excel and Teams, and its Excel lesson is about reading the formula Copilot wrote before trusting the number.
Which plans include Copilot in Excel
These are the US list prices on Microsoft's pricing pages when we checked them on 23 September 2026. Copilot inside Excel comes with a Microsoft 365 subscription that includes it, not with the free Copilot chat app.
| Plan | Price | Copilot in Excel | Worth knowing |
|---|---|---|---|
| Copilot (free app) | $0 | Not included | Chat, web answers, images and voice, with usage limits |
| Microsoft 365 Personal | $9.99/month or $99.99/year | Included | More Copilot use than the free app |
| Microsoft 365 Family | $12.99/month or $129.99/year | Included for the subscription owner | The owner cannot share Copilot with the other members |
| Microsoft 365 Premium | $19.99/month or $199.99/year | Included | Microsoft describes its Copilot use as extensive |
| Microsoft 365 Copilot Business (add-on) | $21.00 per user/month paid yearly; $25.20 on monthly billing | Included | Needs an eligible Microsoft 365 Business plan, paid separately; $18.00 per user a month paid yearly as a promotion until 31 December 2026 |
| Microsoft 365 Business Standard with Copilot | $23.50 per user/month paid yearly; $28.20 monthly | Included | Business plans cover up to 300 users |
| Microsoft 365 Copilot (enterprise) | $30.00 per user/month paid yearly | Included | Needs a separate qualifying Microsoft 365 plan |
Our pages on Microsoft Copilot for home users and Microsoft 365 Copilot for businesses list every plan, including Business Premium with Copilot at $32.00 per user a month paid yearly.
A paid plan is not the only condition. Microsoft's Get started with Copilot in Excel page warns that Copilot may be missing because your subscription does not include it or your organisation has turned it off. The device matters too: Copilot can edit your sheet on Windows, Mac and the web, while on iPad and iPhone editing was still rolling out and Android has chat only.
Step 1: Turn the data into a table
Click anywhere in your data and press Ctrl+T, then confirm the header row. Each column now has a name Copilot can use in its formulas, and a formula column added to the table extends to every row. Keep one header row, one record per row and no blank rows in the middle. If the data arrived as a messy export with duplicates and run-together names, tidy it before asking for formulas; our guide to cleaning a messy CSV and building a PivotTable with AI covers that part.
We will use a small invoice log for every step. Column A is Invoice, B is Client, C is Amount, D is Due date and E is Paid date, which stays empty until the client pays:
| Invoice | Client | Amount | Due date | Paid date |
|---|---|---|---|---|
| INV-101 | Harbor Print | 1,200 | 5 Sep 2026 | 3 Sep 2026 |
| INV-102 | Linden Cafe | 850 | 12 Sep 2026 | 20 Sep 2026 |
| INV-103 | Harbor Print | 400 | 30 Sep 2026 | |
| INV-104 | Oak & Vine | 2,000 | 10 Oct 2026 | 10 Oct 2026 |
Work out the answers you expect from these four rows before asking for anything. You will need them in Step 3.
Step 2: Open Copilot and choose the mode
Microsoft's instructions now place the Copilot icon in the lower-right corner of the Excel window. On older builds it sits on the Home tab, and on Windows you can right-click the floating icon and choose Move to Ribbon to put it back there.
Copilot in Excel has modes. Chat mode reads the workbook and answers without changing anything, which suits questions about the data. To have Copilot type the formula into the sheet, use edit mode. If a request goes wrong partway through, the Stop button ends it.
Step 3: Describe a formula column and read what comes back
Name the columns, the new column's name and the edge cases. For the invoice log:
In this table, add a column called Days late. If Paid date is empty,
leave the cell blank. Otherwise show how many days after Due date the
invoice was paid, and show 0 if it was paid on or before the due date.
Copilot proposes a formula along these lines and explains each part:
=IF([@[Paid date]]="", "", MAX(0, [@[Paid date]]-[@[Due date]]))
[@[Paid date]] means "the Paid date in this row", which is why the same formula works all the way down. Before you keep it, compare the new column with your own answers: INV-101 should show 0 (paid two days early), INV-102 should show 8, INV-103 should be blank and INV-104 should show 0. Two rows do most of the checking. If INV-101 shows -2, the MAX part was dropped. If INV-103 shows 0, the blank rule was lost, and an unpaid invoice now looks as if it was paid on time.
Step 4: Ask for a single-cell formula
For one figure rather than a column, say which cell gets it. Microsoft's support page describes this case: Copilot suggests a formula for a precise calculation in one cell and explains how it works.
In cell J2, total the Amount of invoices that have no Paid date.
A sound answer is =SUMIFS(Invoices[Amount], Invoices[Paid date], ""), where Invoices is the table's name and the empty quotes match blank cells. By hand, only INV-103 is unpaid, so J2 should read 400. Ask for the result in a cell rather than as a sentence in the chat pane: a number in a reply has no formula behind it for you to inspect.
Step 5: Pull a value from another sheet
Copilot can also build a lookup column. Microsoft says it suggests a formula such as XLOOKUP for this. Suppose a second sheet, Clients, holds a table of the same name with Client in column A and Terms (payment terms in days) in column B: Harbor Print in row 2, Linden Cafe in row 3 and Oak & Vine in row 4.
Add a column called Terms that looks up each client's payment terms
from the Clients table.
You get something like =XLOOKUP([@Client], Clients[Client], Clients[Terms]). Harbor Print and Oak & Vine fill in. Linden Cafe returns #N/A, which takes us to fixing.
Step 6: Ask Copilot to explain and fix a formula
Select the cell with the error and ask Copilot to explain the formula in the selected cell, or name the cell in your prompt so you do not have to click it. Then add what you see and what you expected:
Explain the formula in cell G3. It returns #N/A, but Linden Cafe is
on the Clients sheet with 14-day terms. What is wrong?
The likely diagnosis is a stray space. XLOOKUP looks for an exact match unless told otherwise, and "Linden Cafe " with a trailing space is a different value. You can confirm it yourself: =LEN(Clients!A3) returns 12 for a name that should have 11 characters. Fix the source cell rather than the formula, then check that G3 shows 14.
Be wary when the fix Copilot offers wraps the formula in IFERROR with 0. That hides the missing match, and an unknown client then shows terms of 0 days. If you want a fallback, XLOOKUP's fourth argument can show text such as "Check client" instead, so the problem stays visible. This explain-first habit works on any formula, including a long one you inherited from a colleague.
Check the formula, not only the number
Microsoft's own advice is to review, edit and verify anything Copilot creates. In practice, click a cell in the third row or lower and read the formula bar. Our course lesson on Copilot in Excel explains why: a reference anchored to the first row gives a correct answer in row two and wrong answers below it, with no error to warn you.
If you do not have a Copilot plan, the same describe-then-test method works in a chat window. Our guide to using ChatGPT to write and fix an Excel formula covers what to paste and how to test the reply, since a chat assistant does not see the workbook you have open.
If Copilot is missing or greyed out
Check the plan table first, then the account: in Microsoft 365 Family only the subscription owner gets Copilot. At work, ask your IT team whether Copilot is enabled for you. If it is greyed out on a workbook saved on your computer, save the file to OneDrive or SharePoint and switch AutoSave on. Several third-party guides list that as a requirement for the desktop app, though Microsoft's current Get started page does not mention it.
Start with one column
Pick a column you would otherwise search the syntax for, describe it to Copilot, and check row three before you trust it. To get more from the assistants already in your work tools, start learning with our AI courses for work, where every lesson is free.
Frequently asked questions
Is Copilot in Excel free?
No. The free Copilot app covers chat, web answers, images and voice, but Copilot inside Excel comes with Microsoft 365 Personal at $9.99 a month, Family, Premium or a business Copilot licence such as the Copilot Business add-on at $21.00 per user a month paid yearly.
Can Copilot fix an Excel formula that returns an error?
Yes, if you give it the cell and the result you expected. Ask it to explain the formula first, because the explanation usually shows whether the formula or the data is at fault. In Step 6 the formula was fine and the client name had a trailing space.
Do I need to know Excel formulas to use Copilot?
No, but you need to know the answer a few rows should produce. Work out two or three results by hand before asking, and compare them with what Copilot's formula returns. Reading its explanation is also a quick way to learn functions such as SUMIFS and XLOOKUP.
For you
Learn to do this with AI, free
Short courses for people who aren't engineers: ChatGPT, Claude, prompting and automation. Every lesson is free, with no card.
Start a free courseFor companies
Make an AI or automation tool?
List it in the directory for $9.99, refunded in full if it isn't approved, or claim its page if it is already here.
Related guides
Use ChatGPT to Write and Fix an Excel FormulaGive ChatGPT your column layout and desired result, then check its Excel formula against a small sample and fix wrong ranges or text values.
How to Use Gemini to Write and Fix Google Sheets FormulasWrite and fix Google Sheets formulas with Gemini: the Ask Gemini panel, the Ctrl+Alt+G shortcut, prompts with real ranges, and the plans that include it.
Best AI Training Courses for Professionals Who Need ResultsCompare practical AI training courses for professionals by job, tool, and time, then choose no-code learning you can apply this week.
Tools in this piece
Drafted with AI assistance and checked automatically before publishing. Tools and prices change; check the official source before you act.
Get the next one by email
One email a week: what changed in AI for people who use it at work, and what to do about it.