AI Tools

How to Use AI for Excel and Google Sheets (2026 Guide)

9 min read

TL;DR: You can use AI for Excel and Google Sheets in three ways: ask a free chatbot to write and explain formulas, use the AI built into the apps themselves (Copilot in Excel and Gemini in Sheets), or combine the two. The chatbot method is free, works with any version of either app, and holds the biggest time savings: formulas from plain English, error fixing, data cleaning, pivot recipes and chart choices. Built-in AI can act on your file directly, but the full versions need an eligible paid plan. Every Copilot and Gemini claim below was checked against Microsoft and Google support pages in October 2026.

Published: 17 November 2026. Last checked: 23 October 2026.

What are the three ways to use AI with a spreadsheet?

First, the chatbot method: describe your data to ChatGPT, Claude or Gemini in a browser and paste back the formula it writes. Second, built-in AI: Copilot in Excel and Gemini in Sheets work inside your file and can change it. Third, add-ons and agents that clean or analyse data for you, which sit between the two.

Start with the chatbot method. It costs nothing, works on old files and desktop versions with no AI features, and it teaches you how your formulas actually work as a side effect. Our comparison of the best free AI chatbots and our head-to-head of ChatGPT vs Gemini vs Claude will help you pick which one to keep open beside your sheet.

How do you get AI to write a formula from plain English?

Name the app, the columns and the result you want, and paste in one sample row of data. For example: in Excel, column A has regions, column B has dates, column C has sales; write a formula that totals sales for the North region in 2026. Specific requests produce formulas that work on the first paste; vague requests produce generic ones.

That request returns something like =SUMIFS(C2:C100, A2:A100, “North”, B2:B100, “>=2026-01-01”), and if you ask, the chatbot will explain every part of it. The same pattern handles XLOOKUP lookups against a product table, an IFERROR wrapper so missing values show a friendly message instead of an error, and text jobs like pulling the domain out of an email address. You will find ready-made spreadsheet prompts in our AI prompt library, and our AI prompt generator helps you structure your own.

How do you fix and understand a broken formula?

Paste the formula, the error and a description of your data into a chatbot and ask it to explain what each part does and where it breaks. Formula errors follow patterns: a lookup value that does not exist, numbers stored as text, ranges of different sizes, or a reference that needed dollar signs, like $A$2, to stay fixed when copied.

The built-in tools now do this inside the file. Microsoft’s support pages describe selecting a cell in Excel, choosing the Copilot sparkle icon that appears beside it, and choosing Explain this formula. In Sheets, Google says hovering over an error cell shows a Fix button, and Gemini reviews the formula and analyses the issue. Either way, ask the follow-up question, such as why it works in row 2 but breaks in row 20; that is where the learning happens.

How do you clean messy data with AI?

Ask for one cleaning step at a time, as separate formulas you can check individually: turn JOHN smith into John Smith with PROPER and TRIM, split full names into first and last names, standardise dates into one format. Staged cleaning is easier to verify than one giant formula that does everything, and it shows you where a conversion goes wrong.

In Google Sheets, AI often suggests pattern functions such as REGEXEXTRACT for pulling order numbers out of messy notes. In Excel, remember the built-in Flash Fill on the Data tab (Ctrl+E), which fills a column by example with no AI involved and no data leaving your file. For heavy cleaning, ask the chatbot to describe the steps in order first, then generate one formula per step.

How do you build pivot tables and summaries with AI?

Describe your data and your question, and ask which fields should go in rows, columns, values and filters; then follow that recipe in the pivot editor. For summaries that must update themselves, ask instead for a formula version using SUMIFS and COUNTIFS, or the GROUPBY and PIVOTBY functions in current Excel, which produce pivot-style tables that refresh with the data.

Built-in AI can build the pivot for you. Google’s own documentation gives the example prompt “Create a pivot table that shows the sum of sales by region”: Gemini shows a preview of the action, and you click Apply. In Excel, Microsoft’s training material shows Copilot adding formula columns to a table, with an explanation of each formula and an Insert column button when you are happy with it.

How do you create charts and find insights with AI?

Ask which chart type fits your data and your message before you build anything: a trend over time wants a line chart, a comparison wants bars. Then paste a summary table, never your whole database, and ask what stands out: the fastest growing category, the month that breaks the pattern, the three numbers worth showing a manager.

Check every claim against the numbers before you repeat it. One caveat from Google’s own help pages is worth knowing: when Gemini inserts a chart, it is added to a new tab together with a copy of the underlying data, and the chart does not respond to changes in your original dataset, so rebuild it after big data changes. In Excel, Microsoft says Copilot can surface insights as charts, PivotTables, summaries, trends and outliers when you ask questions about your data.

What can Copilot in Excel and Gemini in Sheets do, and what do they cost?

Both generate formulas, build tables and charts, and answer questions about your data from a side panel. In Excel, open the Copilot pane from the Copilot button on the Home tab; in Sheets, click Ask Gemini at the top right. Neither is fully free: in-app features need an eligible paid plan, which is why the chatbot method stays the default.

For Excel, Microsoft’s Copilot in Excel pages describe generating and explaining formulas, highlighting, sorting and filtering data, and identifying insights. Microsoft notes that Copilot Chat is included at no extra cost with eligible Microsoft 365 plans, while working directly in your workbooks needs a plan that includes Copilot; its pricing page lists bundled business plans with Copilot from $23.50 per user per month paid yearly, checked in October 2026.

For Sheets, Google’s Gemini in Sheets guide lists creating tables and formulas, generating analysis and charts, and performing actions such as conditional formatting, filters, drop-downs and pivot tables. A shortcut worth learning: type = in a cell, then press Ctrl+Alt+G on Windows or Cmd+Ctrl+G on a Mac to ask Gemini for a formula. Google says these features need an eligible Google Workspace or Google AI plan, and work best in native Sheets files, so convert an .xlsx file first with File, then Save as Google Sheets.

Route Works in Cost Watch out for
Chatbot method Any Excel or Sheets version Free chatbot tiers You paste formulas back and forth; verify output
Copilot in Excel Microsoft 365 apps Eligible paid Microsoft 365 plan Your licence decides which features appear
Gemini in Sheets Google Sheets Eligible Workspace or Google AI plan Inserted charts do not track the original data

How do you check AI spreadsheet output and keep your data safe?

Verify every new formula on a few rows where you already know the answer, and sanity check any total against a rough mental estimate before it reaches a report. AI spreadsheet errors are usually silent rather than spectacular: a range that stops one row early, or numbers stored as text that quietly drop out of a sum.

  • Use fake sample data. Describe the structure with invented rows instead of pasting real customer names, salaries or account numbers into a chatbot.
  • Watch for locale differences. Many regions use semicolons instead of commas as formula separators; if a pasted formula fails at once, ask for it rewritten for your version.
  • Keep the explanation. When AI writes a complex formula, paste its explanation into a cell note so future you understands it.
  • Keep a hand on decisions. Do not let an unchecked AI formula feed pay, tax or pricing decisions.

Frequently asked questions

Is the chatbot method really free?

Yes. The free tiers of ChatGPT, Claude and Gemini all handle formula writing, error fixing and cleaning recipes, and the method works in any spreadsheet app, including older desktop Excel with no AI features at all. You only need a paid plan when you want the assistant inside the file, acting on your data directly.

Does Gemini in Sheets work on an Excel file?

Only after conversion. Google’s documentation says Gemini features work best with native Google Sheets files, and tells you to open the .xlsx file and choose File, then Save as Google Sheets, before using them. Your original Excel file stays untouched, so the conversion is safe to try.

Why does a pasted formula show an error straight away?

The usual cause is locale: many regional versions of Excel and Sheets expect semicolons between arguments instead of commas, and some expect different decimal separators. Tell the chatbot which app and region you use and ask it to rewrite the formula for that version; this fixes most instant failures.

Can the built-in AI change my spreadsheet directly?

Yes, within limits. Gemini in Sheets performs actions such as formatting, filtering and creating pivot tables, but shows you a preview card first and only applies the change when you click Apply. Copilot in Excel suggests formula columns with explanations and inserts them when you choose to. In both cases, check the result on known rows before trusting it.

What should you try first?

Pick one recurring report and rebuild its hardest formula using the chatbot method this week, keeping the explanation in a note beside it. Then try one cleaning job and one pivot recipe. Our guide to writing better AI prompts and our Gemini tips and tricks will sharpen the questions you ask, and the roundup of the best free AI tools covers what to add next. Within a month of monthly reports, the saved hours will justify the habit.

deerajkiran

The Savozi team writes practical, tested guides on AI, tech and money, free forever.

Keep reading

AI Tools

10 Free AI Tools for Writers in 2026

Ten free AI tools for writers in 2026: drafting, paraphrasing, grammar, readability, and editing tools with honest free limits, plus a complete free writing workflow.

10 min read
AI Tools

7 Best AI Search Engines in 2026 (Beyond Google)

Seven AI search engines compared for 2026: Perplexity, Google AI Mode, ChatGPT Search, Copilot, Brave, DuckDuckGo, and Kagi, with free-tier limits, the best use for each, and what happened to Phind and You.com.

10 min read

Join the discussion

Your email address will not be published. Required fields are marked *