Honest 2026 guide

ChatGPT for data analysis — what it can and can’t do

ChatGPT can explore a dataset, write the code to analyse it, and explain the result in plain English. It can also confidently get a number wrong. Here is how to use it well in 2026 — the workflow, the limits, and when to switch to a tool that shows its working.

£28k +18%
1.1–1.5bn
people use spreadsheets worldwide
EarthWeb
~20 hrs
a week knowledge workers spend in spreadsheets
Acuity Training
~94%
of operational spreadsheets contain at least one error
Panko / EuSpRIG
~2 min
from a raw file to an auditable result with DataHub Pro
DataHub Pro

Can ChatGPT analyse data?

Yes — with an important caveat about which part of the work you trust it for.

ChatGPT can analyse data. With its data-analysis mode you can upload a CSV or Excel file and ask questions in plain English; it writes and runs Python behind the scenes to compute statistics, build charts and find patterns. For exploration, hypothesis-generation and learning, it is genuinely excellent.

The caveat: when ChatGPT answers a numeric question by reasoning in text rather than running code, it can hallucinate — produce a confident, wrong figure. For anything that feeds a decision, a board pack or a client invoice, you need the calculation to be deterministic and traceable to the source rows.

The practical pattern is to use ChatGPT for the thinking and a spreadsheet-native, auditable tool for the figures. DataHub Pro takes the same plain-English question but runs real, reproducible analysis on your file and shows the working, so the headline numbers hold up to scrutiny.

How to use ChatGPT for data analysis

A reliable workflow that keeps the numbers honest.

Upload a clean file

Give it a tidy CSV or Excel — one header row, one record per row. Messy input produces messy analysis.

State the question and the context

Tell it what the columns mean and what decision you’re making. Context dramatically improves the output.

Ask it to compute, not guess

Phrase requests as “write and run the code to calculate…” so it executes Python rather than estimating in prose.

Request the chart and the table

Ask for the visualisation and the underlying numbers together, so you can sanity-check the figure behind the picture.

Cross-check the headline numbers

Re-compute the two or three figures that matter most in your spreadsheet or an auditable tool before you quote them.

Move decision-grade work to an auditable tool

For recurring reports and board figures, run the analysis where every number traces back to the rows — not in a chat you’ll re-upload next week.

ChatGPT vs a spreadsheet-native AI tool

They’re complementary — use each for what it’s good at.

Chat AI

ChatGPT

  • Brilliant for exploration
  • Writes & runs code
  • Can hallucinate numbers
  • No persistent dashboard
Spreadsheet-native AI

DataHub Pro

  • Plain-English questions too
  • Deterministic, auditable math
  • Saved dashboards & reports
  • Reads your Excel/CSV directly
Enterprise BI

Power BI / Tableau

  • Enterprise-grade governance
  • Heavy setup & modelling
  • Specialist required
  • Overkill for a file

Frequently asked questions

Is ChatGPT good for data analysis?

ChatGPT is excellent for exploring data, writing analysis code and explaining results in plain English. It is less reliable when it answers numeric questions in prose instead of running code, so cross-check any figure that feeds a decision.

How do I use ChatGPT to analyse an Excel file?

Upload the file in ChatGPT’s data-analysis mode, describe what the columns mean, and ask it to write and run the code to compute what you need. Always request the chart and the underlying numbers so you can verify them.

Does ChatGPT make mistakes with numbers?

Yes. When it reasons about figures in text rather than executing code, it can produce confident but incorrect answers (hallucinations). For decision-grade figures, use a tool that runs deterministic calculations and shows its working.

What's a more auditable alternative to ChatGPT for data analysis?

A spreadsheet-native tool like DataHub Pro takes the same plain-English questions but runs real, reproducible analysis on your file and traces every figure back to the source rows, which suits board packs and client reports.

Is it safe to upload business data to ChatGPT?

Check your plan’s data-handling terms and your company policy. For sensitive figures, prefer tools with explicit data-residency and no-training guarantees and a clear audit trail.

Can ChatGPT build a dashboard?

It can generate individual charts during a session, but it doesn’t maintain a persistent, refreshable dashboard. For saved dashboards you can re-run on new data, use a spreadsheet-native analytics tool.

Explore related guides

Where to go next, by what you need.

How-to
How to use AI for data analysis
The full workflow.
Guide
ChatGPT for spreadsheets
The spreadsheet-specific guide.
Ranked
Best AI tools for data analysis
The overall comparison.
How-to
Analyze CSV files with AI
Ask questions, get answers.
How-to
AI report generator
From file to polished report.
Guide
How AI reads Excel files
Under the hood, plainly.

Keep the exploration, fix the numbers

Ask DataHub Pro the same plain-English questions and get auditable answers, dashboards and reports straight from your file. Free to try.

Try it free on your file →