Back to all articles
5 MIN READ

Analyze Excel with Claude: verify calculations before trusting the report

By Dorian Laurenceau

Claude can help analyze an Excel workbook, explain patterns and draft a report. The useful question is whether its results can be reconciled with the workbook. A confident explanation is not evidence that the selected rows, formulas and units were correct.

This tutorial uses fictional sales data and arithmetic you can reproduce. References were checked on October 14, 2026.

Work on a copy and inspect the structure

Keep the original workbook unchanged. List sheet names, row counts, headers, formulas and filters. Identify whether a sheet contains raw records, subtotals or presentation tables. A summary sheet may not be suitable for calculations if it duplicates data from another tab.

Check the current file-upload documentation for availability in your account. After upload, ask Claude to describe what it can actually read. Verify that the recognized columns correspond to the workbook, especially for merged cells or complex layouts.

Define types and units explicitly

State which columns contain quantities, prices, dates and categories. Specify the currency and whether amounts include tax. A value of 12 could mean units, euros, a month or a percentage. Mixed decimal separators and numbers stored as text can produce misleading calculations.

Do not automatically replace missing values with zero. Missing revenue means the value is unknown; zero revenue means no revenue was recorded. The difference can affect averages, charts and business conclusions. Ask for a missing-value report before deciding how to handle gaps.

Reproduce a known calculation

Our fictional workbook contains the following lines:

ItemQuantityUnit priceRevenue
A12€80€960
B8€120€960
C20€20€400
Total40—€2,320

The quantity-weighted average price is €2,320 divided by 40, or €58. The simple mean of the three unit prices is approximately €73.33. These answer different questions. Ask which measure the report uses and why.

Recalculate this example in Excel or another spreadsheet tool. If a generated output disagrees, inspect the selected range and formula before interpreting the result. Do not let the assistant “explain” an incorrect total into apparent legitimacy.

Catch duplicates, subtotals and formula changes

A row labelled “Total” must not be counted as another sale. A duplicated invoice may need review rather than automatic deletion: two identical-looking rows could represent legitimate separate records. Define a duplicate key and examine the flagged cases.

If Claude creates or edits a workbook, compare formulas and values before and after. Check that references still point to the correct sheets, filters are preserved and raw data has not been overwritten. Open the exported file: a screenshot does not reveal broken formulas or missing tabs.

Build charts only after the numbers reconcile

Choose a chart that matches the question. A category comparison and a time series require different layouts. Label units, time periods and exclusions. Record whether missing values were omitted and whether the chart uses gross or net amounts.

Write conclusions that remain proportional to the data. A three-line fictional dataset cannot demonstrate seasonality or prove that one strategy caused higher revenue. Ask for alternative explanations when moving from description to interpretation.

Loading diagram…

Prepare your spreadsheet-analysis brief

Prepare your instruction here. This module sends no data to a model: copy your brief into your chosen tool.

View the starter instruction
Inspect the supplied workbook without overwriting the original. List sheets, columns, types, units, filters, formulas, missing values and possible duplicates. Explain selected ranges and every calculation. Distinguish simple and weighted averages. Exclude subtotal rows from raw-record totals and flag uncertain cases for review.

Verify the output (0/4)

Download the Excel audit checklist. Use the document-report method to present verified findings alongside their sources.

Frequently asked questions

Can Claude replace spreadsheet formulas? It can suggest and explain formulas, but validate them against known examples and your actual ranges.

Should every duplicate be deleted? No. A duplicate detection rule identifies candidates; business context determines whether they are errors.

Test Your Knowledge

0 / 3 answered

Q1.What is the weighted average price in the example?

3 questions remaining

Sources

GO DEEPER — FREE GUIDE

Module 2 — Structured Outputs

Learn to get reliable, formatted responses like JSON and tables.

D

Dorian Laurenceau

Full-Stack Developer & Learning Designer

Full-stack web developer and learning designer. I spent 4 years as a freelance full-stack developer and 4 years teaching React, JavaScript, HTML/CSS and WordPress to adult learners. Today I design learning paths in web development and AI, grounded in learning science. I founded learn-prompting.fr to make AI practical and accessible, and built the Bluff app to gamify political transparency.

Prompt EngineeringLLMsFull-Stack DevelopmentLearning DesignReact
Published: October 14, 2026

One practical AI workflow in your inbox

Methods, resources and new exercises. Free, unsubscribe at any time.