AI for spreadsheets: formulas, cleanup and reports without the headache

The short version

Most owners don't need a new tool for spreadsheets. The AI in Excel and Google Sheets can write the formula, tidy the mess and sum up the numbers, if you check what it hands back.

It's Sunday night. You've got a customer list with names in three formats, a jobs sheet where half the dates are text, and a report you need by Monday. You know the answer is a formula. You just can't remember which one.

That's the job AI is good at. It can write the formula, clean the column and sum up the numbers in plain words. It can also get a number wrong without any warning, and a wrong number in a quote or a payroll sheet costs real money. So this post is about both: what to hand to AI, and how to check it before you trust it.

It's one piece of AI for a small business, and one of the cheapest places to start.

What the words mean

  • Formula: a short instruction in a cell that does the math or the lookup for you, like adding a column or finding a customer's phone number.
  • Prompt: what you type to the AI, in everyday words. "Add a column that shows days since the invoice date."
  • Copilot: Microsoft's name for its AI helper inside Excel and other Microsoft 365 apps.
  • Gemini: Google's name for its AI helper inside Sheets, Docs and Gmail.
  • PivotTable: a summary table that adds up your rows by a category, like sales by month or jobs by crew.

Step 1: Get the sheet ready first

Every tool below works better on tidy data, and Microsoft says so in plain terms. Its page on Analyze Data in Excel (read December 2026) says the feature works best when your data is an Excel table with one row of unique headers, and no merged cells or double header rows. It also says dates stored as text get analyzed as text.

So before you ask AI anything:

  1. Put one header row on top. One word or short phrase per column.
  2. Unmerge any merged cells.
  3. Make sure dates are real dates, not text that looks like dates.
  4. Make a copy of the file. Work on the copy.

That fourth step matters most. If the AI makes a mess, the original is still sitting there untouched.

Step 2: Ask for the formula in plain words

This is the best first use. Say what you want, name the columns, and say what the result should look like.

Prompts you can copy

  • "In column F, show how many days it's been since the date in column C."
  • "Look up each customer's phone number from the Customers sheet by matching the email in column B."
  • "Add a column that says Overdue if the due date in D is before today and the Paid column is blank."
  • "Sum the total in column E for each month in column C."

Microsoft's Copilot in Excel page says it can apply formulas across sheets, answer questions about your data and summarize it. Google's Gemini in Sheets help page says Gemini can write formulas and fix formula errors. Both pages were read in December 2026, and features and plan names change, so check what your plan includes today.

Read what you get. A formula that returns a number isn't the same as a formula that returns the right number.

Step 3: Clean up the mess

Messy data is where the busywork hides. Two of the most common messes:

Names, phone numbers or addresses in the wrong shape. Excel has a free feature called Flash Fill that spots a pattern from your example. Per Microsoft's Flash Fill page, you type the result you want in the first cell, then press Ctrl+E (or use Data, then Flash Fill) and Excel fills the rest. It doesn't need an AI plan. The results depend on your example, so scan the filled cells before you rely on them.

A column that needs sorting, flagging or highlighting. Ask the AI: "Highlight every row where the balance is over 60 days old." Microsoft's page says Copilot can sort, filter and apply conditional formatting. Google's says Gemini can too.

Two cautions:

  • Cleanup changes your data. That's why the copy comes first.
  • Google's page notes that Gemini's chat history is lost if you reload or close the sheet, and that undo only reverses Gemini's last action, and only until you make another change. If a clean-up looks right, save the file as a new version right then.

Step 4: Ask questions of your numbers

You don't have to build a report to learn something. You can ask.

Questions to try on a jobs or sales sheet

  • "Which month had the most revenue?"
  • "Which five customers have the largest unpaid balances?"
  • "Are there any rows that look like outliers?"
  • "Make a chart of jobs per month for the last year."

Excel's Analyze Data does this in plain language and gives you tables, charts or PivotTables you can drop into the workbook, per Microsoft's page. Copilot in Excel can answer questions with charts, summaries, trends or outliers. Gemini in Sheets can summarize a sheet, point out trends and build pivot tables, per Google.

Then check. Pick two numbers from the answer and add them up yourself with a filter or a calculator. If they match, you can trust the pattern. If they don't, ask the AI to show the formula it used.

Step 5: Know the limits before it costs you

A few things to keep in mind:

  • Check the file type. Google's page says Gemini in Sheets works best on native Google Sheets files, and an Excel file has to be saved as a Google Sheet first.
  • Know which mode you're in. Microsoft's page lists three: edit (the default) changes your workbook directly, plan shows you the steps to approve before it changes anything, and chat only answers questions. Phones are chat only for now. If you're nervous, start in plan mode.
  • Charts may not update. Google says charts Gemini builds from regular data don't update when the source data changes.
  • Review everything. Microsoft's page tells you to review results, and Google says Gemini may suggest inaccurate information and that you should verify it. That's the vendor telling you to check.
  • Payroll, taxes, pricing and legal. Don't let AI be the last pair of eyes on any of them. This is general information, not tax or legal advice.
  • Shared sheets. Google's page notes that in shared or external spreadsheets, Gemini-generated content may be visible to people outside your domain. Before you share, look at what was added.

If your sheet has customer names, phone numbers or other private data, read is ChatGPT safe for business data before you paste it into any free chat tool. Using the AI that's built into the tool you already pay for is often the simpler lane. Our posts on Microsoft Copilot and Gemini in Google Workspace cover plans and what each company says about your data. And for spotting wrong answers, see how to spot AI mistakes.

A simple weekly routine

  1. Pick one sheet you fight with every week.
  2. Copy it, tidy the headers and dates.
  3. Ask for one formula or one cleanup, in plain words.
  4. Check two results by hand.
  5. Save a new version and note what you changed in a cell at the top.

Do that for a month and you'll know what's worth your time. The AI time savings calculator can help you put a number on the hours.

Frequently asked questions

Do I need a paid plan to use AI in Excel or Google Sheets?

Not for everything. Flash Fill in Excel is a built-in feature that spots patterns from your example. Microsoft's page says Copilot in Excel has to be included in your Microsoft 365 subscription and turned on by your organization, and Google says Gemini in Sheets needs an eligible Workspace or Google AI plan. Plans and names change, so check the vendor page the day you decide.

Can AI fix a messy customer list?

It can help with a lot of it: splitting names, sorting, flagging rows and highlighting problems. It works best when the sheet has one header row, no merged cells and real dates. Work on a copy, since cleanup changes your data, and check a sample of the results before you use the list.

Can I trust the numbers AI gives me?

Check them. Microsoft's page says to review results, and Google says Gemini may suggest inaccurate information. Add up two or three numbers by hand, or ask the AI to show the formula. Don't let it be the final check on payroll, taxes or prices.

Should I upload my spreadsheet to a free chatbot?

Think before you do. If the sheet holds customer details or other private data, read our post on whether ChatGPT is safe for business data first. Using the AI built into the spreadsheet tool you already pay for is usually the simpler lane.

Where Di-Hy fits

If your office loses hours every week to the same sheets, we'd look at what you already pay for, set it up, train your team and keep it running. That work is part of Cut the Busywork. To see what the time is worth first, try the AI time savings calculator, or ask for the free hands-on audit.

General information based on Microsoft and Google help pages as read in December 2026. Not tax or legal advice.

Charles Holmes IV
Written by Charles Holmes IV
Founder of Di-Hy Digital, based in Ybor City, Tampa. He sets up and runs the systems he writes about.
More about us →

Want us to take a look?

Tell us what's not working. Charles reads every message and replies himself. The first call is free.

Thanks, it's in.

We'll be in touch soon. Prefer email? dihydigital@gmail.com

Not ready for a call?

Get the free audit. You get your three biggest fixes, ranked, in plain English, before you talk to anyone.

Get the Free AI Audit →