Spreadsheets and data: ask for a formula, not a finished number
Questions about your own spreadsheet, formulas and data clean-up with AI. What Copilot, Gemini, ChatGPT and Claude can do and how to catch a silent error.
As of November 2026. Features in Excel and Google Sheets are added every month, and some are not available in every country.
With text, a mistake is often visible: wrong grammar, an odd sentence. With a spreadsheet, it is not. AI answers confidently even when it has skipped rows, misread a column or confused the decimal comma with a point. I call that a silent error. This whole part is about catching it before I pass a number on.
What the tools can do today
- Copilot in Excel has Agent Mode, which according to Microsoft plans steps, works directly in the workbook and checks results. It has been generally available since 27 January 2026, but Microsoft said at the time that it was not yet available to customers in the EU and the UK. I could not find a newer status. Since 23 September 2026, Copilot’s edits in Excel are marked under Review, Show Changes.
- Gemini in Google Sheets creates tables, formulas, charts and analysis, according to Google.
- ChatGPT and Claude work on an uploaded file in the chat. Claude reads XLSX files only when code execution and file creation are switched on.
How good is it? When Microsoft launched Agent Mode, it published a result on the SpreadsheetBench test: 57.2% of tasks, while humans managed 71.3%. That is a vendor figure from its own test, but it shows that even the best tool at the time was not at human level.
First, have it say what it loaded
The bare prompt:
What trends are there in these expenses?
The complete prompt:
The attached CSV has our household expenses for a year. Decimal comma,
dates as DD.MM.YYYY. First tell me how many rows and columns you loaded
and how you understand each column. Then total the amounts by month and
category. If the data is not enough for a conclusion, say so.
A CSV is a simple text file with a table that both Excel and Google Sheets can save. Slovak settings (decimal comma, dates with dots) are a common source of mistakes in it, so they need stating explicitly. Checking the row count at the start shows whether the model loaded the whole file. The last sentence comes from Anthropic’s advice: with data, explicitly allow the conclusion “the data is not enough”.
A formula instead of a number
The bare prompt:
Work out how much we spent on energy.
The complete prompt:
Write an Excel formula that, on the sheet "Expenses", adds up column C
for rows where column B is "energy". Explain it step by step.
A number the AI calculates in the chat cannot be checked. A formula in the spreadsheet can: it is visible, it recalculates itself when the data changes and it can be compared with a manual total. It works the other way round too. When I find a formula in a spreadsheet that I do not understand, I can paste it into the chat and ask “explain this formula step by step”.
Excel also has a =COPILOT() function that calls AI directly from a cell. According to a PC Gamer article citing Microsoft, the vendor advises against it for tasks requiring accuracy, for numerical calculations and for tasks with legal consequences. Ordinary functions such as SUM or IF are meant for that.
Cleaning up data
The bare prompt:
Find duplicates.
The complete prompt:
Column A has names and column B has phone numbers in different formats.
First suggest how to standardise the numbers (+421 ...), then mark the
rows where the standardised number repeats. Do not delete anything,
only mark.
Duplicates are found even when written differently, and nothing quietly disappears. “Do not delete anything, only mark” is an important sentence: the decision about what to remove stays with me. With a table like this, it is also worth thinking about whose names and numbers they are; more in the part What does not belong in AI.
Checks that take a few minutes
- Row count before and after. If it changed when it should not have, something is gone.
- One total by hand. Pick one month or category and recalculate it.
- Number of unique values. For example, how many different categories there were at the start and at the end.
- Formulas, not finished numbers. Where possible, have the AI write a formula.
- Decimal comma and dates. Check that 1,5 stayed 1,5 and that 03.04. stayed 3 April.
Where this does not work
- Scanned tables. For data analysis in ChatGPT, OpenAI warns that it may not reliably extract numbers from scanned or image-based tables.
- Large and messy files. According to the same source, ChatGPT may not process them in full. OpenAI advises checking the code and the assumptions behind the calculation.
- Exact formulas on the first try. For Gemini in Sheets, TechRepublic writes that getting an exact formula can be a bit of trial and error.
- Availability in the EU. Not every announced feature is available in Slovakia. For Agent Mode in Excel, the vendor said so explicitly.
- Sensitive data. A spreadsheet with national ID numbers or salaries does not belong in a personal chat account.
Checklist
- Did I state the number and date format?
- Did I check how many rows and columns the AI loaded?
- Did I ask for a formula instead of a finished number?
- Did I recalculate at least one total myself?
- Does the prompt say “do not delete anything, only mark”?
- Is there nothing in the spreadsheet that does not belong in AI?
The next part shows what to do when a task is too big for one prompt: Breaking a task down.
I prepared this text with the help of AI from the sources below.
Sources
- Microsoft Excel blog: Agent Mode in Excel is now generally available
- Microsoft Excel blog: Building Agent Mode in Excel
- Microsoft 365 Copilot release notes
- PC Gamer: the COPILOT function in Excel
- Google Help: Gemini in Google Sheets
- TechRepublic: How to use Gemini in Google Sheets
- OpenAI Help: Data analysis with ChatGPT
- Claude Help: Uploading files
- Claude blog: Best practices for prompt engineering