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.
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.
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.
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.
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.
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.
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.
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.
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
- Describe your data: the column names, what one row is, and a few example rows (made-up or anonymised if it's sensitive).
- Say the goal, not the formula: "For each customer, total sales in 2026, ignoring refunds."
- Ask it to explain the formula in a sentence, so you can spot wrong assumptions.
- Test on a few rows you can check by hand before filling the whole column.
- For analysis, ask for the method too: what it filtered, how it handled blanks and outliers.
- 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.
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.
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.
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
- Data is everythingBeginner · 5 min
- Lines and curves: regressionIntermediate · 6 min
- Is my model any good?Intermediate · 6 min
- What is an AI agent? A simple explanation with examplesBlog
- Prompt engineering for beginners: 8 techniques that workBlog
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
- How to use AI to make better videosVideo
- How to edit photos with AIPhoto editing
- How to make great images with AIImage generation
- How to use AI to write betterWriting
- How to use AI for emailEmail
- How to make presentations with AIPresentations
- How to use AI for researchResearch
- How to use AI for meeting notes and transcriptionMeetings and transcription
- How to use AI for music, podcasts and audioMusic and audio
- How to build apps and automate tasks with AI, without codingCoding for non-coders
- How to use AI to study and learn fasterStudying