How to Write Excel Formulas With Copilot (Step by Step, and What It Needs)
Write Excel formulas with Copilot: open the Copilot pane, describe the result in plain words, then check the formula. Plans needed, prompts and limits.
Quick answer: Open the Copilot pane in Excel, describe the result you want in plain words (for example, "Calculate the percentage increase from cell A1 to cell B1"), read the formula and its explanation, then accept it. Free? Not on every plan. Time: about 2 minutes per formula.
Microsoft's support page says Copilot can suggest a formula for a single cell and explain how it works. It can also add whole formula columns and rows, build lookups and explain formulas you already have.
What do you need before you start?
You need an Excel version and a plan that include Copilot. Microsoft's Copilot in Excel FAQ lists four routes, and you need one of them:
- A Microsoft 365 Personal or Family subscription with an AI credits plan.
- A Microsoft 365 Premium subscription.
- A commercial Microsoft Copilot subscription.
- A Copilot Chat-eligible Microsoft 365 or Office 365 business or enterprise subscription.
To check which you have, go to your Microsoft 365 account settings. Inside Excel, a label tells you your level of access. "M365 Copilot (Premium)" means you have the add-on licence with priority access. "M365 Copilot (Basic)" means you have standard access without the add-on.
Two more checks. Save your file as a normal .xlsx workbook, because the FAQ names Strict Open XML Spreadsheet as an unsupported format. And set Calculation Options to Automatic, because Microsoft says Copilot editing is only supported in that mode.
How do you write an Excel formula with Copilot? (Method 1: the Copilot pane)
Open the Copilot pane, describe what you want, and review the formula before you keep it. This is the main method, and it works on Excel for Microsoft 365 (Windows and Mac) and Excel for the web.
- Open your workbook and click the cell where the result should go.
- Select the Copilot icon in the lower-right corner of Excel. (Microsoft Support)
- In the Copilot pane, type what you want in plain words. Name the columns involved. Microsoft's tip is that naming the columns gives more accurate results.
- Read the formula Copilot suggests and the explanation of how it works.
- Accept the formula. Verify this step: the exact button label (for example, an insert option) may differ by Excel version.
- Test the result on two or three rows where you already know the right answer.
Microsoft's own example prompts for single cells are:
- "Calculate the percentage increase from cell A1 to cell B1."
- "Extract the first name from a full name in cell C1."
- "Calculate the difference between the values in cell D1 and E1."
For a whole column, Microsoft's formula column examples are:
- "Add a column that calculates the profit margin for each product."
- "Add a column that shows each region's percentage of total sales."
- "Add a row that calculates the average revenue, ROI, and sales."
For lookups, ask something like "Create a column that looks up the quantity in stock for each item from the inventory sheet." Microsoft says Copilot recommends a formula such as XLOOKUP and adds a new column for the results.
How do you get Copilot to explain a formula you already have?
Select the cell that holds the formula, then ask Copilot to explain it. Microsoft lists two prompts: "Explain the formula in the selected cell." and "Explain the formula in cell D3." (Microsoft Support)
This is useful when you inherit a spreadsheet and cannot tell what a long formula does. It also works as a check on your own work: ask Copilot to explain a formula you just wrote and see if the description matches your intent.
Method 2: How do you use formula suggestions without opening the pane?
Type = in a cell and let Copilot offer a full formula. Microsoft's formula suggestions page describes two features that work as you type:
- Formula completion. When you type
=, Copilot suggests a complete formula based on your headers, nearby cells and tables. It shows a result preview and a short explanation, and the suggestion updates as you keep typing. - Formula by example. Type a few example values that follow a pattern, such as a first name pulled from a full name or a ZIP code pulled from an address. Copilot suggests one formula to fill the rest of the column. It inserts a formula, not pasted values, so results update when your data changes.
You can switch each one off. In Excel for Windows, select File > Options, choose Copilot in the Excel Options dialog, clear the check box for the feature, and select OK. In Excel for the web, select File > Options (...) > Copilot Settings and clear the check box. The two settings are named "Show Copilot suggestions for completing formulas" and "Show Copilot suggestions for formulas based on patterns in your content."
Which method should you choose?
Use the pane for anything you can describe in a sentence, and suggestions for quick edits while you type. The table below summarises the options on this page.
| Method | Cost | Difficulty | Limits | Best for |
|---|---|---|---|---|
| Copilot pane (single cell) | Needs an eligible plan | Easy | Check the output | One-off calculations |
| Copilot pane (formula column or row) | Needs an eligible plan | Easy | Check the output | Adding a calculated column across a list |
| Lookup column | Needs an eligible plan | Easy | Needs another sheet or table to look up | Matching items across sheets |
Formula completion (type =) | Needs an eligible plan | Easiest | Can be switched off in Options | Finishing a formula you started |
| Formula by example | Needs an eligible plan | Easy | Needs a few clear example values | Splitting or extracting text |
=COPILOT() function | Retired | Not available | Removed on 14 September 2026 | Nothing: use the pane |
What's free and what costs money?
Copilot in Excel is tied to a plan, as of 13 October 2026. The four routes above are Microsoft's own list. Microsoft does not describe any of them as a free tier on the FAQ page, and the page gives no prices, so check Microsoft's pricing for your plan before you buy.
The model choice also depends on plan. Microsoft says using the model switcher requires a commercial Microsoft Copilot subscription or a Microsoft 365 Premium subscription. It says Copilot in Excel supports Claude models from Anthropic and GPT models from OpenAI for editing workbooks. For enterprise customers, the admin must enable Anthropic as a Microsoft sub-processor before anyone can use Claude. The model resets to the default when you close Excel.
If you only need free formula help, you can still write formulas yourself, and Excel's built-in function help stays available. Copilot is a convenience, not a requirement.
What can go wrong, and how do you fix it?
Most problems come from licence, file format or settings. Work through this list in order:
- No Copilot button. Microsoft says Copilot has requirements for app version, licence, network and privacy settings. Update Excel, confirm your plan, and ask your administrator if the account is a work account.
- Copilot will not edit your file. Switch Calculation Options to Automatic, and save the file as .xlsx if it is in an unsupported format.
- SharePoint file will not work. If your organisation requires check-out for editing, Microsoft says Copilot in Excel on Windows or Mac won't work for files from that site. Use Excel for the web instead.
- The formula gives a wrong answer. Microsoft says Copilot can make mistakes or misinterpret information. Re-ask with column names and a clear example, then test on known rows.
- A
=COPILOT()cell shows #NAME?. The function was removed on 14 September 2026. Cached results remain, but a recalculation returns#NAME?. Replace it with a request in the Copilot pane, for example "Summarize the feedback in A2:A20." - Non-English prompts behave oddly. Microsoft says Copilot was trained on sources that are mostly in English and may do less well in other languages.
Is this allowed?
Yes, with a few cautions about data and sharing. Copilot in Excel is a Microsoft Copilot Chat tool and cannot be turned off independently, so on a work account your administrator's Copilot Chat settings apply. When you save Copilot's changes, anyone with access to the file can see them, including people in a co-authoring session. You can undo changes or view prior versions to revert.
Microsoft also advises avoiding Copilot for decisions in sensitive areas such as finance, legal or medical topics. For a tax return, a loan model or patient data, write and review the formulas yourself.
If you also work in Google Sheets, the same habit applies there: let a tool draft, then check it. Our guides on sending emails from Google Sheets, logging Gmail into Google Sheets and getting Sheets alerts on WhatsApp cover free scripted options.
What's still unclear?
Two things are not settled in Microsoft's public pages as of 13 October 2026.
- Exact button labels. The support pages name the Copilot icon but not every button in the pane, so labels may differ between Windows, Mac and the web.
- How accurate it is. Microsoft gives no accuracy figure. The weakest point of the whole approach is that Copilot can sound confident and still be wrong, which is why the test-on-known-rows step matters.
Last checked: 13 October 2026.
Frequently asked questions
Can Copilot write formulas in Excel for free?
Not on every plan. Microsoft's support page says Copilot in Excel requires a Microsoft 365 Personal or Family subscription with an AI credits plan, a Microsoft 365 Premium subscription, a commercial Microsoft Copilot subscription, or a Copilot Chat-eligible business or enterprise subscription. Check your account settings to see which applies to you.
What can I ask Copilot to do with formulas?
Microsoft's examples include calculating a percentage increase between two cells, extracting a first name from a full name, adding a profit margin column, creating a lookup column from another sheet, and explaining an existing formula. Naming the columns you care about makes the result more accurate, according to Microsoft.
Does the =COPILOT() function still work?
No. Microsoft's support page says that starting September 14, 2026, the COPILOT function is no longer available in Excel. Results already calculated stay as cached values, but a cell that recalculates returns a #NAME? error. Microsoft points users to the Copilot pane instead.
Why is the Copilot button missing in my Excel?
Microsoft says Copilot has specific requirements for app version, licence, network and privacy settings. Another cause is an unsupported file format such as Strict Open XML Spreadsheet, so save the workbook as .xlsx. If you use a work account, your administrator's Copilot Chat settings also apply.
Is it safe to trust a formula Copilot writes?
Treat it as a draft. Microsoft says Copilot can make mistakes, misinterpret information or produce inaccurate results, and advises against relying on it for sensitive finance, legal or medical decisions. Check the explanation Copilot gives, then test the formula on a few rows where you know the answer.
Can Copilot explain a formula someone else wrote?
Yes. Select the cell that contains the formula and ask Copilot to explain the formula in the selected cell, or name another cell, such as D3. Microsoft lists both prompts as examples. This is a quick way to learn what an inherited spreadsheet is doing.
Sources
- Generate single-cell formulas with Copilot in Excel, Microsoft Support (2026-10-13)
- Get data insights with Copilot in Excel (formula columns and rows), Microsoft Support (2026-10-13)
- What is Copilot in Excel? (FAQ), Microsoft Support (2026-10-13)
- Turn Copilot formula suggestions on or off in Excel, Microsoft Support (2026-10-13)
- COPILOT Function, Microsoft Support (2026-10-13)