For decades, spreadsheet power users have lived and died by VLOOKUP, INDEX/MATCH, and pivot tables. But there is a new function in Google Sheets that changes everything — and most people have not heard of it yet.
Meet =AI(). It is a built-in function that lets you run AI prompts directly inside a spreadsheet cell. No API keys. No extensions. No code. Just a formula that turns your spreadsheet into an intelligent automation engine.
This is not about replacing formulas. It is about automating the kind of knowledge work that formulas were never designed to handle: summarization, categorization, sentiment analysis, and extraction — at scale, in seconds.
Why this matters
Think about how much time your team spends reading, sorting, and summarizing text-heavy data: customer feedback, survey responses, support tickets, sales call notes, product reviews. This is tedious, manual work that requires judgment — exactly the kind of task that falls into a painful gap between "too complex for a formula" and "not worth building a custom tool."
The =AI() function fills that gap. It brings AI-powered analysis directly into the tool your team already uses every day. No context-switching. No exporting to another platform. Just results, right in your cells.
Use case spotlight: Customer feedback at scale
Imagine you are a product marketing manager and your team just collected 200 pieces of customer feedback from a post-launch survey. Normally, you would spend hours reading each response, tagging themes, and pulling out action items. With =AI(), you can process all 200 responses in minutes — directly in your spreadsheet.
Your AI experiment: Try these formulas
Time to tinker: Open a Google Sheet and put some text-heavy data in column A — customer feedback, survey responses, or even just a list of product descriptions. Then try these formulas in adjacent columns:
Formulas to try:
Summarize: =AI("Summarize this feedback in one sentence", A2)
Categorize: =AI("Categorize this feedback as Bug, Feature Request, Praise, or Complaint", A2)
Sentiment: =AI("Rate the sentiment of this text as Positive, Negative, or Neutral", A2)
Extract action items: =AI("Extract any specific action items or requests from this feedback", A2)
The general structure is simple: =AI("your instruction", cell_reference). The first argument is your prompt — what you want the AI to do. The second argument is the cell containing the data you want it to analyze.
Pro tips
- Chain your prompts: Use the output of one =AI() formula as the input to another. For example, first categorize feedback in column B, then use column B as context for a follow-up prompt in column C:
=AI("Given this category: " & B2 & ", suggest a priority level for this feedback: High, Medium, or Low", A2) - Control the output: Be specific about the format you want. Adding instructions like "Respond with only one word" or "Return a number between 1 and 10" keeps outputs clean and easy to use with other spreadsheet functions like COUNTIF or FILTER.
What did you discover?
Did the =AI() function handle nuance better than you expected? Did it struggle with ambiguous inputs? The real power here is not any single formula — it is the ability to process hundreds of rows of qualitative data with the same ease as running a SUM.



