ChatGPT for Data Analysis: How to Use It and Where It Stops

A short how-to, a checklist for verifying the numbers it gives you, and an honest line between the jobs ChatGPT handles well and the ones it doesn't.

Disclosure: Better Analyst publishes this guide and is one of the tools it suggests. ChatGPT features and plan availability come from OpenAI's own pages on chatgpt.com, checked on November 18, 2026.

Summary

ChatGPT can analyze data: upload a CSV or Excel file, ask a question in plain English, and it returns tables, charts and a written summary. It works best for one-off analysis of a file you already have. For the same report every week on live sources such as GA4, Google Ads or a SQL database, a tool that keeps those connections and refreshes dashboards on a schedule fits better.

On this page
  1. What can ChatGPT do with your data?
  2. How to use ChatGPT for data analysis, step by step
  3. How to check ChatGPT's numbers
  4. Can ChatGPT analyze Excel files?
  5. Where ChatGPT stops for recurring business reporting
  6. When a tool built for data work fits better
  7. ChatGPT vs a data analysis tool: side by side
  8. Which should you use?
  9. FAQ

The short answer

ChatGPT can analyze data: upload a CSV or Excel file, ask a question in plain English, and it returns tables, charts and a written summary. It is a good choice for one-off analysis of a file you already have. For the same report every week on live sources such as GA4, Google Ads or a SQL database, use a tool that keeps those connections, shows the code behind each answer and refreshes dashboards on a schedule.

Try Better Analyst free

What can ChatGPT do with your data?

You give ChatGPT a file, ask a question, and it works out the analysis and runs it. In practice that covers most of the first hour of any analysis:

  • Describe the data. Columns, types, row counts, missing values and obvious problems such as mixed date formats.
  • Clean and reshape it. Remove duplicates, split or merge columns, convert dates, and join two files on a shared key.
  • Summarize and compare. Totals by month, top products, week-over-week changes, and simple pivots.
  • Chart it. Bar, line and scatter charts from a sentence such as "revenue by product line as a bar chart".
  • Explain it. A written summary of the main trend, which is where ChatGPT is strongest.
  • Help with spreadsheets. Write or fix a formula, explain someone else's workbook, or draft a template.

OpenAI's chat with spreadsheets page describes the same loop: upload the spreadsheet, ask about it in chat, then review the answer and refine the question.

Plan matters. On OpenAI's pricing page, data analysis and file uploads are both "Limited" on the Free plan and included on Go, Plus and Pro. OpenAI's data analysis help page says file limits vary by upload type, model and plan, so check the current limits before uploading a large export.

How to use ChatGPT for data analysis, step by step

The steps below work for a sales export, a survey file, an ad report or any other table. The quality of the answer depends far more on steps 1 and 3 than on the prompt wording.

1. Prepare the file. One header row, one table per sheet, and no total or subtotal rows inside the data. Give columns clear names (order_date, net_revenue) rather than "Column F". If the file has merged cells or several tables on one tab, fix that first.

2. Upload it. In ChatGPT, click +, choose Add photos & files and select the file. OpenAI says Plus and Pro users can also connect Google Drive and Microsoft Teams to pull in existing files.

3. Ask it to describe the data before you ask anything else. This catches most problems before they reach an answer.

Try this prompt

“Before any analysis, describe this file: the number of rows, each column with its type, the date range, missing values, and anything that looks like a duplicate or a total row.”

Run it in Better Analyst

4. Ask one specific question and define your terms. "How are sales doing?" gets a vague answer. Say which metric, how it is calculated, the period and the breakdown.

Try this prompt

“Using net_revenue minus refunds, show monthly revenue for January to October 2026 by region as a table, then as a line chart. Exclude test orders where customer_email ends in @ourcompany.com.”

Run it in Better Analyst

5. Ask to see how it got the number. Ask for the code it ran and the filters it applied. You don't need to read code fluently; you are checking that the date range, filters and grouping match what you asked for.

6. Check one number yourself, then export. Recompute one total in Excel or Sheets (see the checklist below). When it matches, download the table or chart, or copy the summary into your report.

How to check ChatGPT's numbers

Language models can state a number confidently even when the code behind it filtered the wrong rows. The checks below take a few minutes and catch the usual mistakes. We cover the underlying reasons in why AI gets your metrics wrong.

  1. Step 1Row countAsk for the number of rows it loaded and compare it with the row count in your file.
  2. Step 2Date rangeAsk for the earliest and latest date it used; a missing month often means a date column it couldn't parse.
  3. Step 3One total by handSum one column for one month in Excel or Sheets and compare it with ChatGPT's figure.
  4. Step 4Duplicates and total rowsAsk whether any rows repeat and whether a total row was counted as data.
  5. Step 5Metric definitionCheck that revenue, conversions or active users are calculated the way your team calculates them.
  6. Step 6JoinsWhen it combines two files, ask how many rows matched and how many didn't.

If any check fails, tell ChatGPT what is wrong and ask it to redo the step. Don't paste the corrected number into a report without rerunning the analysis, because later figures usually depend on it.

Can ChatGPT analyze Excel files?

Yes, in two ways:

  • Upload the workbook to a chat. Best for questions about the data: summaries, comparisons, charts and a written explanation.
  • Use the ChatGPT add-in inside the workbook. OpenAI's spreadsheets page says the Excel add-in and Google Sheets add-on can build sheets, give insights across tabs, and add and edit formulas, asking permission before making changes. The pricing page lists these extensions as "Limited" on Free and Go and included on Plus and Pro.

OpenAI is clear about the add-in's limits: it doesn't yet support Office Scripts, Power Query or Pivot/Data Model; very large workbooks may not fit in its context window, which can give partial results; and because it can edit the workbook, an unclear request can change or delete data. It also runs separately from your ChatGPT chat history. Keep a copy of the original file before you let it edit. For a wider look at spreadsheet AI tools, see the best AI for Excel.

Where ChatGPT stops for recurring business reporting

None of the limits below matter for a one-off question. They matter when the same analysis has to run every week, on data that changes, for people other than you.

The data has to come to ChatGPT. OpenAI's connectors page names apps such as Google Drive, SharePoint, Airtable, Stripe, Slack and Gmail. On November 18, 2026 it did not name GA4, Google Ads, Meta Ads, Search Console or SQL databases such as BigQuery, Snowflake or Postgres. For those sources the usual workflow is to export a file and upload it, and to do that again each time the numbers change. The plugin list changes, so check the directory in your own account.

Scheduled tasks depend on what ChatGPT can reach. Scheduled tasks are on Go, Plus and Pro, not Free. A task can only use data ChatGPT can reach when it runs, so unless a connected app gives it the source, a recurring report built on uploaded files still needs someone to export fresh files.

Shared dashboards are early. OpenAI's Sites page says Sites can build and share dashboards and is in public beta on eligible Plus, Pro, Business, Enterprise and Edu plans. On Business and Enterprise, visitors can approve read-only access to their own connected tools, and OpenAI notes that this data is available only during an active visit, not to background scheduled tasks.

Every chat restates the definitions. ChatGPT doesn't know that your team counts revenue net of refunds or excludes internal orders unless you tell it, in each conversation, project or custom GPT that runs the analysis.

Checking is your job. The checklist above works, but someone has to run it every time the report is rebuilt.

When a tool built for data work fits better

If the work is a recurring report on live business data, a tool built for that job saves the export-upload-check loop. Better Analyst is built for it:

  • Live connections. It connects to Google Analytics 4, Search Console, Google Ads, Meta Ads, HubSpot, Salesforce, Google Sheets, BigQuery, Snowflake, Databricks, PostgreSQL, MySQL, SQL Server, Redshift and more. See the full list on the data connectors page.
  • Show your work. You can see the exact code behind every request, so the checks above take less time.
  • Dashboards that refresh. The AI dashboard generator turns a plain-English request and a file or connected source into a dashboard. On paid plans, dashboards, scheduled tasks and alerts refresh daily, and you can share a dashboard by link, export it to PDF or embed it.
  • Spreadsheet outputs. Tables export as Excel or Google Sheets.
  • Teams. The Team plan adds a shared workspace with comments and @mentions, and people who only view dashboards are free.

The Free plan includes one connected data source, one AI dashboard and one file download from chat, with no credit card. Paid plans add more; see pricing for what each plan includes.

Large enterprise BI tools such as Tableau and Power BI also cover recurring dashboards on live data, but they are more expensive and usually need someone to build and maintain the reports.

ChatGPT vs a data analysis tool: side by side

ChatGPTBetter Analyst
Uploaded CSV or Excel filesYes (limited on Free)Yes
Live GA4, Google Ads, Meta Ads connectionsNot named on OpenAI's connectors page (Nov 18, 2026)Yes
SQL databases (BigQuery, Snowflake, Postgres)Not named on OpenAI's connectors page (Nov 18, 2026)Yes
Google Drive and SharePoint filesGoogle Drive on Plus and Pro; SharePoint among named connectorsYes
Shows the code behind an answerAsk for itShown for every request
Scheduled workScheduled tasks on Go, Plus, ProDashboards, tasks and alerts refresh daily on paid plans
Shared dashboardsSites, public beta on eligible plansShare by link, PDF or embed
Works inside Excel and Google SheetsAdd-in and add-onExports to Excel or Google Sheets
Writing, research and general questionsStrongFocused on data

For a closer comparison with ChatGPT and Claude, see Better Analyst vs ChatGPT and Claude.

Which should you use?

  • Use ChatGPT alone when you have one file and one question, the analysis won't repeat, or the hard part is the write-up rather than the data. If you already pay for ChatGPT, there is no reason to add another tool for this.
  • Use the ChatGPT add-in when the work is editing the workbook itself: formulas, new tabs and formatting.
  • Use a data analysis tool such as Better Analyst when the data lives in GA4, an ad platform or a database, the same report runs every week, or other people need a dashboard that stays current without you rebuilding it.
  • Use enterprise BI such as Tableau or Power BI when you have a data team that builds and governs dashboards for a large company.

Many people use both: ChatGPT for a quick look at a new file and for drafting the explanation, and a connected tool for the numbers that come back every Monday. For more options, see the best AI data analyst tools.

Ask your connected data a question

Connect GA4, Google Ads, a database or a spreadsheet, ask in plain English, see the code behind the answer, and save it as a dashboard.

No credit card required. Free plan included.

Frequently asked questions

Can ChatGPT analyze data?
Yes. Upload a spreadsheet, CSV or other data file and ask a question in plain English, and ChatGPT returns tables, charts and a written summary. OpenAI's pricing page lists data analysis as limited on the Free plan and included on Go, Plus and Pro. It works on the files you give it, so check one or two of its numbers against the source before you share them.
Is ChatGPT good for Excel analysis?
For a one-off look at a workbook, yes. Upload the file and ask for summaries, pivots, charts or formulas. OpenAI also offers a ChatGPT add-in for Excel and an add-on for Google Sheets that work inside the open workbook. OpenAI says the add-in doesn't yet support Office Scripts, Power Query or Pivot/Data Model, and that very large workbooks may not fit in its context window, which can give partial results.
Can ChatGPT connect to Google Analytics, Google Ads or a database?
OpenAI's connectors page names apps such as Google Drive, SharePoint, Airtable, Stripe, Slack and Gmail, but on November 18, 2026 it did not name GA4, Google Ads, Meta Ads or a SQL database such as BigQuery, Snowflake or Postgres. Check the plugin directory in your own ChatGPT account, because the list changes. Otherwise you export a file from the source and upload it.
How do I check if ChatGPT's data analysis is correct?
Ask it to show the code it ran and to state the row count, date range and filters it used. Then recompute one total yourself in Excel or Sheets and compare. Most wrong answers come from a wrong date range, duplicate rows, a total row counted as data, or a metric defined differently from how your team defines it.
Can ChatGPT run the same analysis every week?
Scheduled tasks are on ChatGPT's Go, Plus and Pro plans, not Free. A scheduled task works from what ChatGPT can reach at the time it runs, so a report built on an uploaded export still needs a fresh export each week. If the data lives in GA4, an ad platform or a database, a tool that keeps a live connection and refreshes the report for you is less work.
Is it safe to upload company data to ChatGPT?
OpenAI's Business page says business data isn't used to train OpenAI models by default. On Free, Go, Plus and Pro, the pricing page lists data training as "Opt-out available", so check the data controls in your settings before uploading anything sensitive, and follow your company's policy on which data can leave your systems.