Hayz Labs

Asking questions of your data when you're not an analyst

A 34-minute routine for asking an assistant about a spreadsheet: check the row count and a known total first, test the question on a sample you worked out by hand, then reconcile the answer and keep the code.

Intermediate5 min readDoing it takes 34 minChecked 11 Oct 2026

What this is
How to ask an AI assistant questions about a spreadsheet and check its answers, even if you have never done data analysis.
Why it matters
An assistant can quietly drop rows or use the wrong method, and these checks catch that before you act on a wrong number.
The short version
  • Remove personal data, then have the assistant describe the file and check its row count and a known total against yours.
  • Test your question on 10 to 20 rows you worked out by hand before you run it on the full file.
  • Check the parts add to the total, ask for a second method on anything you will act on, and save the code.
On this page
  1. Steps
  2. The prompts
  3. A worked example (illustrative)
  4. How to tell it worked
  5. Why the checks matter
  6. Sources
  7. Changes

Use it when you have a spreadsheet or CSV (a plain-text spreadsheet file) and want to ask an assistant that can run code a question such as "what changed?", and you are not an analyst.

Not when the numbers carry real consequences, such as tax, payroll or a legal filing, and you cannot check them. Take those to a person who can.

You need a copy of the file with personal data removed, an assistant that runs code on uploaded files, and about 34 minutes. Remove names, contact details and health data first: What not to paste. The steps and times are our suggestion.

Steps

#StepWhoTimeCheck
1Prepare. Remove personal data. Write down the row count and one or two totals you already know. Work out by hand the answer to your question on 10 to 20 rows.Person10 minYou have a row count, a known total and one hand answer. If it fails: you do not know the data well enough to check it yet.
2Upload the file and ask the assistant to describe the data before any analysis.AI3 minColumns, types, row count, missing values and date range are listed, with nothing changed.
3Compare its row count and totals with yours.Person4 minThe row count and the total match. If it fails: ask which rows it dropped and why, and fix the file before you go on.
4Test the question on your 10 to 20 rows, telling it which rows by row number or pasting just those.AI4 minIts answer matches your hand answer. If it fails: the method is wrong. Do not run the full file.
5Ask the question on the full data, with its method and any rows it leaves out.AI3 minIt names the method and the exclusions.
6Reconcile the answer: do the parts add to the total, and do percentages come with counts?Person5 minSegments sum to the total and every percentage has its count.
7For anything you will act on, ask for a second method and save the code and steps with the answer and any chart.AI and person5 minTwo methods agree, or you can explain the gap.

Each later question repeats steps 5 and 6, about 8 minutes.

The prompts

For step 2:

Describe the data first · v1.0
Before any analysis, describe this file. List the columns and their types, the row count, missing values per column, the date range, and anything odd. Do not change the data.

For step 5:

Ask with the method shown · v1.0
Answer this question about the whole file: <QUESTION>
First state your method and any rows you exclude and why. Then give the answer with counts as well as percentages. Show the code you ran.

Replace <QUESTION> with one question, such as which month had the biggest drop in sales?

For step 7:

A second method · v1.0
Answer the same question a different way, for example with pivot-table logic in place of grouping, and show both results side by side. Say what would change your conclusion.

Useful question patterns: "Compare A and B and show counts as well as percentages." "Is this difference bigger than normal month-to-month variation? Show the variation." Treat any "why" in the answer as a list of ideas to check. The file shows what happened, and the reasons are guesses.

A worked example (illustrative)

Asha has a year of cafe sales: 2,150 rows, and she knows the total is 38,640. The assistant reports 2,118 rows and a total of 39,120. She asks which rows are missing. It says 32 rows had blank dates and were left out. They were refunds, worth 480 in all, so 38,640 plus 480 gives the 39,120 it reported. She fills in the dates, runs the file again and both numbers match. Only then does she ask which month dropped most.

How to tell it worked

  • The row count and the known total match, and your hand answer on the sample matches too.
  • The parts add up to the total, and you have the code saved with the answer.
  • It has failed if you used an answer whose row count you never compared. Go back to step 3.

If the data starts as a photo or scan, read the figures yourself first: Photos in, data out.

Why the checks matter

  • OpenAI's help page advises users to "review the generated code, outputs, and assumptions before relying on the result" (OpenAI help, vendor documentation). Steps 3, 4 and 6 are that review.
  • In a CHI 2024 study of 22 analysts, AI-generated analysis code could be "misaligned with the analyst's intent or be seemingly correct but lead to incorrect conclusions" (Gu et al., user study). That is why step 4 checks the answer on a sample and does not rely on you reading the code.

Sources

  1. OpenAI, Data analysis with ChatGPT, help page. Vendor documentation. Link
  2. Gu et al., 2024. CHI user study of 22 analysts checking AI-generated analysis code. Link

Changes

  1. v1.010 Oct 2026first version
Time to do it
34 minutes (our estimate)
Sources
2
Updated
10 Oct 2026
Last checked
11 Oct 2026
esc
↑↓ move↵ openesc closeType a product, a job or a question

Keyboard shortcuts

CtrlK
search everything
/
search everything
gr
reviews: all AI, scored
gg
start here
gu
guides
gw
step-by-step workflows
gt
try-it tools
gs
setup
ga
about
[ ]
previous and next entry, or collection
t
theme: auto, light, dark
?
this sheet