A business owner holds a magnifying glass over a grid of colored blocks that line up into a simple rising bar chart under the lens.

Can AI Analyze My Spreadsheet? How to Get Right Answers From Copilot in Excel or Gemini in Sheets

Asked AI about your sales spreadsheet and got a number that doesn't add up? How to prepare the export, get Copilot in Excel or Gemini in Sheets to build pivot tables you can check, and catch wrong totals.

You exported a year of sales from your booking system or point of sale. It's a few thousand rows. You want simple answers: which service brings in the most, which months were slow, which customers haven't been back.

So you ask an AI tool. It answers in seconds, with confidence.

Then you add up one column yourself and the numbers don't match.

AI can analyze a spreadsheet. The trick is to make it do the work inside the spreadsheet, with formulas and pivot tables you can check, instead of handing you a number you have to take on trust.

The quick answer

  1. Clean the export first: one header row, one row per sale, amounts stored as numbers, no totals in the middle.
  2. Use the AI built into your spreadsheet: Copilot in Excel on Microsoft 365, or Gemini in Google Sheets on Google Workspace.
  3. Ask it to build a pivot table or a formula, not to tell you the answer.
  4. Check one total by hand before you act on anything.
  5. Save the prompts that worked and reuse them next month on the new export.

Which AI tool to use for a spreadsheet

Use the one that sits inside the spreadsheet app you already have. It can see the whole sheet and put its work in the file, where you can check it.

As of November 2026:

If your business uses

Use

What it needs

Microsoft 365

Copilot in Excel (the Copilot icon in the lower-right corner of Excel)

A Copilot Chat-eligible business plan for standard access, or a paid Microsoft Copilot license for priority access

Google Workspace

Gemini in Sheets (Ask Gemini at the top right)

An eligible Google Workspace or Google AI plan

Microsoft's Copilot in Excel FAQ lists the eligible licenses. Without the paid license you'll see M365 Copilot (Basic), and Microsoft's Copilot overview says that standard access depends on service capacity and can vary through the day. Google's requirement is on its Gemini in Sheets help page.

A general chat tool can also take an uploaded file: Microsoft's Copilot overview says Copilot Chat works with a file you upload, and most other chat tools (ChatGPT, Claude) accept files too. That's fine for a quick look. But the answer lives in the chat, not in your sheet, so it's harder to check. For anything you'll act on, use the built-in one.

Step 1: Get the export into shape

This matters more than which AI you use. A messy sheet confuses AI the same way it confuses people. It just doesn't say so.

Before you ask anything:

  • One header row with plain names: Date, Customer, Service, Amount, Paid.
  • One row per sale or job. No subtotal rows, no blank rows, no merged cells.
  • Amounts stored as numbers, not text. Microsoft's PivotTable guide warns that if Excel reads a column as text, a pivot table counts it instead of adding it up. A "$1,200 approx" in the middle of the column does exactly that.
  • Dates as dates, all in the same format.
  • No duplicate rows. An export can repeat a row. Work on a copy, since removing duplicates deletes them for good. In Google Sheets, select the data and click Data > Data cleanup > Remove duplicates (Google's steps). In Excel, Data > Remove Duplicates (Microsoft's steps). Pick the columns that make a row unique, like Date, Customer and Amount, so two real sales on the same day aren't merged into one.
  • Delete what the question doesn't need. Asking about sales by service? Remove customer emails and phone numbers from the copy you work on.

Then, in Excel, select the data and choose Insert > Table, which the same Microsoft guide recommends for pivot table data. In Google Sheets, Google says Gemini works best with native Google Sheets files, so if the export is an Excel file, convert it to a Google Sheets file before you ask. Open it from Drive, then click File > Save as Google Sheets (Google's steps). Google says your Excel file isn't changed.

Step 2: Ask for a pivot table, not an answer

Here's the habit that fixes most wrong answers.

Don't ask: "Which service made the most money last quarter?"

Ask:

Create a pivot table on a new sheet showing total Amount by Service for July to September 2026, sorted from highest to lowest. Use the Date column to filter.

Now the answer is a pivot table built from your data. You can click into it, see what's included and change it. If it's wrong, you can see why.

Copilot in Excel works this way by design. Microsoft says it uses Excel's own tables, charts, PivotTables and formulas to complete requests. Gemini in Sheets can create formulas, pivot tables and charts too.

Copilot in Excel: pick the mode first

Microsoft's getting started guide lists three modes. Allow editing (the default) changes the workbook directly. Plan shows its plan before it does anything. Chat only answers without touching the file.

For a first try, use Plan and read the plan before you approve it. And work on a copy of the export, not the original.

Two Excel details that stop Copilot cold:

  • Microsoft says Copilot editing only works when calculation is set to Automatic. Check it under Formulas > Calculation Options (the Calculation group on the Formulas tab).
  • Old or unusual file formats can give an "Unsupported file state" message. Save as a normal Excel Workbook (.xlsx). A file checked out in SharePoint can do the same.

Gemini in Sheets: insert what you want to keep

Open the sheet and click Ask Gemini at the top right. Google notes that the conversation is lost if you reload the page or close the sheet, so insert anything useful into the sheet before you leave. Charts Gemini makes from a normal sheet don't update when the data changes; make a new one next month.

Questions worth asking

Copy these and swap in your own column names:

Make a pivot table of total Amount by month for 2025 and 2026, side by side. Then add a column showing the change from 2025 to 2026 for each month.

Add a column called Last Visit that shows each customer's most recent Date. Then filter to customers whose last visit was more than 90 days ago.

Which invoices have Paid = No and a Date more than 30 days ago? Put them on a new sheet and total the Amount with a SUM formula.

Write a formula that counts how many jobs each Service had last month. Explain the formula in one sentence.

That last line matters. Asking for an explanation of the formula tells you what it's actually counting.

Step 3: Check one number yourself

Microsoft's own FAQ says Copilot in Excel "can sometimes make mistakes, misinterpret information, or produce inaccurate results." Google says the same of Gemini. So check before you act.

Two minutes is enough:

  1. Pick the biggest number in the result.
  2. Recalculate it without AI. Filter the column and add it up with a SUM formula, or build a quick pivot table yourself: Insert > PivotTable in Excel, Insert > Pivot table in Google Sheets.
  3. Compare. If it's off, look at the rows. The usual culprits: a date range that's one month off, amounts stored as text, refunds counted as sales, or duplicate rows from the export.

If the decision costs real money (dropping a service, hiring, changing prices), check two numbers, not one.

Why AI gets spreadsheet answers wrong

When a chat tool answers a question about a file in plain words, you can't see what it added up. It may have skipped rows, read the wrong column or treated text as numbers. The same goes for free-text survey answers: our guide to sorting survey answers with AI shows how to get counts you can check.

A formula or pivot table can't hide that. It either points at the right cells or it doesn't. That's why asking AI to build the calculation, rather than give the result, is the single best habit here. How do I stop AI from hallucinating in my business documents? covers the same idea for text.

If the numbers already went out wrong

It happens. A wrong total went into a report, a quote or a meeting.

  • Find the cause first. It's almost always one of the culprits above, not the AI "lying".
  • Fix the sheet, then rerun the pivot table, and send the corrected figure with one line saying what changed.
  • Add the check step to whatever process produced it.

Making it a monthly habit

  • Same export, same columns, same day each month. Consistent data makes the AI more consistent.
  • Keep a prompts tab in the workbook with the questions that worked.
  • Keep customer details out. Use your work account, remove names and contact details from analysis copies, and never upload payroll, health or bank details to see "what it finds". Is it safe to put business data into AI tools? covers the settings.
  • Want the same numbers every week without asking? That's a dashboard, not an AI question. The only marketing dashboard a small business needs shows what to put on one.

When to get help

  • Your data lives in three systems (accounting, booking, a CRM) and none of the exports match up.
  • You don't see the Copilot or Gemini button and can't tell whether it's your plan or an admin setting.
  • You want the AI turned on for staff, with the right accounts and data settings, before anyone uploads customer files.

If you'd like a hand with any of that, talk to us.

Related reading

Originally published March 2025. Updated November 2026.

No comments yet

Managed Nerds Weekly

Get the week's posts in one email

New IT, security and SEO posts every Monday. That's it.