Google Sheets Will Classify a Column for You. It Stops at 350 Cells.

The Google Sheets AI function fills 350 cells per selection and 5,000 a month. What a bulk classification pass really costs, and when an API is cheaper.

A spreadsheet grid where solid amber and teal cells fill the top rows and stop abruptly, leaving the rest of the grid as empty outlines
12 min read
2,429 words

Two thousand rows of inbound enquiries need a category against each one, and somebody has been doing it by hand. Then a formula turns up that appears to end the job in an afternoon: =AI("categorise this enquiry", A2), filled down the column. It works on row 2. You select the whole column, click Generate, and 350 cells fill while one thousand six hundred and fifty stay empty. Nothing has broken. The Google Sheets AI function limits are doing exactly what Google documents them to do, and the two numbers that decide whether this is a viable production step — 350 and 5,000 — are both published, both easy to miss, and both worth knowing before anyone promises the categorisation will be finished this week.

The budget matters more than the technique here. A spreadsheet formula feels free in a way an API key does not, and that feeling is what gets a month’s allowance spent on test runs by Wednesday.

What the AI function actually does

The syntax is AI("prompt", [optional range]), and Google’s help page notes that =Gemini() is accepted as an alias for the same function. The prompt is required and the range is not, though Google calls passing one “highly recommended to improve output quality” — which is the polite documentation phrasing for the model cannot see your spreadsheet unless you show it.

That restriction is real and it shapes how you write the prompt. Google states plainly that the function does not have access to your entire spreadsheet or to other files in your Drive. If the model needs your list of valid categories, that list has to exist in cells and be handed over in the range argument. There is no implicit context.

Responses are limited to text. The function is also connected to Google Search for current information, and hovering a generated cell exposes a Sources control showing the web pages behind the answer — useful for enrichment work, irrelevant for classification against your own taxonomy.

Google Sheets AI function limits: 350 at a time, 5,000 a month

There are two separate caps, and conflating them is the usual source of confusion.

The first is per selection. Google’s wording: you can select multiple cells with AI functions and generate outputs, “however, only the first 350 selected cells with AI functions will be generated.” The page’s own remedy is to wait for the generation to complete and then select more cells. So 350 is not a ceiling on the job; it is the size of one trip. A 2,000-row column is six trips.

The second cap is the one that actually constrains the work, because it is monthly and it is counted per cell. Google’s AI usage limits page lists the Sheets AI function at 5,000 per month for Business Standard/Plus and Enterprise Standard/Plus, 25,000 per month with the AI Expanded Access add-on, and no access at all on Business Starter.

Google Workspace AI usage limits table with the Google Sheets AI function row showing no access for Business Starter, 5,000 per month for Business Standard/Plus and Enterprise Standard/Plus, and 25,000 per month for AI Expanded Access
Google's AI usage limits for business and enterprise plans, captured 23 Nov 2026. The AI function row reads No access, 5,000 per month, 25,000 per month.

The unit is the part to read twice. The same page’s FAQ distinguishes the two kinds of allowance in one sentence: Gemini limits in Sheets are per-prompt limits, while “AI function limits are per-cell generation limits.” One formula filled down 2,000 rows is not one prompt against the allowance. It is 2,000 generations — 40% of a Standard plan’s month, spent in a single afternoon on a single column.

Three further properties follow from that, and they compound.

Monthly limits reset at 12 AM PT on the first day of each month, and daily limits reset at 12 AM PT each day. The reset is a calendar boundary rather than a rolling window, so an allowance is not restored 30 days after you spend it.

Usage does not roll over, and Google states that limits cannot be shared with other people. A quiet month earns you nothing in the next one, and a colleague’s unused 5,000 cannot be lent to the person running the big job. The allowance is per user.

And there is a shorter fuse underneath the monthly one. The function has, in Google’s words, “short term and long term generation limits,” and reaching a long term limit means you temporarily cannot click Generate and must wait 24 hours. Neither figure is published. The practical consequence is that a run can stall for a day without you having touched the monthly 5,000, which is a different failure from running out and needs a different response — waiting rather than buying.

This is the same shape of problem as the 100-a-day wall an Apps Script email pipeline hits: the model is not the constraint, the platform’s per-user allowance is, and it is far cheaper to design around than to discover at volume.

Which plan you need, and why Google’s two pages disagree

Business Starter gets no access to the AI function at all. That is the single most important line in the table for anyone costing this out, because it means the question is not “how do I use this” but “do we pay to upgrade.”

On the Education side the gap is wider. Education Fundamentals and Education Standard have no access, and so does the Education Plus and Teaching and Learning add-on tier. Only the Google AI Pro for Education add-on carries the function, at 25,000 per month.

Now the part that will cost someone an afternoon. Google’s pricing page and Google’s limits page no longer use the same plan names. The pricing page lists Base at $2, Starter at $7, Standard at $14 and Plus at $22 per user per month, with Enterprise carrying no public price. The limits page still calls them Business Starter and Business Standard/Plus. The $2 Base tier does not appear on the limits page at all, so what it does or does not include is not stated there — and on a question of access rather than price, the honest answer is that Google has not published one in the place you would look.

The pricing page also shows introductory rates of $4.20 and $9.80 for Starter and Standard, flagged as new-customer only, limited to the first 20 users, and lasting 12 months before standard pricing applies to everyone. Budget the $14, not the $9.80.

One more route exists: Google offers the function through its trusted tester programme, Workspace Experiments. If the function is missing from a plan that should have it, Google lists non-participation in that programme, admin settings and language settings as the causes to check before assuming a bug.

Running a 2,000-row pass without wasting the budget

The allowance is consumed by generations, not by successful generations, so the whole procedure is built around not generating twice.

Put the taxonomy in cells first. Write your valid categories into a column — say $F$2:$F$12 — before writing a single formula. Since the model cannot see the rest of the sheet, the range argument is the only way it learns which labels exist.

Constrain the output in the prompt, not afterwards. Something closer to =AI("Return exactly one label from the list in the second range that best fits this enquiry. Return the label only, no explanation.", A2, $F$2:$F$12) than to “categorise this”. Responses are text, and an unconstrained prompt returns a sentence where you wanted a value — which is a wasted generation and a column you cannot pivot on.

Test on twenty rows. Twenty generations is 0.4% of a monthly allowance. Read all twenty outputs before scaling. This is the cheapest step in the process and the one most often skipped.

Select in batches below 350 and wait for each to finish. Google’s documented remedy for the cap is sequential selection, so batch the column deliberately rather than selecting all 2,000 and assuming the rest will follow. They will not.

Freeze each batch to static values before starting the next. Copy the generated range, paste back over it as values only. Because the allowance is counted per cell generation, a regenerated cell is a second generation against the quota — so an accidental recalculation across a finished column is not a cosmetic annoyance, it is a bill. Static values also make the column safe to sort, filter and hand to someone else.

Keep your own count. Nothing in the sheet shows you the remaining monthly allowance. If a classification pass is going to be routine, track generations per run somewhere visible — the same discipline that knowing what an AI step costs in Zapier tasks imposes on a no-code workflow.

If this is the shape of job you are building, the Google Sheets lead-qualification build is the fuller worked example; the quota arithmetic above is what it costs to run at volume.

The limits that bite after the quota

Several documented restrictions have nothing to do with allowances and will shape the design anyway.

Google Docs Editors Help list of AI function limitations, including that only the first 350 selected cells will be generated, that embedded AI functions are not supported, and that you cannot undo or redo the function
The AI function's documented limitations, captured 23 Nov 2026, including the 350-cell cap and the 24-hour wait after a long term limit.

Embedded AI functions are not supported. Google’s own example of what will not work is =IF(AI("sentiment analysis", A2)),"negative",0). This closes the standard spreadsheet escape hatch: you cannot wrap the call in a conditional so it only fires on rows that need it, which is precisely the trick you would reach for to protect a monthly allowance. Gating has to happen before the formula exists in the cell, not inside it.

You cannot undo or redo the function; Google’s stated alternative is to regenerate the output. Combined with per-cell counting, undo-by-regeneration is the most expensive way to change your mind.

A naming collision is worth knowing about if the sheet already carries custom functions. Google notes you cannot have two functions with the same name, and a custom function built as =AI() or =Gemini() remaps to the Sheets AI function. An existing Apps Script helper with either name stops being yours.

And one environmental restriction that catches regulated teams: you cannot generate content with the AI function if you access Sheets through other cloud storage providers such as Box, Dropbox or Egnyte with Google Drive. If your organisation routes Drive through one of those, the feature is unavailable regardless of plan.

When the API is the cheaper answer

Past a certain volume the formula stops being the economical option, and the crossover is lower than most people expect.

The same classification job through Apps Script and the Gemini API is billed in tokens rather than cells. Google AI Studio’s pricing lists gemini-3.5-flash-lite at $0.30 per 1M input tokens and $2.50 per 1M output tokens on the paid tier, with batch processing at half those rates.

Assume each row costs roughly 80 input tokens — a short instruction, the enquiry text and a list of labels — and about 6 output tokens, since the answer is a single label. That assumption is mine rather than Google’s, and your real figure depends entirely on how long your rows are, so treat the arithmetic as a method rather than a quote. On those numbers, 2,000 rows is 160,000 input tokens and 12,000 output tokens: about $0.05 of input and $0.03 of output, so roughly $0.08 for the pass, or about four cents through the batch API.

Eight cents against 40% of a monthly allowance is not a close call on cost alone. What you are buying with the formula is the absence of a key to store, a script to maintain and a failure path to handle — and for a one-off tidy-up that is a fair trade. For anything recurring, it is not.

Date the figures before relying on them. Google lists gemini-3.8-flash input at $0.75 per 1M tokens “through December 31, 2026” and $1.50 “starting January 1, 2027”, with output moving from $3.75 to $7.50 on the same date. The cheap-API comparison that holds in November is a different comparison in January, and any cost model built on the Flash tier needs revisiting then. The per-row economics of a bulk AI job move the same way bulk alt-text generation does — the unit price is small enough to ignore until the volume makes it the whole line item.

What goes wrong

The failures are consistent and none of them is exotic.

The allowance gets spent on iteration. Five prompt revisions across 200 rows is 1,000 generations — a fifth of the month — before the real run has started. Test on twenty.

The output is prose when a value was wanted. Unconstrained prompts return sentences, and a column of sentences cannot be pivoted, filtered or counted. Every one of them cost a generation, and fixing them costs another.

Someone expects the allowance to roll over, or to be shared. It does neither. A team that averages 3,000 generations a month does not bank 24,000 a year, and the person running the quarterly pass cannot draw on the quota of colleagues who never touch it.

Results go stale silently. A generated cell frozen to a static value does not know its source row has since been edited, and nothing flags the mismatch. Whatever marks a row as classified should also record what it was classified from.

And Google’s own disclaimer applies throughout: Gemini features may suggest inaccurate or inappropriate information. For a column feeding a report that someone acts on, the read-twenty-outputs step is not quality theatre. It is the only check in the system.

The underlying point is that the formula is not free, it is prepaid. You bought a fixed number of cell generations with the plan, they expire monthly, and the fastest way to spend them is to treat a spreadsheet formula as though it behaves like every other spreadsheet formula. It does not. It behaves like metered API calls wearing the costume of one — and the difference shows up as 350 filled cells and 1,650 empty ones, on a deadline.

Sources

Every figure in this article traces to one of these. Dates are when the page was read.

  1. Use the AI function in Google Sheets
    Google Docs Editors HelpAccessed Nov 23, 2026Official docs
  2. About AI usage limits
    Google Workspace HelpAccessed Nov 23, 2026Official docs
  3. Gemini API pricing
    Google AI StudioAccessed Nov 23, 2026Vendor pricing
  4. Compare Flexible Pricing Plan Options
    Google WorkspaceAccessed Nov 23, 2026Vendor pricing

Written by

Kai Devlin AI Automation Engineer

Full-stack developer who builds and runs AI automation systems in production. Runs local LLMs on personal hardware, builds N8N pipelines that actually ship, and deploys on Cloudflare Pages. Every guide on Pipeline Monk is tested on real consumer hardware — a Ryzen 7 5800HS with 16GB RAM and a GTX 1650. If it works on that, it works.