The result: To turn English into an Excel formula, give the AI your exact ranges, column meanings, allowed values and Excel version. Then test its answer on three rows: a normal row, a blank row and a zero row.
A filled column is not a correct column. AI formula tools are good at producing something that looks right. They are just as calm when it is subtly wrong, so the checking matters more than the asking.
What do you get from this workflow?
You get one formula you can paste, plus proof that it survives your real data. Here is the before and after for a late-shipment flag:
| Formula | Blank ship date shows | |
|---|---|---|
| Before (first AI answer) | =IF(C2-A2>5, "Late", "On Time") | "On Time" (wrong) |
| After (three-row test) | =IF(C2="","Not shipped", IF(C2-A2>5, "Late", "On Time")) | "Not shipped" |
Any of the tools below can write it. The test works the same in all of them.
How do you ask for an Excel formula in plain English?
Describe the data the way the sheet sees it, not the goal the way your manager said it. A vague ask forces the AI to guess ranges and values.

The vague ask "How much did we get paid?" gets a guess. The workable ask names the ranges and values, and gets =SUMIFS(D2:D100, B2:B100, "Paid").
Copy this template and fill the brackets:
In [sheet name], [A2:A100] is [what it holds], [B2:B100] is [what it holds].
Column [B] only contains these values: [Paid, Pending, Refunded] (exact capitalization).
Write one formula for [cell or column] that [what you want].
I'm on [Excel for Microsoft 365 / Excel 2019 / Google Sheets].
Known quirks: [blanks, numbers stored as text, trailing spaces, merged cells].
- Name columns by letter and range. Write "B2:B100", not "the status column".
- List the allowed values. Include capitalization, so SUMIFS criteria match.
- Say where the answer goes. One summary cell, or a new column copied down.
- State your version. XLOOKUP is not available in Excel 2016 and Excel 2019. TEXTBEFORE needs Excel for Microsoft 365 or Excel 2024. An AI that assumes the newest Excel hands you a #NAME? error.
- Flag the messy data. Mention blanks, numbers stored as text and trailing spaces up front. A chat window cannot see your sheet.
Which tool should turn English into a formula?
Pick the tool that lives where you already work. Microsoft and Anthropic both tell you to check what it writes.
| Tool | Best for | Plan or price (checked Oct 21, 2026) |
|---|---|---|
| Copilot in Excel | Edits inside your workbook, with a plan you approve first | Check vendor page |
| Claude for Excel | An add-in that works on your trusted workbooks | Pro, Max, Team and Enterprise plans |
| ChatGPT for Excel | ChatGPT plan holders who want Excel help in the same account | Listed across ChatGPT plans, with usage limits; check OpenAI's help page |
| Better Analyst (formerly Formula Bot) | Formulas as the first step of recurring reports | Free workspace, no credit card; Starter $20 a month; check vendor page for free-tier limits |
| Gemini in Sheets | Google Sheets users fixing formula errors | Business Standard and Plus, Enterprise Standard and Plus, Google AI Pro and Ultra, Google AI Pro for Education, AI Expanded Access |
- Copilot in Excel offers three modes: edit, plan or chat. In plan mode, Copilot "generates a plan so you can review and confirm the approach before starting." You can switch models, including Anthropic and OpenAI models; on a commercial subscription, your admin must allow Anthropic models. Microsoft retired the in-cell =COPILOT preview function on September 14, 2026, so use the side pane.
- Claude for Excel comes with a warning worth keeping: files from external sources "can contain hidden instructions that manipulate the add-in." Use it only on spreadsheets you trust. It also warns you before overwriting existing data.
- ChatGPT for Excel: OpenAI's help page lists it across ChatGPT plans, with usage limits. Check the page for your plan.
- Better Analyst: Formula Bot is now Better Analyst, with the same account and workflows. Its Starter plan lists 250 chat messages and 2,500 AI Actions a month, including formula generations.
- Gemini in Sheets: Google said in June 2026 that it can "diagnose and fix formula errors in one click," with a corrected version of the formula.
For a wider look at these add-ins, see our comparison of Julius, Rows and Claude for Excel.
How does the late-shipment example work, step by step?
Run the whole workflow on one real request. The sheet has 4,000 orders: A holds the order date, C the ship date. The manager wants a flag for shipments that took more than 5 days.
- Ask with ranges and version. Paste this request:
A2:A4000 is the order date, C2:C4000 is the ship date, both real Excel dates. Write one formula for column E that shows Late if shipping took more than 5 days, On Time otherwise. I'm on Microsoft 365. - Get the first answer. Expect
=IF(C2-A2>5, "Late", "On Time"). - Read it aloud. If ship date minus order date is more than 5, it says Late. Saying more than 5 tells you a 5-day shipment shows On Time. If day 5 should count as Late, change
>to>=. - Paste it against three test rows. Use a normal row, a blank ship date and a zero-day row (next section).
- Fix what the test exposes. Add the blank check and copy the formula down.
Why do three test rows catch bad formulas?
Blanks and zeros are where formulas that look right quietly fail. A normal row only proves the happy path.

- Normal row: ordered March 1, shipped March 4. It says On Time. Correct.
- Blank row: ordered March 1, no ship date yet. A blank counts as 0 in arithmetic. March 1, 2026 is date serial 46,082, so C3-A3 = 0 - 46,082 = -46,082. That is not more than 5, so the formula says "On Time" for an order that never shipped.
- Zero row: shipped the same day, so C-A is 0. It says On Time. Correct. Zeros break formulas that filter with ">0" or divide, as the next example shows.
The fix handles the blank on purpose: =IF(C2="","Not shipped", IF(C2-A2>5, "Late", "On Time")).
The zero row catches another classic. Add a helper column F with =C2-A2 (shipping days) and ask for the average of column F, ignoring blanks. You may get =AVERAGEIF(F2:F4000, ">0"). AVERAGE already skips blanks, and ">0" also drops same-day shipments, which inflates the result.
Where do AI-written formulas usually break?
Most failures come from your data and your Excel version, not the model. Watch for these:
- Blanks treated as zeros. Subtraction turns a missing date into a huge negative number. Test a blank row.
- Zeros thrown away. A ">0" condition discards legitimate zero values. Test a zero row.
- Text that looks like data. "Paid " with a trailing space does not match "Paid". A code like "0042" stored as text in one table and as a number in another makes a lookup return #N/A. Check formats.
- New functions on old Excel. XLOOKUP is missing from Excel 2016 and 2019. TEXTBEFORE needs Microsoft 365 or Excel 2024. State your version.
- Logic that is almost right.
>=versus>, OR versus AND. Read the formula aloud.
A 2023 EuSpRIG study found ChatGPT can write correct formulas in some cases. But "when information is limited, uncertain or the problem is too complex," its accuracy breaks down. The more the AI must assume, the more the test matters.
Why does it work on my file but break on a colleague's? Usually one of three reasons. They run a different Excel version, their data has blanks or text-stored numbers, or their columns sit in other places. Run the three-row test on a sample of their data.
When should you skip AI or add a human check?
Use AI to draft, but never let it sign off on money. Microsoft's FAQ says to "review, edit, and verify anything Copilot creates before you rely on it." It also says to avoid Copilot for decisions in finance, legal or medical areas. Anthropic says Claude for Excel is not for "audit-critical calculations without verification."
A late-shipment flag on a team tracker is a safe place to build the habit. Payroll, tax or audit sheets are not. There, a person who understands the calculation checks it against hand-worked expected values. Fluent output and correct output are different things, as our guide to why AI hallucinates explains.
How do you make checking a habit?
Run the same short routine every time you paste an AI formula:
- Fill the request template with ranges, values and version.
- Read the formula aloud and compare it with what you asked.
- Test a normal row, a blank row and a zero row.
- Check the formats of any lookup keys.
- For money or audit sheets, get a human check against expected values.
Choosing between chat assistants? See Claude vs ChatGPT. For checking any AI claim, not just formulas, read our guide to AI fact-checking.




