Hunch

Google Sheets' AI function: limits, and when a number works better

Updated · Edoardo Panichi, maker of Hunch

Google Sheets' =AI("prompt", A2) function writes Gemini's answer into a cell as text, after you click Generate. It needs an eligible Google Workspace or Google AI plan and generates at most 350 selected cells at a time. =HUNCH, =HUNCHPICK and =HUNCHSCORE return a probability, one of your labels or a score instead, and they work on any Google account.

What the AI function does

Google's syntax is AI("prompt", [optional range]). You type the formula, select the cells, and click Generate and insert. Gemini writes a text answer into each cell. To update the answers, you click Refresh and insert. The function only sees the range you pass it, and Google states that responses are limited to text.

Limits Google lists

When the AI function is the better choice

When a number or a fixed label works better

Most spreadsheet work with a text column ends in sorting, filtering or counting. A text answer has to be cleaned up before COUNTIF or a pivot table can use it, and "Negative", "negative." and "Mostly negative" count as three different values. Hunch returns a judgment instead: a probability you can sort, or one label from the list you wrote.

=HUNCHPICK(A2:A8, "positive|negative|mixed|not a review")

In Excel: =HUNCH.PICK(A2:A8, "positive|negative|mixed|not a review")

=HUNCHPICK(A2:A8, "positive|negative|mixed|not a review", "", "confidence")

In Excel: =HUNCH.PICK(A2:A8, "positive|negative|mixed|not a review", "", "confidence")

RowABC
1ReviewLabelConfidence
2Arrived fast and fits perfectly. Buying a second one.positive1.00
3Nice color but the zipper broke after a week.mixed0.97
4Terrible. Returned it the same day.negative1.00
5Does this come in size 44?not a review1.00
6Good value for the price, nothing special.mixed0.58
7Customer service replaced it without questions, love this shop.positive1.00
8Took three weeks to arrive and the box was crushed, product ok.mixed0.97

Six of the seven labels come back at 0.97 or higher. "Good value for the price, nothing special" gets mixed at 0.58 because it also reads as mildly positive, and the confidence column flags it for a look. The size question is labeled not a review, so it drops out of the counts.

Side by side

Item=AI() in Google SheetsHunch
What a cell holdsText from GeminiA probability, one of your labels, or a score
Who can use itEligible Google Workspace or Google AI plansAny Google account with the template, and Excel
How it runsClick Generate or RefreshRecalculates like any formula, with a six-hour cache
Batch limitFirst 350 selected cells1,500 unique texts per formula, more through the menu
CostIncluded in the planPer row: 100 free, $29 for 5,000
Writes summaries and draftsYesNo

Sources

Hunch is our product and is not affiliated with Google. If a fact on this page has changed, tell us through the contact form and we will correct it.

Questions

Why don't I have the AI function in Google Sheets?
It needs an eligible Google Workspace or Google AI plan, and some accounts and editions do not include it. Hunch's formulas work in a copy of the template on any Google account.
Is the AI function free?
It has no separate price. It comes with eligible plans, so it is free at the margin if you already pay for one.
Can I use both?
Yes. A common split is =AI() for summaries and drafts, and Hunch for the columns you sort, filter and count.
What does the 24-hour limit mean?
Google has short-term and long-term generation limits on the AI function. After the long-term limit, Generate is unavailable for 24 hours.

Run it on your own column

Copy the template (or use the Excel add-in), paste your key, point the formula at your data. Every formula here has its Excel spelling underneath. 100 rows free to start, then $29 for 5,000 rows. Credits never expire and there is no subscription.

More comparisons