The short answer
You can use AI to suggest an Excel formula, explain an existing calculation or propose steps for cleaning data. Describe the sheet layout, the result you need and the cases that could go wrong. Test the suggestion on a copy before relying on it.
The important distinction is between a plausible answer and a traceable calculation. A text-only answer can be wrong. Code-backed analysis can calculate, but the source data, range, assumptions, code and output still need checking. Asking for an Excel formula is one useful way to make that method visible.
Try the free Excel practice workbook. It contains fictional source data, spaces for your answers and a separate answer key. No AI subscription is needed to enter and inspect its formulas.
Asking for a formula versus editing a workbook
In a standalone chat, describe the columns and ask for a candidate formula. You then enter it into a copy of your sheet and test it. The assistant only has the material available to it; a description of a table is not access to every row in your workbook.
An integrated tool may be able to change the workbook directly. Microsoft's Copilot in Excel guidance distinguishes editing, planning and chat modes. Editing can change cells, formulas and other workbook elements. Availability depends on your app, licence and organisation settings. Check the mode and review the changes before saving or sharing.
The exercises below use ordinary formulas, so you can learn the checking method whichever approved tool you use.
Check the calculation, not the confidence
For some data-analysis tasks, ChatGPT writes and runs Python. It does not do this for every response. OpenAI's guidance recommends reviewing the code, outputs and assumptions when Python is used.
Before relying on a total, inspect its source rows and the formula or executed code. Confirm the range, numeric input types, signs and exclusions, then compare with an independent check. A spreadsheet can calculate the wrong range perfectly; a confident chat answer does not establish that the right data was used.
In plain English
- Language model:
- The technology behind AI chatbots. It generates text by predicting what should come next, which is why it can write a perfect formula and still get a total wrong.
- Hallucination:
- When AI states something false with complete confidence. In a spreadsheet this usually shows up as a plausible but incorrect number, or a function that does not actually exist.
Describing a formula instead of remembering it
Describe the outcome in ordinary words and ask for a formula with an explanation. Treat it as a candidate to test, including the case where no matching record exists.
The trick is to describe your actual sheet, not a generic one. Say which columns hold what, and say what should happen in the awkward cases.
Write me an Excel formula.
My sheet: column A is order date, column B is customer name, column C is order value in pounds, column D is region. Data runs from row 2 to row 840. There is a header row.
I want, in cell G2: the total value of orders from the North region placed in the last 90 days.
Give me the formula, then explain in one sentence what each part does. If there is a simpler alternative, show that too. Tell me what happens if a cell in column C is blank.Keep the last line in your prompt. Blank cells, numbers stored as text and date formats can change the result. Asking about them is useful; testing them is what establishes whether the formula handles your data.
Explaining a formula somebody else wrote
If you inherit a formula with several nested functions, ask for an explanation from the inside out. A formula can itself reveal internal labels, file paths or business rules, so confirm permission before sharing it with an assistant.
Paste the formula and ask for it in plain English, working from the inside out. Then ask the follow-up question that actually matters: what would make this break, and what is it silently assuming? A good answer will point out things like an assumption that the data is sorted, or a range that stops at row 500 when the sheet now runs to row 900.
Cleaning up messy data
Common spreadsheet problems make useful practice tasks. Ask for a proposed method, preserve the source and test a small sample before applying a change across the sheet.
| The mess | What to ask for |
|---|---|
| Dates in five different formats | A formula or a set of steps to convert everything to one consistent date format |
| Names as "SMITH, JANE" and "Jane Smith" | A formula to split into first and last name, then rebuild in one consistent style |
| Trailing spaces you cannot see | A formula to strip leading, trailing and double spaces |
| Duplicates that are not quite identical | A method to flag likely duplicates, plus what counts as a match |
| Numbers stored as text | How to spot them and convert them safely |
Do the cleaning on a copy, in new columns, next to the original data. Never overwrite the raw column. If the logic turns out to be wrong, you want the original still sitting there.
Pivot tables are the other classic sticking point. Rather than asking for the clicks, which change between versions and platforms, describe the question you are trying to answer and ask which fields belong in rows, which in columns, and what should be summarised. That gives you the logic, which is the part that is actually hard, and it stays true whichever version you are running.
Being specific is most of the skill
❌ Weak prompt
Prompt
Help me with this spreadsheet, it is a mess and I need to analyse the sales data.
Output
A general explanation of sales analysis, a suggestion to use a pivot table, and three formulas that refer to columns you do not have.
The AI cannot see your file. It does not know your column names, your row count, your date format or what question you are trying to answer, so it answers the average version of your question.
✅ Good prompt
Prompt
My sheet has these columns: A order date, B salesperson, C product, D units, E value in pounds. Rows 2 to 1,200. I need to know which salesperson has the highest average order value, ignoring any row where value is blank or zero. Give me a formula, and tell me how to check the result is right.
Output
A candidate formula using the stated columns, an explanation of how blanks are handled, and a spot check to perform on a few rows.
Column names, row range, the exact question and the awkward cases are all stated. There is almost nothing left to guess.
Keep a short description of your standard sheet layout and update it when columns or ranges change. The example comparison above illustrates a briefing pattern; it does not guarantee the assistant's formula will be correct.
Drafting the sentence that explains the chart
Once you have a number, you usually have to explain it to somebody. This is text, not arithmetic, so it plays to the tool's actual strengths. Give it the figures you have verified and ask for the sentence.
Here are the figures from my report, which I have already checked: [paste the small summary table, not the raw data].
Write three sentences a non-financial manager could understand, explaining what changed and why it might matter.
Do not add any numbers I have not given you. Do not speculate about causes. If something looks unusual, say so as a question rather than a conclusion.The instruction not to speculate matters. Left to itself, the AI will supply a confident explanation for your dip in March, and it has no idea what happened in March.
Before you paste, think about what is in the file
Spreadsheets are where organisations keep their most sensitive material: customer lists, staff salaries, contact details, unreleased results. Pasting a chunk of that into a general public chatbot may breach your workplace policy, your client contracts or data protection rules, and it is not the kind of mistake you can take back.
Check what your organisation allows. You can describe a sheet structure or build a separate fictional example without uploading the real file. Removing names alone does not guarantee that company information is safe to share. The confidential work information guide explains the questions to ask.
Check the last row: a synthetic range example
The reconciliation practice supplies two fictional CSV exports. In Export B, row 1 is the header and the 11 data rows run from 2 through 12. Amounts are in column F. Import the six comma-separated columns and confirm the amounts are numeric, including the negative value. FC means fictional credits.
=SUM(F2:F11)returns 1,232.74 FC. It omits the last row.=SUM(F2:F12)returns 1,272.74 FC. It includes all 11 rows.=COUNT(F2:F12)should return 11. Check that the last row is reference R111, amount 40.00.
The 40.00 difference is a range error, not a reason to invent a balancing entry. Preserve the raw CSV and work on a copy. These formulas were checked in a spreadsheet formula engine and against independent arithmetic; they have not been tested in desktop Excel. The full practice explains the duplicate group, missing references and unresolved causes.
Download a workbook and try the checks yourself
The AI Excel practice workbook keeps the same eleven ledger records and adds eight fictional orders for date, blank and duplicate checks. FC means fictional credits, not a real currency.
- Open Practice and leave the month start at 1 October 2026 for the baseline exercise.
- Inspect Sample data. The ledger uses rows 2–12; the orders use rows 18–25.
- Enter your answers in the amber cells. Keep the source records intact.
- Compare with Answer key, where the formulas and calculated answers are visible.
- Make a copy and change one input to see which results should change. If you add rows, extend every affected formula range.
Exercise 1: check the last row and repeated references
The full ledger totals 1,272.74 FC. Omitting the last row produces 1,232.74 FC, a difference of 40.00 FC. There are eleven numeric amounts, including the negative amount.
Reference R103 appears twice. A count of two flags a repeated reference; it does not establish which row, if either, should be removed. The raw total includes both rows. Keep the ambiguity visible until you have evidence for a correction.
Exercise 2: include the whole month
In the order table, column B contains real spreadsheet dates, column C the region and column D the amount. On Practice, B4 is the selected month start and B5 calculates the next month start.
=SUMIFS('Sample data'!D18:D25,'Sample data'!C18:C25,"North",'Sample data'!B18:B25,">="&'Practice'!B4,'Sample data'!B18:B25,"<"&'Practice'!B5)For October 2026, the result is 350.00 FC: 200 + 150 + 0 + 0. The 30 September and 1 November orders are outside the month. The blank October amount is not a known zero, so this is the total of recorded numeric amounts, not proof that every order has been valued.
Microsoft's SUMIFS reference explains the sum range and criteria pairs. Keep the ranges the same size. The exclusive next-month boundary also avoids excluding a time-stamped entry later on the final day.
Exercise 3: keep blanks, zeros and duplicates distinct
The eight order rows include one blank amount, two numeric zero amounts and two occurrences of ID W07. The workbook uses COUNTBLANK for blanks and an ISNUMBER check before counting a zero. It does not convert the blank amount into zero or delete the repeated ID.
On a copy, replace the blank amount with a numeric zero: the blank count should fall to zero and the numeric-zero count should rise to three. Move the 31 October North order to 1 November: the October total should fall from 350 to 200. Change the selected month to November on the original sample: the North total should be 400.
Verification: The workbook was recalculated, checked against independent arithmetic, tested with those input changes, exported and reopened in the Artifact Tool spreadsheet engine. It has not been tested in desktop Excel. The answer key makes the formulas and limits inspectable in your own spreadsheet application.
Where to go next
If you want to work through this properly rather than picking it up in fragments, our free AI for Spreadsheets and Data course covers formulas, cleaning, analysis and the checking habits that keep you out of trouble. It is the natural next step from this post.
When you turn the numbers into prose, use the reports and summaries exercise and the AI fact-checking checklist. A correct total does not by itself support a claim about why it changed.
Two others pair well with it. Prompt Engineering is the underlying skill of writing a brief the tool can follow, which is most of what separates a useful formula from a wrong one. And AI Productivity at Work covers the rest of the week: the email, the reports and the meeting notes that surround the spreadsheet. All free, no account needed.