Best AI tools for writing and explaining Excel formulas

Choose Copilot, ChatGPT or Claude according to workbook access, then check business logic, local syntax and copying with a worked reader exercise.

An inventory manager checks a spreadsheet formula

For an existing workbook, choose an accessible workflow first, rather than assuming one assistant is more accurate. Use Microsoft Copilot in Excel if you want to work inside the workbook with that assistant already available; consider ChatGPT for Excel if its add-in is permitted; choose Claude’s conversation-based file workflow if supplying a copy and receiving a workbook suits you. With all three, require an explained formula that fits your installation and can be checked row by row.

This selection is not based on product testing or a reliability ranking. A useful answer must meet three separate requirements: express the business rule, be accepted by Excel and remain correct when copied. A convincing explanation cannot substitute for any of those checks.

Three choices based on need and access

Choice and needInput to prepareLimitation to anticipateDecisive check
Microsoft Copilot in Excel: work inside the workbookTarget cell, ranges and business ruleCheck account and organization accessInspect the formula and changed cells
ChatGPT: work inside Excel through an approved add-inWorkbook context and intended referencesDo not confuse the add-in with an attachment in a conversationCheck where the formula was written and how it copies
Claude: work on a copy supplied in the conversationFile and return instructionsInspect the downloaded workbook before using itCompare formulas, references and expected results

Microsoft Copilot: stay inside the workbook

The Copilot in Excel FAQ documents editing, planning and chatting on Windows, Mac and the web. Editing can change formulas; access depends on factors including license, application and organization configuration. An additional paid Copilot add-on is not always required. Check your actual account permissions before choosing this route.

Use the pane, not the former cell function: Microsoft says =COPILOT was retired on September 14, 2026. Recalculation returns #NAME?, although cached values may remain; this does not mean the pane has disappeared. Microsoft’s usage tips also state that AutoSave can be on or off and direct edits can be undone, with previous versions providing another way back. Our Microsoft Copilot profile covers this product, which is distinct from GitHub Copilot.

ChatGPT: distinguish two entry points

ChatGPT for Excel provides an integrated pane for creating, editing and explaining workbooks, formulas and references. Installation and sign-in are required, and administrators can control access. The documentation covers Free and paid plans without promising unlimited usage.

This is not the same workflow as attaching a file in a ChatGPT conversation. Before giving instructions, identify which route you are using: are you working inside the open workbook, or requesting an answer based on an attachment? Do not automatically transfer the add-in’s documented capabilities to the other route. Most importantly, this distinction prevents you from assuming that a suggested formula has already been entered in the correct cell.

Claude: specify how the file should be returned

Claude creates downloadable Excel workbooks with formulas from attached files; organisation settings can disable this capability.

Choose this route if working with a copy is acceptable. Specify the worksheet name, the destination cell and the elements that must remain unchanged. The main tradeoff is the handover: you must inspect the returned workbook, not just the explanation displayed in the conversation.

For cleaning a file, handling duplicates and interpreting missing amounts before calculation, see our guide to AI tools for analysing Excel and CSV data.

Write the business rule before the formula

Start with a sentence that does not depend on syntax: “Add the amounts from rows whose region and status match the two criteria cells.” Both conditions must hold on the same row. A formula that adds an entire region answers a different question, even when its result looks plausible.

Then request four things: the formula, the role of each range, the contributing rows and the behavior when copied. The SUMIFS documentation puts the sum range first, followed by criteria-range and criterion pairs; the ranges must have matching dimensions. The documented French function name is SOMME.SI.ENS. These checkpoints help you inspect the proposal rather than treating it as a black box.

Do not infer formula syntax from the language of your conversation. According to Microsoft’s guidance on broken formulas, the argument separator depends on system locale and Excel settings; commas and semicolons are common, while handling can differ in Excel for the web. Confirm the accepted function language and separator separately.

A proposed five-minute exercise to check the formula

This small, synthetic exercise is for you to try. The results below are a mathematical answer key supplied by QAILT, not observed software outputs. Enter the following data in A1:C5 on a working sheet. All four amounts must be numeric.

RegionAmountStatus
North120Paid
South80Paid
North50Pending
North30Paid

Set E1=Region, F1=Status and G1=Total. Enter E2=North and F2=Paid, followed by E3=South and F3=Paid. Leave G2 and G3 available for the formulas.

Suggest a formula in G2 that adds Amount when Region matches E2 and Status matches F2. Explain every range and reference, identify which rows contribute and why, and explain copying to G3. Confirm the function language and argument separator before proposing syntax. Do not change the source data.

  1. Check the logic. Only rows 2 and 5 contribute to North/Paid. Row 4 belongs to North, but its Pending status excludes it.
  2. Check local syntax. Compare the answer with the two configurations below without assuming they cover every installation.
  3. Copy G2 to G3. Inspect both the resulting formula and its total.
  4. Compare against the answer key. If a result differs, first identify any row incorrectly included or excluded.

For English function names with comma separators:

=SUMIFS($B$2:$B$5,$A$2:$A$5,E2,$C$2:$C$5,F2)

For French function names with semicolon separators:

=SOMME.SI.ENS($B$2:$B$5;$A$2:$A$5;E2;$C$2:$C$5;F2)

B2:B5 contains the amounts; A2:A5 and C2:C5 supply the two conditions. The dollar signs keep the ranges fixed. E2 and F2 remain movable: when copied down to G3, they become E3 and F3. This follows the distinction between relative and absolute references.

These are two example configurations, not universal rules attached to French and English articles. The prompt can be written in either language while the workbook requires a different combination. Confirm what the actual installation accepts before deciding that a proposed formula is wrong.

Interpret differences before making corrections

The expected answers are G2=150, from 120+30, and G3=80. Secondary checks are all North=200, all Paid=230 and all rows=280. These answer different questions; none should replace the total with both conditions.

A North/Paid result of 200 signals the missing Status condition in this exercise: the 50 from North/Pending has been included. This is a logical error, not a reason to add error handling. A formula that Excel can read may still answer the wrong question.

If G2 is correct but G3 is wrong, inspect the references after copying. If Excel rejects the formula, inspect function names and separators. If the calculation remains inconsistent, also check that amounts are numeric. Do not routinely hide these problems with a wrapper that replaces errors with zero: doing so would make the visible output less useful for diagnosis.

Finally, choose the workflow that lets you repeat these checks without ambiguity. Access to a suitable tool matters, but the decision becomes defensible only when you can explain the condition, identify the included rows and predict the result after copying. That is a more useful selection criterion than an unsupported claim that one assistant always writes better formulas.

Put it into practice

Related tools