Skip to content
omarsoliman.dev
Tools & TutorialsAIClaudeExcelFP&APromptsFinance

What Claude actually does with your data

Editorial clay-and-paper illustration on cream paper: on the left, a terracotta clay spreadsheet of blank cream cells with one olive row; a thin ink thread runs from that row through a small glowing terracotta clay spark in the middle to a cream paper sheet on the right, filled with ink brush strokes like lines of writing, one underlined in gold. The table is finished first, then Claude turns it into narrative.

Excel can calculate a variance to the last decimal and can't tell you what it means. Claude can tell you what it means — and can't be trusted to calculate it. Most people paste a raw export into Claude and ask "what do you see?", which hands the arithmetic to the wrong tool and the judgment to nobody.

The workflow that works splits the job cleanly. The spreadsheet — or a Python script — computes every variance, total, percentage, and ratio. Claude gets the finished table and does the part a language model is actually built for: the language. The management commentary. The note that tells a credit manager which account to call. The board paragraph that names the assumption everyone is quietly relying on.

The AI literacy piece put the rule in one line — use AI for language tasks, use Excel for arithmetic. This is what that line looks like on three ordinary finance jobs, with mock data you can paste and run yourself.

The one line that does the work

Every prompt below carries a version of the same sentence:

All figures were computed by the finance team — do not recalculate.

It's the most important line in each prompt. Without it, Claude will happily redo the arithmetic it was handed — and a recalculated number looks exactly like a copied one. With it, Claude's job shrinks to reading the table and writing about it, which is the job you want it doing.

Two more habits run through all three scenarios. Give it a role — "you are a finance controller" gets you a controller's framing. And tell it what to do when the data doesn't say: flag it, don't fill it.


Scenario A — a P&L variance table becomes CFO commentary

The month is closed, the variances are computed, and someone has to write the paragraph that goes in front of the CFO.

Mock data — Nile Foods Ltd, October 2025, EGP thousands. Variance columns computed in Excel before pasting, not by Claude.

Line ItemBudgetActualVarianceVar %
Revenue5,2004,850−350−6.7%
COGS3,1203,050−70−2.2%
Gross Profit2,0801,800−280−13.5%
Operating Exp9801,140+160+16.3%
Operating Income1,100660−440−40.0%
Net Income850490−360−42.4%

The prompt

You are a finance controller drafting the monthly management commentary for Nile Foods Ltd (October 2025).

The finance team has already computed all variances — do not recalculate. Your task is to write the narrative only.

All figures in EGP thousands.

| Line Item        | Budget | Actual | Variance | Var %  |
|------------------|--------|--------|----------|--------|
| Revenue          | 5,200  | 4,850  | −350     | −6.7%  |
| COGS             | 3,120  | 3,050  | −70      | −2.2%  |
| Gross Profit     | 2,080  | 1,800  | −280     | −13.5% |
| Operating Exp    | 980    | 1,140  | +160     | +16.3% |
| Operating Income | 1,100  | 660    | −440     | −40.0% |
| Net Income       | 850    | 490    | −360     | −42.4% |

Write a CFO-level board-pack commentary (max 200 words) covering:
1. One-sentence overall performance summary.
2. For each variance > 5%: likely cause and whether it is (a) timing, (b) permanent, or (c) requires management action.
3. Three key themes that define this month's performance.

Do not invent causes that are not deducible from the data. If a cause is unclear, flag it for management review.

What came back

October 2025 Management Commentary — Nile Foods Ltd

Overall: October delivered a significant miss on all key metrics, with Operating Income 40% below budget on revenues that fell 6.7% short, compounded by operating expense overruns.

Variance Analysis:

  • Revenue (−6.7%, −EGP 350K): Root driver. Cause unclear from data alone — could reflect volume, pricing, or mix effects. Flagged for management review.
  • Gross Profit (−13.5%, −EGP 280K): Margin impact exceeds the revenue decline, suggesting COGS was not fully variable with volume (COGS fell only 2.2% vs revenue down 6.7%). Likely permanent unless cost structure improves.
  • Operating Expenses (+16.3%, +EGP 160K): Significant overrun with cause unclear from data. Could be one-time (timing) or structural. Flagged for management review.

Three Key Themes:

  1. Revenue shortfall of EGP 350K triggered a cascade — below-variable COGS amplified the gross profit miss.
  2. Fixed-cost OpEx overrun added EGP 160K, compressing operating income by 40%.
  3. Without driver-level data (volume vs price, specific OpEx line items), key causes remain unclassified — management review needed before remediation.

What to take from it

  • It didn't invent a cause. Revenue and OpEx both came back "flagged for management review" — because the last line of the prompt made "unclear" an acceptable answer. Delete that line and you're inviting a plausible story.
  • The framework is doing the sorting. Timing, permanent, or needs management action is a standard way to classify variances — LearnSignal's guide to AI variance analysis uses the same three-way split. Giving Claude the framework is what turns a summary into a classification.
  • Two phrases are yours to edit. "Likely permanent" on the gross-profit miss and "fixed-cost" on OpEx are judgment calls. Both are reasonable readings — COGS fell 2.2% while revenue fell 6.7%, so costs didn't flex — but one month of data can't prove either. That isn't the tool failing. It's the line where the controller does the job.

Scenario B — an AR aging report becomes a credit-risk flag

Ten customers, four aging buckets, and a CFO who wants to know which ones to worry about.

Mock data — Nile Foods Ltd, October 2025, EGP. Balances as produced by the ERP. One account is planted as the outlier — see if you spot it before Claude does.

Customer0–30 Days31–60 Days61–90 Days90+ DaysTotalCredit Limit
Alpha Trading85,000———85,000100,000
Beta Supplies42,00018,000——60,00075,000
Gamma Retail95,00045,00038,00022,000200,000120,000
Delta Corp28,000———28,00050,000
Epsilon Ltd67,00012,000——79,00080,000
Zeta Partners15,000———15,00030,000
Eta Mfg110,00025,000——135,000150,000
Theta Logistics8,000———8,00020,000
Iota Food Co55,00030,00018,000—103,000110,000
Kappa Pharma22,000———22,00040,000

The prompt

You are an AR analyst reviewing the October 2025 aging report for Nile Foods Ltd. All balances were computed by the ERP — do not recalculate.

| Customer        | 0–30 Days | 31–60 Days | 61–90 Days | 90+ Days | Total   | Credit Limit |
|-----------------|-----------|------------|------------|----------|---------|--------------|
| Alpha Trading   | 85,000    | —          | —          | —        | 85,000  | 100,000      |
| Beta Supplies   | 42,000    | 18,000     | —          | —        | 60,000  | 75,000       |
| Gamma Retail    | 95,000    | 45,000     | 38,000     | 22,000   | 200,000 | 120,000      |
| Delta Corp      | 28,000    | —          | —          | —        | 28,000  | 50,000       |
| Epsilon Ltd     | 67,000    | 12,000     | —          | —        | 79,000  | 80,000       |
| Zeta Partners   | 15,000    | —          | —          | —        | 15,000  | 30,000       |
| Eta Mfg         | 110,000   | 25,000     | —          | —        | 135,000 | 150,000      |
| Theta Logistics | 8,000     | —          | —          | —        | 8,000   | 20,000       |
| Iota Food Co    | 55,000    | 30,000     | 18,000     | —        | 103,000 | 110,000      |
| Kappa Pharma    | 22,000    | —          | —          | —        | 22,000  | 40,000       |

Flag any account matching one or more of these risk rules:
- Rule 1: Outstanding balance exceeds credit limit
- Rule 2: Any balance in the 90+ days bucket
- Rule 3: Balance in the 61–90 days bucket AND total outstanding > 80% of credit limit

For each flagged account: name the account, state which rules triggered, and recommend one concrete next action.

Then write a 3-sentence AR summary for the CFO covering total exposure and the key risk.

What came back

Gamma Retail — ⚠️ Rules 1, 2, and 3 triggered

  • Rule 1: Balance (EGP 200,000) exceeds credit limit (EGP 120,000) by EGP 80,000
  • Rule 2: EGP 22,000 in 90+ days bucket
  • Rule 3: 61–90 days bucket present; total is 167% of credit limit
  • Action: Place account on credit hold immediately; escalate to collections and credit manager for debt restructuring or legal review.

Iota Food Co — ⚠️ Rule 3 triggered

  • Rule 3: EGP 18,000 in 61–90 bucket; total (EGP 103,000) is 93.6% of credit limit
  • Action: Issue formal payment reminder; review account before next order shipment.

CFO Summary: Total AR outstanding is EGP 735,000. Gamma Retail is the primary risk: EGP 80,000 over credit limit across multiple aging buckets, representing 27.2% of total AR. Iota Food Co warrants monitoring; all other accounts are within current or early-stage aging.

What to take from it

  • The rules are the control. Claude didn't decide what "risky" means — the three rules did. It applied them correctly: Gamma Retail trips all three, Iota Food Co trips Rule 3, nobody else trips anything.
  • It does what you wrote, and no more. Epsilon Ltd owes EGP 79,000 against an EGP 80,000 limit — 98.75% used — and wasn't flagged. That's correct: no rule covers "almost at the limit, nothing aged yet." If you want that account caught, write Rule 4. Claude applies your credit policy. It doesn't write one.
  • Count the numbers that weren't in the table. EGP 80,000 over limit. 167% of limit. 93.6%. EGP 735,000 total AR. 27.2%. None of those five figures was in the input. All five are correct — each was checked by hand. And that's the trap: the prompt said "do not recalculate," then asked for "total exposure", a number the table didn't contain. Ask for a number that isn't there and Claude will make one. The fix is boring — add the total row in Excel before you paste.
  • Read the sentence, not just the figure. "EGP 80,000 over credit limit… representing 27.2% of total AR" — the 27.2% is Gamma's full EGP 200,000 balance, not the EGP 80,000 overage (that would be about 10.9%). The number is right. The sentence lets a skimming reader get it wrong.

Scenario C — a rolling forecast becomes a board narrative

Three months of actuals, two of forecast, and a board that needs the trend, the exit rate, and the assumption holding the forecast up.

Mock data — Nile Foods Ltd, EGP thousands. All figures produced by the FP&A model. EBITDA is simplified here to gross profit minus OpEx, and margins are rounded to one decimal for display. October is the same month as Scenario A.

MonthRevenueGross Margin %OpExEBITDAStatus
August 20254,92038.5%1,050843Actual
September 20255,10039.2%1,080918Actual
October 20254,85037.1%1,140660Actual
November 2025F5,30038.0%1,100914Forecast
December 2025F5,80039.5%1,1201,171Forecast

The prompt

You are an FP&A analyst at Nile Foods Ltd preparing the Q4 2025 board-pack narrative.

Below is the rolling actuals-plus-forecast table. All figures were produced by the FP&A model — do not recalculate. Figures are in EGP thousands.

| Month          | Revenue | Gross Margin % | OpEx  | EBITDA | Status   |
|----------------|---------|----------------|-------|--------|----------|
| August 2025    | 4,920   | 38.5%          | 1,050 | 843    | Actual   |
| September 2025 | 5,100   | 39.2%          | 1,080 | 918    | Actual   |
| October 2025   | 4,850   | 37.1%          | 1,140 | 660    | Actual   |
| November 2025F | 5,300   | 38.0%          | 1,100 | 914    | Forecast |
| December 2025F | 5,800   | 39.5%          | 1,120 | 1,171  | Forecast |

Write a board-level narrative (max 150 words) that:
1. Summarises the Q4 trend through October.
2. States the Q4 exit rate implied by December.
3. Identifies the key assumption underlying the revenue ramp (November +9.3% vs prior month).
4. Names one risk and one opportunity for the board's attention.

Tone: confident, direct, data-grounded. If you assume a driver that isn't in the data, say so explicitly.

What came back

Q4 2025 FP&A Board Narrative — Nile Foods Ltd

Q4 opened with a mixed picture: revenue grew from August (EGP 4.9M) through September (EGP 5.1M), but October saw a pullback to EGP 4.85M alongside a 2.1 percentage-point gross margin compression and a 5.6% OpEx increase, compressing EBITDA to EGP 660K — the quarter's low point.

The Q4 exit rate implied by December is EGP 1.17M EBITDA on EGP 5.8M revenue at 39.5% gross margin. This depends on a November revenue ramp of +9.3% vs October. The data does not specify the driver; this assumption requires management validation (volume, pricing, or new contract).

Risk: October's margin compression may persist if the OpEx increase is structural, not seasonal. Opportunity: December's 39.5% gross margin, if achieved, would be the quarter's high, suggesting pricing power is intact.

What to take from it

  • It named the assumption and refused to explain it away. The November ramp is the whole forecast, and Claude said so — "the data does not specify the driver; this assumption requires management validation." That came from one line in the prompt: if you assume a driver that isn't in the data, say so.
  • The +9.3% is in the prompt, not Claude's. It was computed in Excel — (5,300 − 4,850) ÷ 4,850 — and handed over. Claude still derived two figures of its own: the 2.1-point margin drop and the 5.6% OpEx increase. Both check out — 39.2 − 37.1 = 2.1, and (1,140 − 1,080) ÷ 1,080 = 5.6%. Same rule as Scenario B: verify anything it inserts.
  • One real slip — and the prompt set it up. The narrative opens "Q4 opened with…" and then talks about August and September. On a calendar year, those are Q3. The prompt asked for "the Q4 trend" and handed over a table that starts in August, and Claude doesn't know your fiscal year unless you tell it. Which is the case for telling it once.

Set it up once: a Claude Project per entity

Re-explaining the company in every chat is how framing errors creep in. A Claude Project is the fix: one Project per entity, with a system prompt that carries the currency, the fiscal year, the accounting framework, and the house rules. Zenskar's guide to Claude for accounting recommends exactly this set-up — chart of accounts and reporting policies included — so every table you paste lands in context.

A starting template:

You are a senior finance analyst at [Company]. Always use [currency]; format numbers with commas and [x] decimal places. The fiscal year runs [start] to [end]. Revenue is recognised under [IFRS 15 / ASC 606 / local GAAP]. When asked to write commentary, focus on economic drivers, not accounting mechanics. Never recalculate a number the user supplies — if a figure seems wrong, flag it rather than correcting it.

If you trim it, keep the last sentence. And the fiscal-year line is the cheap fix for Scenario C's quarter slip — a model can't respect a calendar it was never given.


Where Claude stops

Claude is not a calculator. Feed it numbers from Excel; don't ask it to produce numbers for Excel.

That isn't caution for its own sake:

  • When researchers hand-checked the numbers in LLM summaries of financial reports, they found 6.48% of numeric values hallucinated for Claude 2.0 and 3.97% for Claude 2.1 (Cao et al., COLM 2024). Those are older models and a sample of 20 reports — read it as a direction, not today's error rate. But roughly one number in every 15 to 25 being wrong is not a rate any finance team signs off on.
  • A 2026 benchmark study of LLMs on financial reasoning describes models "frequently suffering from 'Arithmetic Hallucinations'", with standard step-by-step reasoning faltering as tasks get more complex (Zhao et al., 2026).

And Scenario B cuts the wrong way if you let it. Five derived numbers, five correct. That's one run of simple division — not evidence of reliability. It's exactly how a team learns to stop checking.

So the workflow is two steps, in this order:

  1. Compute everything first, in Excel or Python. Variances, totals, percentages, ratios — and any figure the paragraph will need. If you're going to ask for "total exposure", the total row goes in the table.
  2. Then hand Claude the finished table and ask for language only. Commentary, flags, narrative — with "do not recalculate" in the prompt, a role, and permission to say "unclear." Read what comes back the way you'd read a junior analyst's draft: the framing, the judgment calls, and every number.

The spreadsheet's job is to be right. Claude's job is to make being right readable. So the question was never whether Claude can analyse your data. It's whether your table is finished before you ask it to talk.

Sources

My weekly brief

More writing
All posts
Editorial clay-and-paper illustration in a warm cream, terracotta, ink and olive palette: a stack of messy handwritten paper invoices on the left connects by curved ink wires and plug connectors through a row of four rounded terracotta-clay automation nodes — an n8n-style workflow — into a tidy, neatly-ruled VAT-ready ledger on the right, where one tax row is highlighted in olive and a small gold pile of coins sits beside the AED currency mark. Messy invoices in, a structured VAT-ready ledger out.
Jul 1, 2026

Invoices land in your inbox, a VAT-ready ledger builds itself: a no-code n8n pipeline

AITechnologyMENAVATn8nautomationno-code
Warm pixel-art editorial illustration in the clay-and-paper palette: a friendly blocky terracotta robot 'tax agent' stands at the centre holding a tax return form and a calculator, with thin ink connector lines linking it to a small network of smaller robot agents arranged like an org chart, plus pixel icons of invoices, a ledger, verification check-marks and a gold eight-pointed star — a network of autonomous AI agents running a tax department.
Jun 21, 2026

The Zero-Human Tax Company: How Multi-Agent AI Will Transform Tax Operations

AITax AutomationMulti-Agent AISLMVATCorporate TaxFinance Transformation