◆ AI All-in-One

Level 1 Use AI · Using AI in Your Work

AI for Data and Spreadsheets

AI can explain and write spreadsheet formulas, clean messy data, run quick analyses and draw charts from an uploaded file. The trick is to make it calculate with real tools instead of "in its head", and to check the numbers before anyone relies on them.

Level
●●●●● Beginner
Reading
9 min
To learn it well
30 minutes to read, an afternoon to practise
↗ Plan a path here

Read first

Asking Well: Everyday PromptingChecking AI Output

This leads to

—
The full path from zero — 6 concepts before this one
  1. What Is AI?
  2. How Machines Learn
  3. Large Language Models, Explained Simply
  4. AI Fluency: Working Well with AI
  5. Asking Well: Everyday Prompting
  6. Checking AI Output
  7. AI for Data and Spreadsheets

Read them roughly in this order. See it on the concept map →

Why it matters

Spreadsheets run the world's offices. Budgets, rotas, sales trackers, stock lists, survey results, expense reports. Many people who use them every day know a handful of formulas and spend hours on work that a more experienced colleague would do in minutes: looking up values from another sheet, cleaning up inconsistent names, summarising thousands of rows by month and region.

AI closes much of that gap. You can ask in plain English for a formula and get one with an explanation; paste a confusing formula a predecessor left behind and get it explained line by line; upload a messy export and get it cleaned; ask "which products are declining?" and get a table and a chart. But numbers are also where AI errors do the most quiet damage. A wrong total in a board pack looks exactly like a right one. This chapter shows how to get the help and catch the errors.

The intuition: calculator versus guesser

Language models are text predictors (see Large Language Models, Explained Simply). Asked "what's the total of this column?" in a plain chat, a model reads the numbers as text and predicts what the total probably is. For a few small numbers it is usually right. For a long column, or numbers with many digits, it can be slightly or badly wrong, while sounding just as sure.

Modern assistants get round this with a data analysis tool: instead of guessing, the assistant writes a small program, runs it on your actual file, and reports the result. ChatGPT, Claude and Gemini all have such a feature (the names vary and change; look for "data analysis", "analysis tool" or "code execution"). The Copilot in Excel and Gemini in Sheets features work inside the spreadsheet itself.

your data 3,000 rows Guess "in its head" reads numbers as text, predicts a likely answer Calculate with a tool writes a small program or formula, runs it on the actual file (data analysis, Excel, Sheets) "Total: £482,310" may be slightly off "Total: £481,962.40" exact, and traceable both sound equally confident so you can't tell from the answer Either way, check: row count · grand total vs your sheet · three spot checks · definitions
Fig. 1 Two ways an AI can answer a question about your data. Guessing from the text in the chat is unreliable for totals and counts. Running a calculation on the actual file gives exact answers you can trace, though you still need to check it understood the question.

Key idea For any number that matters, make the AI calculate (with its analysis tool, or by giving you a formula), not estimate. Then sanity-check the result yourself.

In practice

Getting a formula written

Describe your sheet's layout precisely: which columns hold what, which row the data starts on, and what you want. Example:

In Google Sheets, column A has dates, column B has region names
(North, South, East, West), column D has sales amounts. Data is in
rows 2 to 5000. I want the total sales for North since 1 January 2025
in cell G2. Give me the formula and explain each part simply.

A good answer:

=SUMIFS(D2:D5000, B2:B5000, "North", A2:A5000, ">="&DATE(2025,1,1))

with an explanation: SUMIFS adds up column D, but only for rows where column B says "North" and the date in column A is on or after 1 January 2025. Test it on a case you can check by hand (filter the sheet to North and 2025 and look at the total in the status bar).

Other formulas people often need help with: looking up values from another sheet (XLOOKUP, or VLOOKUP in older files), counting with conditions (COUNTIFS), splitting or joining text, working with dates, and flagging duplicates. Tell it which spreadsheet program and version you use, because functions differ.

Explaining a formula someone else wrote

Explain what this formula does, step by step, in plain English. Then
tell me any situations where it would give a wrong or misleading
result:
=IFERROR(INDEX(Prices!C:C, MATCH(1, (Prices!A:A=A2)*(Prices!B:B=B2), 0)), "")

This is one of the highest-value uses: inherited spreadsheets are full of formulas nobody understands. The "when would it go wrong" question often reveals real bugs, such as errors silently hidden by IFERROR.

Cleaning messy data

Data cleaning means fixing the inconsistencies that break analysis: "N. Smith", "Smith, N" and "nick smith" as three different customers; dates in three formats; "£1,200", "1200" and "1.2k" in one column; blank rows; duplicates. You can ask for:

  • Formulas to do it in your sheet (TRIM, PROPER, SUBSTITUTE, date conversions), which keeps the process visible and repeatable.
  • A cleaned file from the analysis tool, which is faster, along with a list of every change it made.

Always ask for the list of changes and compare row counts before and after. Cleaning that silently drops or merges rows is a classic way to lose data.

Quick analysis and charts

Upload a file (CSV or Excel) to an assistant with a data analysis tool and ask questions in plain language:

  • "Summarise this data: what columns are there, how many rows, any missing values or obvious errors?"
  • "Total sales by month and region, as a table. Then a line chart by month, one line per region."
  • "Which 10 customers have reduced spending most compared with last year?"
  • "Is there any relationship between delivery time and complaint rate?"

Start every analysis with the first question. It forces the AI to show you how it has read your data, and you will catch misunderstandings (a column of numbers read as text, a header row counted as data) before they flow into every result. The first is a sanity check: a quick test that a result is at least plausible before you look deeper.

Ask for a pivot table — a summary table that groups rows by category and totals them — when you want to keep the analysis in your spreadsheet. Many people have never built one; AI can walk you through it step by step for your exact program.

AI inside your spreadsheet

As of late 2026, Copilot in Excel and Gemini in Google Sheets can create formulas, highlight patterns, build charts and summarise data directly in the sheet, and both programs have added functions that call AI from inside a cell (for example to classify or summarise text in each row). These are convenient for text-heavy columns such as survey comments or product descriptions. Treat the AI-filled cells as a draft: spot-check a sample, and remember the results may change if recalculated.

Worked example: a monthly sales report

Hannah is office manager at a small wholesale bakery. Each month she exports 3,000 rows of orders (date, customer, product, quantity, price) and spends half a day building a summary for the owner. She tries an assistant with a data analysis tool, using an export with customer names replaced by account numbers.

Hannah: Here's last month's order export. First, describe the data: columns, row count, date range, and anything that looks wrong.

AI: 3,012 rows; dates 1–31 March; 47 customers; 22 products. Issues: 14 rows have a quantity of 0; "Sourdough loaf" and "Sourdough Loaf " appear as separate products; 3 rows have prices about 100 times higher than usual (likely pence entered as pounds).

Hannah: Remove the zero-quantity rows, merge the sourdough variants, and divide those 3 prices by 100. List every change. Then give me revenue by product and by customer, the top 5 of each, and the change compared with the February file I've also uploaded.

She checks: the AI's row count matches her spreadsheet's; she finds the three odd price rows herself and agrees they were entry errors; the total revenue matches the total in her own sheet to the penny after the same corrections. One thing she catches: the February comparison used a February file with a different product list, so two new products show as "+100%". She asks it to list new and discontinued products separately.

Her half-day job now takes about 40 minutes, including checks, and the AI found the data-entry errors she had been missing for months.

A checklist for numbers you'll rely on

  • Row counts: does the number of rows the AI used match your file?
  • Totals: does the grand total match your own spreadsheet's total?
  • Spot checks: pick three individual results and verify them by hand or with a filter.
  • Definitions: did it interpret "revenue", "active customer" or "last quarter" the way you meant?
  • Missing data: how did it treat blanks and errors? Excluded, counted as zero, or guessed?
  • Charts: do the axes start at zero where they should? Are the labels right?
  • Plausibility: does anything look too good, too bad, or too round?

Common mistakes

  • Asking for totals in a plain chat with numbers pasted as text. Use the analysis tool or a formula.
  • Uploading customer or staff data to a personal account. Remove names and identifiers, or use your approved work tool (Using AI Safely at Work).
  • Not describing the layout. The AI guesses which column is which, and formulas point at the wrong cells.
  • Accepting a cleaned file without a change log. Rows disappear silently.
  • Confusing correlation with cause. "Stores with more staff sell more" doesn't mean hiring will raise sales. AI analyses can find patterns; deciding what causes them is your job.
  • Forgetting version differences. A formula for Microsoft 365 Excel may not work in Excel 2016 or in Google Sheets.

Watch out Never paste AI-generated figures into a report, budget or invoice without at least checking the totals against your own spreadsheet. Numerical errors look exactly like correct numbers.

Where it leads

Once you can analyse data with AI, AI in Your Daily Workflow shows how to turn a monthly analysis into a reusable prompt or project, and Automating Work Without Code how to run it automatically. If you want to go further and learn to analyse data yourself with code, the Python for AI and Pandas and Working with Data chapters in the programming part start from zero. Statistics: Mean, Variance and Sampling explains averages, spread and correlation without needing code.

Try it Pick one spreadsheet you use at work (anonymise it if it contains personal data).

  1. Ask an assistant to explain the most complicated formula in it and to say when it might give a wrong result.
  2. Ask for one new formula you've always wanted (a lookup, a conditional total, a duplicate flag), describing your columns precisely. Test it on a case you can check by hand.
  3. If your tool has a data analysis feature, upload a copy and ask: "Describe this data and list anything that looks wrong."

Hint: the "anything that looks wrong" question regularly finds real errors that have been sitting in spreadsheets for months.

Check your understanding

4 quick questions. Pick an answer to see whether you were right and why. Your best score is saved on this device.

  1. You paste a column of 400 sales figures into a plain chat and ask for the total. Why is this risky?

  2. An AI cleans your customer export. Before you trust the cleaned file, what should you check first?

  3. Analysis shows stores with more staff sell more. Your manager suggests hiring to raise sales. What is the problem?

  4. You want a monthly summary of sales by region and month that stays inside your spreadsheet. What should you ask AI to help you build?

Finished this chapter?

Learn more

Hand-picked courses, books, videos and tutorials for going deeper. See all resources →

Docs

Microsoft Copilot Skilling Center

Microsoft · Beginner · Free

Microsoft's hub of free training, prompt examples and adoption guides for Copilot in Word, Excel, Outlook, Teams and PowerPoint.

Docs

Gemini Apps Help

Google · Beginner · Free

Official help for Google's Gemini assistant: features, Workspace integration, activity settings and privacy.

Docs

OpenAI Help Center

OpenAI · Beginner · Free

Official help for ChatGPT: features, plans, data controls, memory, custom GPTs and troubleshooting.

Docs

Claude Help Center

Anthropic · Beginner · Free

Official how-to articles for Claude: projects, file uploads, web search, research, connectors, artifacts, privacy settings and plans.

Course

Google AI Essentials

Google (on Coursera) · Beginner · free to audit

A short, practical course from Google on using generative AI tools at work: prompting, productivity and responsible use. The certificate is paid.

Facts checked as of 30 November 2026. Fast-moving details (products, prices, laws) change often. · Source: content/entries/everyday/ai-for-data-and-spreadsheets.md