Documents, PDFs and Excel with AI
Ask a chatbot to do the sums on a spreadsheet and it often estimates instead of calculating. Here is how to make it actually compute, pull data from invoices and contracts, and check every figure.

On this page
In 30 seconds
- Assistants read PDFs, Word, Excel, images and scans. Top models handle documents hundreds of pages long.
- For numbers, always have the AI run code: it actually computes instead of “estimating”.
- Ask for the page number of every extracted figure and check those you’ll use.
- For recurring documents (invoices, bank statements), AI pays off most inside an automation with human review.
If you already know how to upload a PDF and get a summary, skip to “Excel and numbers: compute, don’t estimate”.
A forty-page contract to sign by Friday, a folder of invoices to record, an Excel sheet someone built years ago that nobody understands any more. This is the kind of work where AI saves the most time, and also where a mistake costs the most: a figure misread in an elegant summary is still a wrong figure. The method is about keeping the time saved without losing accuracy.
Summarising without losing what matters
A generic summary (“summarise this PDF”) yields a generic text. A useful summary starts from what you need to do with it.
For very long documents (financial statements, appraisals, manuals) work in two steps: first ask for a map (“list the sections with pages and a one-line summary each”), then work section by section. You avoid the “lost in the middle” problem from the context and memory guide.
Extracting data: invoices, receipts, tables
AI is excellent at turning messy documents into tidy tables: PDF invoices, photographed receipts, bank statements, tables inside a report.
Two details make the difference. First: an invoice can have several VAT rates, exemptions, withholding tax and stamp duty, so “one row per document with a single rate” isn’t enough. Second: having the AI check the figures’ consistency catches most reading errors, but arithmetic checks are a spreadsheet’s job, not the model’s judgement. For electronic invoices in XML it’s better to read the file directly with a tool that parses it, and use AI only for the cases that don’t match.
Personal and confidential data
Use fictional documents for the first trial. Before uploading client or employee data, check purpose, authorisation, contract terms, access and retention. A training opt-out covers one use of data and does not by itself make a personal account suitable.
Excel and numbers: compute, don’t estimate
A language model doing long maths “in its head” makes mistakes, given how it works (see the guide on how an LLM works). But today ChatGPT, Claude and Gemini can write and run code on your files: they read the spreadsheet, calculate precisely, make charts and return a new file.
How to ask:
- “Use data analysis / run code to calculate…”
- “Show me the code or formula you used.”
- “Verify one total in two different ways.”
Formulas: AI as your Excel-savvy colleague
For formulas AI is an unbeatable tutor, provided you tell it how the sheet is laid out and which Excel language version you use (function names and separators change between languages: the Italian version uses SOMMA.SE for SUMIF and semicolons as separators).
Creating documents and presentations
Assistants no longer just write text: they create real files.
- Claude with Docs and Slides (included on the free plan since October 2026) and, on paid plans, Dashboards in beta.
- ChatGPT creates documents, sheets and decks and, with its extensions for Excel, Word, PowerPoint and Google Sheets, works directly inside your files.
- Gamma generates presentations and visual documents from an outline, exporting to PDF and PowerPoint.
The best method for decks: first ask for the outline (title and key message for each slide), fix it, and only then generate the slides. Fixing 10 lines is easier than redoing 10 slides.
Reading scanned documents and photos
Modern models read scans and photos well too (built-in OCR), including tables and clear handwriting. For important documents:
- photograph straight, in good light, one page per photo;
- ask to transcribe first and analyse after;
- compare the transcription with the original on key numbers.
In practice
- Always say what you need to do with the document, not just “summarise”.
- Ask for page and clause for every figure and verify those you’ll use.
- For numbers: code execution, consistency checks, formula shown.
- Long documents: map first, then section by section.
- Sensitive data: the right plan and privacy settings checked.
- Repetitive work: move to an automation with human review.
Ready-made requests
I need to decide whether to [sign this contract / accept this offer]. From the attached document extract, with page and clause for each point: my obligations, the other party’s obligations, duration and renewal, how to terminate, penalties, hidden or variable costs. Then flag unusual or one-sided clauses and the things the document doesn’t say. Don’t give me legal advice: give me the questions to ask before signing.
From the attached documents create a table with one row per VAT rate of each invoice: number, date, supplier, VAT number, taxable amount, rate, tax, document total, file name and page. Then run code to check that taxable amount plus tax gives the total of each document and that there are no duplicate invoice numbers. List separately the rows that don’t add up or that you read with uncertainty: don’t fix them yourself.
In the sheet [name], column A contains [description], B [description], C [description], from row 2 to [last row]. I want [result: for example “the total per client for 2026 only”]. Write the formula for my Excel language settings, explain it piece by piece and tell me how to check it by hand on two rows.
Mistakes to avoid
- “Summarise” without saying what for. You get a correct, useless text.
- Trusting calculations “in its head”. For numbers ask for code or formulas, not an estimate.
- Accepting data without a page. A figure without a reference can’t be checked quickly.
- Uploading confidential documents on the wrong plan. Check the data settings first.
Try it in 10 minutes
Take five real invoices or receipts (or a month’s bank statement) and use “From invoices to a table”. Then check yourself three random rows against the original and look at the list of doubtful rows: did the AI flag the hard cases or “fix” them on its own? That’s the difference between a reliable tool and a dangerous one.
Apply the method to your document
Take an anonymised extract of your document and ask the assistant for the deadlines in a table, each next to the sentence it comes from. Check each deadline against the sentence that supports it.
In one lineA figure misread in an elegant summary is still a wrong figure: make it compute, ask for the page, check.
Sources
Informational content. Prices, models and rules change often: check official sources before deciding. Written with the support of AI tools.

