You use AI in Excel by giving it a clear task with your data context attached: paste or connect your sheet, describe the outcome you want, and then verify the formulas and results the AI produces rather than accepting them blindly. Copilot for Microsoft 365, Excel Labs, Gemini in Google Sheets, and general-purpose models such as ChatGPT or Claude can now write formulas, clean inconsistent columns, summarise tabular reports and explain what a chart is actually showing — but only when you treat them as a fast junior analyst, not as an oracle.
Which AI tools actually work inside Excel and Google Sheets?
Before you decide how to use AI in Excel, it helps to know where the AI lives. Some options are built into the product, others are add-ins or external assistants, and they differ sharply in cost, data access and accuracy.
Microsoft 365 Copilot in Excel
Copilot is embedded in the desktop Excel for Microsoft 365 and can read the active workbook to build columns, summarise table data, spot outliers and generate charts from a natural-language request. It is the most "native" experience, but it requires a Copilot licence and works best on structured Excel Tables rather than loose ranges scattered with merged cells.
Excel Labs, Analyze Data and Copilot Lab
Even without a full Copilot licence, Excel offers useful AI-adjacent tools: Analyze Data automatically proposes insights and pivots from a selected range, and the free Excel Labs add-in gives advanced users access to the Python in Excel environment and experimental AI features. For formula-heavy work, these two often deliver more value per euro than a licence you never fully use.
Google Sheets + Gemini
Google's Sheets now includes Gemini-powered features such as "Help me organise", "Help me visualise" and "Help me analyse". Gemini is strong at turning a messy block of notes into a structured table, generating spreadsheet formulas from a plain-English description, and drafting formulas that Sheets would otherwise require a lookup specialist to write.
Bring-your-own assistant: ChatGPT, Claude, Gemini, Copilot in the browser
The most flexible route is still an external assistant. Paste a sample of your data (not your entire customer database), ask for the exact formula or script you need, and paste it back into Excel or Sheets. Models here are genuinely useful for explaining a legacy formula you inherited, rewriting a slow VLOOKUP as a XLOOKUP or INDEX/MATCH, or generating the Office Script or VBA macro that automates a repetitive monthly task.
AI agents that sit on top of your spreadsheets
A growing category uses AI agents that read, monitor and act on spreadsheet data on a schedule — flagging anomalies, drafting follow-up emails from a CRM export, or keeping a pricing table consistent across files. This is where spreadsheet work stops being manual and starts behaving like software. The trade-off is that agents multiply both productivity and the cost of a mistake, so the verification layer described below becomes non-negotiable.
Five practical ways to use AI in spreadsheets right now
Here is the part that matters: concrete applications you can run this week, ranked by how quickly they pay back the time you spend learning them.
1. Clean and standardise messy data
Real business data arrives inconsistent: "U.S.", "USA", "United States"; dates in three different formats; phone numbers with country codes, spaces and hyphens. AI is excellent at this category of work. Ask it to propose a normalisation rule for a column, to write the nested formula that performs that cleaning, or to generate the Power Query transformation or Python script that handles all 40,000 rows at once. The time saving here is enormous, because data cleaning is usually where spreadsheets quietly consume the most hours.
2. Generate and explain formulas you would not write yourself
Excel and Sheets carry formula libraries that most users never reach: XLOOKUP, LET, LAMBDA, FILTER, dynamic arrays and Power Query. Ask the model for the formula and the explanation, then test it on a five-row sample before applying it to the full column. A good prompt reads: "Here are my three column headers and two sample rows. Write an XLOOKUP that returns the price for each SKU in column A from the price table on the 'Catalog' sheet, case-insensitive, returning 'Not found' when missing — then explain it step by step."
3. Summarise long reports and pasted documents
Most spreadsheet work is not spreadsheet work — it is a PDF, an email thread or a Word document that eventually has to land in a column. If you are constantly turning long documents into rows, our guide on using AI to summarise long documents shows the extraction pattern that works reliably: summarise first, structure second, and let a human check the numbers that will end up in a model.
4. Build dashboards and charts from a description
Pivot tables and charts are the most AI-friendly parts of a spreadsheet because the desired output is visual and easy to check. Ask for a chart and then critique it yourself: is the time range right, is the comparison fair, is a percentage being shown as an absolute number? The model is fast at building; the judgement about what to show stays with you.
5. Forecast and run scenario analysis
AI can draft trend lines, seasonality assumptions and sensitivity tables, and can write the formulas that make a scenario switch from "base" to "best" to "worst" in one click. Treat every forecast as an assumption set you are willing to defend, not as a prediction the model "knows". This matters most in finance, tax and health-related spreadsheets, where the professional still has to own the conclusion — AI assists the analysis, it does not replace professional judgement.
How to write prompts that produce trustworthy spreadsheet output
The difference between AI that saves you an afternoon and AI that introduces a silent error comes down to the prompt. Three habits cover most of it.
Give the model your column context
Never say "write me a formula for revenue". Say: "Column A holds dates as DD/MM/YYYY, column B holds product names, column C holds net revenue in EUR, and there is a separate sheet called 'Targets' with month keys in column A. Give me the year-over-year revenue growth formula." Specificity is not verbose — it is what stops the model from inventing a structure you do not have.
Ask for the formula and the explanation together
If you cannot explain what a formula does, you cannot audit it. Requiring the explanation turns a black box into a reviewed artefact and usually exposes the assumptions the model made on your behalf.
Force a verification step
Ask the model to list the three most likely failure points in the formula it just produced, and to suggest a test that would catch each one. Then run those tests yourself on a small sample. This single habit is worth more than any prompting technique.
Where AI in spreadsheets fails — and how to catch it
AI assistants can hallucinate: they will confidently produce a formula that references a sheet that does not exist, an invented API, or a financial figure presented with false precision. This is not a niche risk in spreadsheet work, because a wrong number in a model propagates silently into every chart and decision downstream. Before you trust a number that came out of an assistant, check it. Read our explainer on AI hallucinations: what they are and how to avoid them — the verification habits there apply word for word to spreadsheets.
Three structural risks deserve extra caution:
- Formula drift. An AI-written nested formula works on your sample and fails on real rows containing blanks, text-in-number-columns or trailing spaces.
- Data exposure. Pasting customer, employee or financial data into a public chatbot may violate your own privacy policy. Use enterprise-grade tools where your organisation requires it, and paste samples rather than full files wherever possible.
- Over-trust in the first version. The first answer is usually directionally right and technically imperfect. Treat it as a draft to edit, not a finished deliverable.
How to get started this week
- Pick one recurring task that you do in a spreadsheet at least once a month — cleaning, reporting or summarising.
- Take a five-row sample of that data and remove anything sensitive.
- Describe the outcome, the structure and the edge cases in a single prompt, and ask for both the formula and the explanation.
- Test on the sample, then run the formula on the full sheet in a temporary column.
- Write down the prompts that worked. A personal library of three or four tested prompts compounds in value far faster than learning another tool.
That last step is the one most people skip. The teams that get real value from AI in spreadsheets are not the ones that tried everything; they are the ones that turned one messy task into a repeatable, documented workflow — and then built on it.
Frequently asked questions
Can I use AI in Excel for free?
Partly. You can use external assistants such as ChatGPT, Claude or Gemini for free tiers to generate and explain formulas, or to build cleaning logic that you then run inside Excel. Excel's built-in Analyze Data and the free Excel Labs add-in are also available without a Copilot licence. Full in-app Copilot for Microsoft 365, however, requires a paid Microsoft 365 Copilot licence.
Is it safe to paste company data into an AI tool?
Only if your organisation's policies allow it. Many assistants use your prompts to improve their models unless your contract explicitly opts out, so customer, employee or financial data should generally be anonymised or replaced with a representative sample first. Use enterprise-grade versions of the tools where compliance matters, and never paste data you would not be comfortable exposing if it were mishandled.
Will AI replace Excel skills like formulas and PivotTables?
No — it replaces the memorisation of syntax, not the need for judgement. You will still need to understand what a lookup does, what a clean dataset looks like and whether a chart tells the truth about your numbers. Those concepts are what let you review an AI-generated formula instead of guessing. In regulated fields such as legal, tax and health, the professional remains responsible for the final number.
Learn to apply this with the AI4Life course at AizuaLabs Academy. Free Module 0. Start free →