Skip to content

Excel AI: How to Use Copilot and AI Add-Ins

Published Updated

Use Copilot in Excel to ask questions about your data, draft formulas or build a chart in the workbook. If your organisation allows it, an AI add-in such as Claude for Excel can also work on the sheet. Start on a copy and check the result against the original numbers before you share it.

Ways to Use AI in Excel

The Copilot pane is the place to start if your work account already has access. Use chat mode for a quick question about a worksheet. Use editing mode, formerly called Agent Mode, when you want Copilot to add a formula, clean up a table or build a chart in the workbook. Microsoft retired the separate COPILOT worksheet function.

Claude for Excel is an add-in you can use to trace formulas across sheets, adjust assumptions or build a model. For staff signing in with Anthropic, the add-in is available on Claude Pro, Max, Team and Enterprise plans. Anthropic’s setup instructions show how to enable the add-in and sign in.

Install Claude for Microsoft 365 from Microsoft AppSource if your organisation allows it. Open a workbook copy, activate the add-in and sign in. Ask Claude which cells feed a total, then check the cell references it cites against the formula bar.

A spreadsheet upload to an approved chat assistant suits one-off analysis on a copy, such as finding unusual stock counts. It works from the file you provide. For a repeated calculation, ask for a standard Excel formula, check it once against known cases and put it in a table column you can reuse. Google Sheets users can use Gemini in Sheets for similar tasks on an eligible plan.

What You Need Before You Start

To follow these steps, use Excel on Windows, Mac or the web with an eligible Microsoft 365 licence. Save an .xlsx, .xlsb or .xlsm workbook to OneDrive or SharePoint. Copilot cannot open Strict Open XML workbooks.

Use an Excel table with a header for each column. Copilot can also work with a supported table-like range. If the Copilot button is missing, check the licence on the work account you signed in with and ask your administrator about your organisation’s Copilot settings.

Your administrator must allow third-party add-ins before staff can install them. If staff installation is blocked, IT can deploy an approved add-in from the Microsoft 365 admin centre.

Check your organisation’s rules for what each AI tool may receive before you open a workbook with staff, customer or commercially sensitive data. While you’re learning, practise on a workbook copy with made-up values.

How to Analyse Data With Copilot in Excel

To analyse a test workbook, start with a sales range with the columns Order ID, Region and Net Sales. For a small example, use three orders. Give the first two orders a West region and sales of $120 and $80. Give the third order an East region and sales of $300.

Use the relevant prompt below for the sample workbook. If you use your own data, substitute your table and column names.

  • “In the Sales table, add up Net Sales by Region and report the total for each region.”
  • “In the Sales table, list the Order ID for any row where Net Sales exceeds $250. Show the amount for each order you list.”
  • “Create a column chart on a new sheet showing total Net Sales by Region from the Sales table.”
  1. Open your workbook copy. Check that the sales sheet shows the three column headers and the data rows beneath them.
  2. Format your sales range as a table. Select the range and choose Insert, then Table. Confirm that the range includes the headers. Give the table the name Sales so you can identify it in your prompt.
  3. Open Copilot from the icon in the lower-right corner of Excel. Look for the prompt field in the pane. Select chat mode for a written answer or allow editing if you want a new sheet or chart.
  4. Enter your chosen prompt in the Copilot pane.
  5. Review the response. In chat mode, look for a written answer or a summary table in the pane. With editing allowed, check the new sheet and the source values behind its chart. Ask Copilot to show which rows it used and explain its steps or formula.
  6. Recalculate a result from the original rows. The two West orders total $200, so the West summary or chart value must match. If it differs, check the source range and any filters before using the result.

How to Write and Explain Formulas With AI

To get a usable Excel formula, tell Copilot which columns to read, what to calculate and how to handle exceptions. Suppose B2 contains planned cost and C2 contains actual cost. Paste this request into the Copilot pane for the sample worksheet.

Give me an Excel formula for D2 that subtracts the planned cost in B2 from the actual cost in C2. Return a blank if either cell is blank. Explain the result when planned cost is 100 and actual cost is 125.

A formula that fits is =IF(OR(B2="",C2=""),"",C2-B2). With the sample values, D2 should show 25. Clear B2 to check that D2 goes blank. Then enter zero in B2 and check that D2 shows 125.

Before changing an inherited formula, give Copilot the cell address and ask what each reference does. Ask it to walk through one known row, including what happens when a referenced cell is blank or contains an error. Compare the explanation with the formula bar and the actual values it references.

The retired COPILOT function let you apply an AI prompt to a range, for example to classify each row of customer feedback. An older workbook can still display saved results. When a cell containing that function recalculates, it returns #NAME?. To repeat the classification, ask Copilot in the pane to write a label for each row into a new column, then review the labels. Microsoft’s notes on the retired function show how to move old prompts to the pane.

Checking AI Output Before You Rely on It

AI can write a valid formula for the wrong range or interpret “sales” as gross sales when you need net sales. The result can look reasonable because Excel calculates the formula it receives. A written summary can also give a confident explanation for a trend that the data only shows as a change.

  • Spot-check the first and last rows and a row with a blank or unusual value.
  • Reconcile totals against a known figure from the same period and source. Check that the formula or chart covers the full table and that any filters match the report.
  • Compare a summary’s claims with the underlying rows. If the summary gives a cause, look for evidence of that cause before you repeat it.

An AI assistant can interpret the same prompt differently or choose a different way to analyse it. For an audit trail, save the prompt, workbook version, source range, final formula or output and the date and name of the person who checked it. A person must review the result before it goes into a report others rely on or informs a decision, such as paying an invoice or changing a forecast.

Keeping Spreadsheet Data Safe

For organisations covered by the Privacy Act 1988, privacy obligations apply to personal information entered into an AI tool from a spreadsheet. The Office of the Australian Information Commissioner (OAIC) advises organisations against entering personal information into publicly available generative AI tools. OAIC guidance on using commercial AI products

Microsoft says prompts, retrieved data and responses in Microsoft 365 Copilot are handled under the organisation’s Microsoft 365 data protection commitments. Web search and added agents have their own terms or data handling rules. A third-party add-in can send workbook content to a different service. For example, if you sign in to Claude for Excel with a Claude account, the add-in sends Anthropic the workbook content it reads and any files you attach. Microsoft’s Copilot privacy documentation

Check the approved tools list for the specific add-in and what your organisation permits you to share with it. Read the add-in’s terms for what it can access, where it sends workbook data and how long the provider keeps it.

When Spreadsheet Work Should Become an Automated Workflow

Move a spreadsheet task to workflow automation when the same report starts with fresh exports every week or several people copy the same records between systems. For example, a weekly sales report can pull orders from the source system, apply the agreed rules for returns and put the result in the team’s reporting folder. A person reviews exceptions while the routine report runs on schedule.

Embeddings builds and runs workflows like this in the software your team already uses. If you’re deciding where to start, pick one report and document its source system, the rules people apply by hand and the exceptions a person must approve.