AI Data & Analysis Walkthrough Beginner

Analyse a spreadsheet with AI and check its work

Getting real analysis out of a data file, with the verification that stops you acting on a wrong number.

2 min read 20 min to complete 4 steps Last updated 9 Aug 2026

Before you start

  • A data file
  • A tool that runs code on uploads

What you will be able to do

  • Ask questions the tool can answer correctly
  • Verify a result three ways before trusting it
  • Spot the silent row-dropping that skews everything

Upload a spreadsheet, ask a question, get an answer with a chart. It is a remarkable capability and it fails in ways that produce plausible numbers rather than errors.

The workflow below is the same as the naive one plus three checks, and the checks take about two minutes.

Describe the data before asking anything of it

5 min

What each column means, its units, and what a blank signifies.

Column headers are rarely self-explanatory and the model will guess. Tell it what each one means, the units, the date format, and — importantly — what an empty cell means: zero, unknown, or not applicable.

That last distinction changes averages substantially and is invisible in the data itself, so it is the assumption most likely to be made wrongly and never surfaced.

Ask for the code, not just the answer

5 min

The code is checkable. A number in a sentence is not.

Insist on seeing the code that produced each result. You do not need to be fluent to check the important things: which column it grouped on, what it filtered out, whether it dropped nulls.

Answers presented without code are unverifiable, and in tools that summarise rather than execute, sometimes not computed at all.

Watch out for
  • Accepting a number from a tool that did not actually run anything. If no code appeared, the figure may be an estimate from reading the file.

Check the row counts at every stage

5 min

Silent row-dropping is the most common and most damaging failure.

Ask how many rows went into each step. Type coercion, date parsing and joins all discard rows quietly — a column with three text entries in a numeric field can lose them without comment.

If 4,812 rows became 4,390 somewhere, find out why before you look at any conclusion, because every figure downstream is computed on a filtered set nobody chose.

Verify one number by hand

5 min

Take the smallest group and check its total yourself.

Pick the smallest category in the result and compute it manually — filter the sheet, sum the column, compare.

If that one matches, the pipeline is probably sound. If it does not, everything above it is wrong in the same way, and you have found it for the cost of one filter.

Tips
  • Always ask for group counts alongside group averages. An average over four rows and an average over four thousand look identical in a chart.

Ask for the code, check the row counts, and sanity-check one number by hand. Two minutes against a number you are about to act on is a good trade.

Common questions

Tools that execute code handle large files well because they never load them into the conversation. Tools that read the file as text are limited by context and will silently sample — which is much worse than failing.

Was this guide useful?

100% of readers found this useful

S

Sabir Verified

Founder & AI Enthusiast · AIToolsay

Founder of AIToolsay and a passionate AI enthusiast dedicated to building practical, user-friendly AI tools that simplify everyday tasks.

Read next