Everyday AI · Spreadsheets and data

How to use AI with spreadsheets and data

How to use AI for spreadsheets: write Excel and Google Sheets formulas, clean messy data, make charts and analyse a file without coding. The best free and open-source AI data tools.

Updated 3 min read 7 tools

Short answer

Describe what you want in plain words and let AI write the formula, clean the data or run the analysis. Copilot in Excel and Gemini in Google Sheets work inside your spreadsheet; ChatGPT and Claude can analyse an uploaded file and make charts for free; and Google Colab with Gemini, or the open-source Jupyter AI, write Python for bigger data. Always check a few results by hand.

What AI is good at here

  • Write and explain formulas: lookups, nested IFs, date maths, text splitting.
  • Clean messy data: fix inconsistent names, split columns, find duplicates.
  • Summarise a sheet: totals, trends, outliers and "what changed since last month?"
  • Make charts and pivot tables from a sentence.
  • Write scripts and macros that automate the dull, repeated steps.

The best tools

Free and open-source options are marked. Free plans and prices change often, so check each site before you commit.

  1. Analyse a file, free

    ChatGPT Free plan

    OpenAI · Upload a CSV or Excel file and ask questions. It writes and runs Python behind the scenes and shows charts. File uploads are limited on the free plan.

  2. Careful analysis and reports

    Claude Free plan

    Anthropic · Reads spreadsheets and data files, runs analysis code and can build an interactive chart or dashboard you can share.

  3. Inside Excel

    Copilot in Excel Paid

    Microsoft · Suggests formulas, highlights trends and builds pivot tables and charts from a question, on Microsoft 365 plans with Copilot.

  4. Inside Google Sheets

    Gemini in Sheets Paid

    Google · Builds tables, formulas and charts from a , and an AI function that can classify or summarise text cell by cell.

  5. Python without setup

    Google Colab Free

    Google · Free notebooks in the browser with Gemini built in to write and fix pandas code for you. Handles files too big for a spreadsheet.

  6. Open-source notebooks

    Jupyter AI Open source

    Project Jupyter · Adds a chat assistant to JupyterLab that can use many model providers, including local models through Ollama.

  7. Free office suite

    LibreOffice Calc Open source

    The Document Foundation · A free, open-source spreadsheet that opens Excel files. Pair it with any for formula help.

A simple workflow

  1. Describe your data: the column names, what one row is, and a few example rows (made-up or anonymised if it's sensitive).
  2. Say the goal, not the formula: "For each customer, total sales in 2026, ignoring refunds."
  3. Ask it to explain the formula in a sentence, so you can spot wrong assumptions.
  4. Test on a few rows you can check by hand before filling the whole column.
  5. For analysis, ask for the method too: what it filtered, how it handled blanks and outliers.
  6. Save the result as a formula or script, not just a number, so you can rerun it next month.

Prompts to copy

Swap the parts in [brackets] for your own details.

Formula
In Google Sheets, column A has dates, B has customer names and C has amounts (refunds are negative). Write a formula for total sales per customer in 2026 excluding refunds, and explain how it works.
Clean up
Here are 20 rows from my sheet. The company names are inconsistent ("Acme Ltd", "ACME", "Acme Limited"). Suggest a cleaned name for each, and a formula or steps to do this for all 3,000 rows.
Analysis
Analyse this file. First describe the columns and any data problems. Then tell me the 3 most important trends, with a chart for each, and say exactly how you calculated them.

Tips for better results

  • Say which tool and version you use: Excel, Google Sheets and LibreOffice formulas differ.
  • Use named ranges or tables so formulas stay readable when AI writes them.
  • Ask for an "audit column" that flags rows where the formula found something odd.

Watch out for

Understand how it works, free

Questions

Can AI write Excel formulas?

Yes. Describe your columns and what you want to calculate, and any chatbot will write the formula and explain it. Copilot in Excel and Gemini in Google Sheets do it inside the spreadsheet.

What is the best free AI for data analysis?

ChatGPT and Claude can analyse uploaded files and make charts on their free plans, within limits. Google Colab is free and has Gemini built in to write Python for larger datasets.

Can AI analyse data without me knowing how to code?

Yes. Tools like ChatGPT, Claude and Copilot write and run the code for you. It still helps to ask them to explain each step, so you can catch mistakes.

More everyday AI guides

Know a better tool? Suggest an edit