Guides

From Raw Export to Insight: An AI Data Analysis Workflow

The bottleneck was never the calculation. It's the two hours before it and the verification after, and only one of those is safe to hand over.

The SheetAI Team6 min readUpdated August 13, 2026
From raw export to insight: a wide block of raw cells narrowing down to a single highlighted cell. Cover image from the SheetAI blog.

Key takeaways

  • Profile before you analyse. Half of all surprising findings are data quality problems wearing a disguise.
  • Describe, then compare, then explain. Jumping to why is how you get confident wrong answers.
  • Every number that leaves the sheet needs a formula behind it. No formula, no claim.
  • Write the caveats down. They're what makes the finding usable by someone else.

Someone drops a CSV on you and asks what it says. The instinct is to start charting. This workflow front-loads the boring parts instead, because that's where wrong conclusions come from, and because the boring parts are exactly what AI is good at.

Stage 1: Work out what you've actually got

Five questions before any analysis. If you can't answer them, nothing you build on top means much.

  1. 1What is one row? An order, an order line, a customer, a daily snapshot? Get this wrong and every count is wrong.
  2. 2What period does it cover, and is that period finished? A partial final month invents a decline in every trend.
  3. 3Which system produced it, and what does that system leave out? Cancellations, internal accounts, test records.
  4. 4Which columns are captured and which are calculated? Calculated ones carry someone else's assumptions.
  5. 5Is the timestamp event time or export time (and did it survive the CSV import)? They're different, and it matters the moment you build cohorts.

Stage 2: Profile every column

This is where AI pays for itself straight away. Producing a per-column profile of a 40-column export is mechanical, it takes ages by hand, and consequently nobody ever does it thoroughly.

For each columnWhat you're looking for
Fill rateA column that's 60% empty can't support a segmentation
Distinct count12 distinct values is a category, 4,000 is an identifier
Type checkNumbers or dates stored as text, which break every aggregation
Min, max, outliersNegative quantities, dates in 1899 or 2099, impossible values
Top 10 by frequencyWhere the mass of the data actually sits

Profiling regularly kills an analysis before it starts, and that's the point. Finding out the channel column is blank for 70% of rows is much better news before you build the channel breakdown than after.

Stage 3: Clean, and write down what you decided

The mechanics are in the nine-step cleaning checklist. For analysis, three decisions need recording rather than just making.

  • How blanks were treated: dropped, zeroed, or excluded per metric. This moves averages more than people expect.
  • Which rows were excluded: test accounts, internal orders, cancellations. Note how many.
  • How outliers were handled: kept, capped, or removed. Removing them is defensible. Removing them quietly isn't.

Stage 4: Ask questions in the right order

There's a sequence here, and skipping ahead is how people end up certain about something untrue.

1

Describe

Totals, distributions, shape. How many customers, how much revenue, over what period, concentrated where. No comparisons yet, just the lay of the land.

2

Compare

This segment against that one, this month against last. Differences start appearing here, and most of them are noise until you've checked the denominators.

3

Explain

Why is this segment different? Now it stops being mechanical. AI generates candidate explanations quickly, which is genuinely useful, as long as you remember a candidate explanation is a hypothesis.

4

Test

Take the two most plausible explanations and try to disprove them. If the story is seasonality, last year's same month should show it too. Go and look.

Stage 5: Verify anything that leaves the sheet

The stage everyone skips, and the one that decides whether the analysis is worth anything. The standard is simple: no formula, no claim.

  1. 1Every headline number has a formula in the sheet you can click on and follow.
  2. 2Components add up to the total. Actually check, don't assume.
  3. 3Percentages state their denominator. "Conversion up 30%" means nothing without it.
  4. 4At least one figure is reproduced a second way, a pivot table against a SUMIFS.
  5. 5Segment counts add back to the total row count, so nothing was lost or double-counted in a join.

Number four is the habit worth building. Two methods agreeing is real evidence. Two methods disagreeing has saved more analyses than any other single check, and it's the check missing from most of the failures that made the news.

Stage 6: Check the usual traps

A handful of failure modes account for most misleading spreadsheet analysis. Go through them deliberately rather than hoping.

TrapWhat it looks likeThe check
Incomplete final periodA sharp drop in the latest monthIs the period actually over?
Survivorship biasRetained customers look wonderfulAre churned ones in the data at all?
Simpson's paradoxThe trend reverses when you segmentSegment before publishing the aggregate
Denominator driftA rate moves, the numerator doesn'tPlot both separately
Small-n segmentsOne segment with a wild numberShow counts next to every rate
Composition changeThe average moved, nothing else didDid the mix shift?

The last two are worth learning properly. A rate calculated on 11 rows will swing wildly for reasons that have nothing to do with your business, which is why every rate you present should sit next to its count.

Stage 7: Write it so someone can act on it

An analysis nobody acts on wasn't finished. The structure that works is short and unglamorous.

  • The finding, in one sentence, with the number in it.
  • How you know: which data, which period, which calculation.
  • What's uncertain: the exclusions, the small samples, the assumptions you had to make.
  • What it implies: the decision this informs, or an honest "this is context, not a decision".
  • A link to the workbook, so anyone can check the formulas instead of taking your word for it.

People cut the uncertainty section for brevity, and it's the section that makes the whole thing usable. A finding with no caveats gets either over-trusted or thrown out entirely the moment someone spots a caveat you didn't mention.

What AI does and doesn't do here

StageAI's role
Work out what you've gotNone, the answers aren't in the file
Profile columnsLarge: fast, thorough, and nobody does it by hand
CleanLarge, with your rules about blanks and duplicates
Ask questionsLarge for describe and compare, a hypothesis generator for explain
VerifyModerate: it can write the second check, you have to read it
Check trapsModerate as a checklist, the judgement is yours
Write upModerate for drafting, the caveats must be yours

There's a pattern in that table. AI is strongest where the work is thorough but mechanical, and weakest exactly where accountability lives. That isn't a limitation waiting to be engineered away, it's the line that keeps the output worth trusting.

Run this on your next export

SheetAI profiles every column, writes the calculations into the sheet where you can trace them, and shows its working at each step.

Analyze your data in SheetAI

Frequently asked questions

Can AI replace a data analyst?

›
It replaces parts of the job: profiling, cleaning, writing the calculations, drafting summaries. It doesn't replace knowing which question matters, knowing what the data leaves out, or being accountable for a conclusion. In practice it lets one analyst cover much more ground.

How do I know if an AI analysis is correct?

›
Require a visible formula for every number, reproduce one headline figure a second independent way, and check that segment counts add back to the total. If a number can't be traced to a calculation in the sheet, treat it as a claim rather than a result.

What's the biggest mistake people make analysing spreadsheet data?

›
Analysing before profiling. A large share of surprising findings turn out to be artefacts: a mostly-blank column, a duplicated join, an unfinished final month. Ten minutes of profiling prevents most of them.

Should I clean the data or analyse it first?

›
Profile first, clean second, analyse third. Profiling tells you what cleaning is needed, and sometimes tells you the analysis you planned isn't supportable at all, which is much cheaper to learn before you've built the charts.

How big a dataset can I analyse in a spreadsheet?

›
Excel stays workable to a few hundred thousand rows and Google Sheets rather less. Past that, move the data to a database and use the spreadsheet as the reporting layer. The workflow above doesn't change, only where the calculation happens.

Written by The SheetAI Team

We build SheetAI, an AI spreadsheet assistant that reads your data, writes the formulas, and shows its work. We write about the spreadsheet problems we keep running into.

Get started

Put this to work on your own spreadsheet

Upload a file, ask in plain English, and watch SheetAI write the formulas into the sheet, with every step visible so you can check the work.

All articles

Works in your browser and Google Sheets · Setup in 30 seconds