Basic ยท 9 min read ยท Updated 2026-10-30

Excel and AI: formulas, sales data, Copilot and Gemini

AI writes and explains formulas, tidies messy data and tells you what your sales figures say. This guide shows how, and why you should always check the results.

Excel and AI: why the combination works

Almost every small business has a spreadsheet somewhere: sales figures, hours worked, a stock list, a customer register or a budget. Spreadsheets are powerful, but many people find formulas hard and error messages harder. AI acts like a patient colleague who knows Excel and explains things without making you feel stupid.

There are three ways to use AI with spreadsheets:

  • Ask a general assistant. Tell ChatGPT, Claude or Gemini what you want to calculate and get a ready formula with an explanation.
  • Upload the file for analysis. Most assistants can read Excel and CSV files, calculate summaries and draw charts.
  • Use the spreadsheet's built-in AI. In Excel that is Copilot; in Google Sheets it is Gemini.

Formulas written and explained

The easiest place to start is asking for a formula. Tell the AI which columns hold the data and what result you want. The more precisely you describe your sheet, the more likely the formula works first time.

I use Excel in [language]. My sheet has the date in column A, customer name in B, service in C and the amount in euros excluding VAT in D. There are about 500 rows. In cell G2 I want the total monthly sales for the service named in cell F2. Give me the formula with function names and separators for my Excel language, and briefly explain what each part does.

Excel translates function names into the program's language, and Finnish and Swedish versions usually use semicolons as separators. If a formula does not work, the reason is often that the AI gave you the English version while your Excel is in Finnish or Swedish. Ask for the localised version.

EnglishFinnishWhat it does
SUMSUMMAAdds numbers up
IFJOSCondition: if this, then that
SUMIFSSUMMA.JOS.JOUKKOSum with several conditions
COUNTIFLASKE.JOSCounts rows that meet a condition
XLOOKUPXHAKULooks up a value in another table

AI is also good at explaining formulas someone else built. Paste a long formula you do not understand and ask for a step-by-step explanation. The same works for error messages such as #N/A, #VALUE! or #REF!.

Tip: When you get a formula, test it on a few rows where you already know the right answer. If the result matches, copy it down the whole column.

Analysing sales data

The big win comes when you let AI look at your data and ask questions in plain language: which services sell best, which month was weakest, which customers buy most often, how this year compares with last year. You can do this by uploading the file to an assistant or by using Copilot or Gemini directly in the spreadsheet.

Attached is my business's sales data for the last 12 months (columns: date, product group, quantity, amount). Please: 1) show total sales per month in a table, 2) list the five best-selling product groups and their share of sales, 3) identify the month that deviated most from the average and possible reasons, 4) draw a bar chart of monthly sales. Finally, tell me which findings are certain and which are only guesses.

AI can also tidy messy data: merge customers entered under slightly different names, fix date formats, remove duplicate rows or split one column into two. This is often the most time-consuming spreadsheet work, and it is where hours are easily saved.

Watch out: Do not upload files containing customers' personal data, payroll details or other confidential information to free consumer services. Remove or replace names and contact details first, or use a business version whose privacy terms you have checked.

Copilot in Excel

Microsoft's Copilot is built into Excel. Whether you have it depends on your Microsoft 365 plan: for businesses it is usually a separate add-on licence, and some consumer plans include lighter Copilot features. Check the current details for your own subscription.

With Copilot you can, for example:

  • ask for a formula for a new column by describing what you want to calculate
  • highlight outliers or the largest amounts
  • create a pivot table and chart just by asking
  • ask questions about the sheet, such as "which customer brought in the most sales in autumn?"

Copilot works best when the data is formatted as an Excel table (Insert > Table) with clear column headings. Merged cells and blank rows confuse it.

Gemini in Google Sheets

If your business uses Google Workspace, Gemini is also available in Google Sheets, depending on your plan. It works much like Copilot: in the side panel you can ask for formulas, summaries, charts and table templates. For example, "create a project tracker with task, owner, due date and status" gives you a ready skeleton to edit.

Create a Google Sheets template for weekly sales tracking in a small [industry] business. Columns: week, sales (โ‚ฌ), number of customers, average purchase, change from previous week (%). Give the formulas for every calculated column and instructions for conditional formatting that colours weeks with a drop in red.

For a small business, the choice between Copilot and Gemini usually comes down to which office suite you already use. It is not worth switching suites for the AI alone.

Ready-made templates for everyday business

Many owners do the same calculations by hand over and over. AI builds you a ready template in minutes once you say what you want to track, such as monthly cash flow, hours per customer or site, a stock list with reorder alerts, or a pricing calculator with materials, hours, margin and VAT.

Build an Excel template to track cash flow for the next 6 months in a small [industry] business. Rows: sales income, other income, wages, rent, materials, insurance, taxes, loan repayments, other costs. Columns: months. Add totals for income and costs and the end-of-month cash balance, with the opening balance in cell B2. Give the formulas for my Excel language and explain how to colour the balance red if it goes negative.

A template is only as good as the numbers you put in. Keep forecasts cautious and update actual figures once a month.

Checking the results: do not trust blindly

AI makes mistakes with spreadsheets. It can misread a column, skip rows, mix up amounts with and without VAT, or invent an explanation the data does not support. The answer still looks confident. That is why checking is part of the job.

  1. Check the total. Work out one figure yourself, such as the full-year sales, and compare.
  2. Ask to see the method. Ask which rows and columns were used.
  3. Spot-check. Pick three random rows and make sure they were handled correctly.
  4. Separate facts from interpretation. "Sales fell in November" is a fact. "Because the weather was bad" is a guess.
  5. Keep the original. Always make changes in a copy, never in the original file.
Review the analysis you just did. Tell me which columns and rows you included, whether anything was left out, how you handled blank cells and whether VAT is included in the totals. Then recalculate the grand total a different way and tell me whether the results match.

Decisions such as pricing, hiring or investments should not rest on an AI analysis alone. Use it to find the right questions and discuss important matters with your accountant or another expert. See also AI for small business and presentations and documents.

Frequently asked questions

Do I need Copilot or is free ChatGPT enough?

For writing and explaining formulas, a free general assistant is plenty. Copilot is handy if you work with spreadsheets a lot and want AI inside Excel.

Why does the formula from AI not work?

The most common reason is that it is in English while your Excel is in Finnish or Swedish. Ask for localised function names and semicolons as separators.

Can I trust the AI's analysis?

It is a good aid but it makes mistakes. Check the total, ask to see the method and spot-check before making decisions.

Can I upload my customer register to AI?

Not to free consumer versions. Remove the personal data first or use a business version whose privacy terms you have checked.

Tools in this guide

Read next

๐Ÿ“ฌ Get weekly AI tips

One clear email a week: new tools, practical tips and scam warnings. No spam.

You can unsubscribe at any time. Read the privacy policy.