Why AI assistants get spreadsheet totals wrong, and how to check them
It's rarely the arithmetic. The assistant misreads the file: it takes a title line as the header, counts refunds written as (24.99) as spending, skips amounts it can't parse, or swaps day and month. It then adds up the wrong numbers correctly and gives you the result with full confidence.
Where the reading goes wrong
These come up again and again with exports from banks, online stores and accounting software.
The header isn't on the first line. Statements often start with the bank's name, the account number and the date range. If the assistant treats one of those lines as the header, the columns get the wrong names and the first real transaction can disappear.
Refunds are written in brackets. Accounting formats show minus 24.99 as (24.99). Read as plain text, or as a positive number, each refund gets added to spending when it should come off.
Amounts come with symbols and separators: $1,249.00, ₹1,23,456.00, 1.234,56. Any value that doesn't parse as a number may simply be dropped. The total comes out low and nothing tells you so.
Dates are ambiguous. 05/02/26 could be the 5th of February or the 2nd of May. One wrong guess for the column shifts transactions into the wrong month, which matters as soon as you ask for a monthly breakdown.
Money in and money out sit in separate columns. Lots of statements have Withdrawal and Deposit instead of one amount with a sign. Add up only one, or both as positives, and you're off by everything that went the other way.
Finally, the assistant may not run code at all. If it reads rows as text, it only sees as much as fits in its context window and fills in the rest. That gets worse the larger the file is.
Why there's no warning
From the model's side nothing went wrong. It made a guess about the layout, did the sums correctly from that guess and reported the answer. Ask again in a new chat and it may guess differently. If you've ever had two totals for the same question, that's usually what happened.
Checking an answer before you use it
A few questions catch most of these. It takes a couple of minutes:
- How many rows did you read? Compare that with Excel's count, leaving out title and total lines.
- Which column did you use for the amount, and what did you do with negatives and refunds?
- Show me three rows you included, with their row numbers. Then find them in the file.
- Pick one category, filter for it yourself and add it up. Does it match what the assistant said?
Fixing it for good
If something doesn't match, there's no point arguing with the answer. Fix the file. Delete the title lines, turn brackets into minus signs, strip currency symbols and write dates as YYYY-MM-DD, then ask again. The Fileshape converter does all of that in your browser and lists every change it made, so you can see what happened to each column.
For a file you'll keep coming back to, Fileshape Ask AI keeps the cleaned version and connects it to your AI apps. The sums run on the server over every row, and answers come back with row numbers, so the checks above are quick.
Convert or reshape a file in your browser. Nothing is uploaded.
Open the converterFAQ
Questions
Is ChatGPT bad at maths?
Not when it runs code over the data. The mistakes come earlier, in how the file was read: which row is the header, which column is the amount, and what the negatives and dates mean.
Why do I get a different total when I ask again?
Each new chat works out the file's layout from scratch, and it doesn't always reach the same answer. Two different totals mean at least one of those readings was wrong.
Does saving as CSV help?
A bit. It gets rid of merged cells and formatting. Title lines, brackets, currency symbols and ambiguous dates are in the values themselves, so they stay.
How big does a file have to be before this matters?
Size isn't the main thing. A 50-row statement with two title lines can go wrong. Big files just add the risk of the assistant reading only part of them.
More from the blog
Keep reading
- AI for data analysis: which tool to use, and how to trust the answersThe three ways to use AI for data analysis (chat uploads, spreadsheet add-ins, connected agents), which fits which job, and how to check the numbers.
- How to upload files to ChatGPT and Claude, and share them with any AIUpload a file to ChatGPT or Claude, fix uploads that fail, and share the same files with every AI app through one URL instead of re-uploading.
- Is it safe to upload a bank statement to ChatGPT or Claude?What ChatGPT and Claude keep when you upload a bank statement, the settings that stop training on it, and how to share only the columns the AI needs.
- Bank statement analysis with ChatGPT or Claude: prompts that get the numbers rightCopy-paste prompts for analysing a bank or card statement in ChatGPT or Claude, plus how to prepare the file so the totals come out right.
Updated 2026-11-23