Topic 4 of 5 · 4 min read
AI functions inside spreadsheet cells
Goal: Decide whether an in-cell AI function fits a column task and spot-check its row-by-row labels for wrong or inconsistent answers.
An in-cell AI function can label or summarize text row by row, but its answers can differ between runs and between rows, so use it for fuzzy text tasks only and spot-check the results.
Check yourself · 1 of 3
Which column task is a reasonable fit for an in-cell AI function?
Why it matters
Some spreadsheet tools let a cell call an AI model. You give it a prompt and a range, and it returns text for each row, for example a category for each customer comment. Microsoft introduced a COPILOT function in Excel for this. Its own help page now says it is no longer available from 14 September 2026, and that cells which recalculate then show a name error, while earlier results stay as stored values. Google Sheets has a similar AI function that calls Gemini, and Copilot in Excel's side pane covers tasks such as summarizing and classifying. Tool support in this area changes fast, so check what your version offers before you plan work around it.
When it fits
An in-cell AI function suits tasks where there is no exact formula: tagging comments as complaint, question or praise; pulling a product name out of free text; writing a short summary of a note. It does not suit tasks with a right answer a normal formula can compute. Adding numbers, matching IDs and comparing dates belong to ordinary functions, which are exact, free of cost per cell and give the same answer every time.
How to use it well
- Give a closed list of labels. "Label each comment as Complaint, Question or Praise. Use only these words" gives you a column you can filter and count.
- Say what to do when unsure. Add "or Unclear". Otherwise the model picks the nearest label.
- Keep a small test set. Pick 20 rows, label them yourself, and compare.
- Freeze the results. If the labels matter, copy the column and paste as values, so a later recalculation cannot change them.
What goes wrong
- Results change on recalculation. The same comment can get 'Complaint' today and 'Question' tomorrow. A report built on it will not match last week's.
- Labels drift from your list. You get 'Complaint', 'complaint' and 'Negative feedback' in one column.
- Row-by-row context is missing. Each row is judged alone, so a comment that says 'same as before' gets a random label.
- Private data leaves your sheet. Rows sent to a model may include names or health details. Check your organisation's rules first.
Examples
A label column that drifted
| Comment | Label returned |
|---|---|
| 'App crashes when I open it' | Complaint |
| 'How do I export?' | Question |
| 'Works, I guess' | Negative feedback |
| 'same issue as before' | Praise |
Two problems. 'Negative feedback' is not in the allowed list, and the last row has no context to judge, so it needed 'Unclear'. Fix the prompt, then rerun and re-check.
Choosing the right tool for the column
Task: mark each invoice as overdue if the due date is before today. Use a normal formula. The answer is exact.
Task: decide whether each customer note is about delivery, billing or product quality. An AI label fits here, with a closed list and a spot-check.
Key points
- In-cell AI functions suit fuzzy text tasks such as labelling comments, not exact calculations.
- Normal formulas give the same answer every time; AI function results can change when a cell recalculates.
- Give a closed list of labels and an 'Unclear' option so the column can be filtered and counted.
- Label a 20-row test set yourself and compare before trusting the whole column.
- Paste results as values once they are checked, and confirm your tool still offers the function: Excel's COPILOT function was withdrawn on 14 September 2026.
Common mistakes
- Using an AI function for a calculation that an ordinary formula does exactly.
- Leaving the label list open, so the column fills with near-duplicate labels.
- Reporting from live AI results that will change at the next recalculation.
- Assuming a function will always exist; check the vendor's help page for its current status.
Check yourself · 2 of 3
An AI label column gives a different label for the same comment after the sheet recalculates. What should you do for a report that must stay stable?
Check yourself · 3 of 3
Why add 'or Unclear' to the list of allowed labels in your prompt?
Practice items, not counted towards your mastery.
Start here
- Get started with Copilot in Excel (opens in a new tab)DocsFree
Microsoft's entry page for the Copilot pane: what it can do with formulas, tables and analysis.
- COPILOT function (Excel) (opens in a new tab)DocsFree
Microsoft's page on the in-cell COPILOT function, including its removal on 14 September 2026 and what happens to old results.
- Gemini in Google Sheets (opens in a new tab)ArticleFree
Google's overview of Gemini features in Sheets, the other main assistant this skill covers.