Ai for Sheets.
Google's Gemini AI works inside Google Sheets in two completely different ways. One is built into the Sheets interface and requires a paid plan. The other uses Gemini's free API and works on any Google account, including personal Gmail.
This guide explains both, who can use each, and which one fits which job.
People often confuse these because both are called "Gemini in Sheets":
=SUM(). Uses a free API key from Google AI Studio. Works on any Google account.The side panel is faster to set up if you have access. The API approach is the only free path and is much better for processing large columns of data.
The side panel is part of Google Workspace's AI features, not the free Gmail experience.
You have access if you're on:
If you're on free personal Gmail, you won't see the side panel. The starburst icon simply won't be there.
If you have a qualifying plan, here's how to use it.
There's also a "Help me organize" button (small table icon, top-left area) that generates structured tables from prompts, and you can invoke Gemini in any cell by typing = and pressing Ctrl+Alt+G.
The side panel reads your active sheet and responds with either text or "Insert" buttons that drop generated content directly into your sheet.
For repetitive AI tasks — classifying 500 reviews, translating product names, extracting keywords from descriptions — the side panel is too slow. You want AI inside a formula, running row by row.
This works on any Google account, free or paid, and is the only free way to get AI into Sheets.
No credit card required. Current free tier limits (mid-2026):
| Model | Requests/min | Requests/day |
|---|---|---|
| Gemini 2.5 Flash (Preview) | 10 | 500 |
| Gemini 2.5 Pro (Experimental) | 5 | 25 |
| Gemini 2.0 Flash-Lite | 30 | 1,500 |
| Gemini 1.5 Flash | 15 | 1,500 |
Most of these free-tier models support up to a 1 million token context window. Trade-off: on the free tier, Google may use your prompts to improve their models. For sensitive data, use the paid tier where this is disabled.
Open your sheet, then go to Extensions → Apps Script. Paste a wrapper function that calls the Gemini API, save, and refresh your sheet. After setup, you have a custom formula:
=GEMINI("Translate to French: " & A2)
=GEMINI("Classify sentiment as Positive, Negative, or Neutral: " & B2)
=GEMINI("Extract the company name from this email signature: " & C2)
Drag down. Gemini processes each row automatically.
| Task | Best Method |
|---|---|
| One-off question about your data | Side panel (if you have it) |
| Building a new sheet or template | Side panel |
| You don't have a paid plan | API approach |
| Categorizing or labeling 100+ rows | API approach |
| Translating a whole column | API approach |
| Sensitive data | Paid tier of either |
Rule of thumb: if you'd do it once, ask the side panel. If you'd do it for every row, use the API.
200 lead descriptions in column B, each tagged Hot/Warm/Cold based on language used.
=GEMINI("Read this lead description and classify as Hot, Warm, or Cold based on buying intent. Reply with one word only: " & B2)
Column A: john's PIZZERIA *new*, BLUE BOTTLE coffee (sf), Sam's Diner — closed sundays.
=GEMINI("Return just the clean business name in title case, no extra characters: " & A2)
Product spec sheet with name, features, price. One-line description in column D:
=GEMINI("Write a friendly one-sentence product description using these details: " & A2 & ", " & B2 & ", priced at " & C2)
"Authorization required" warning on first run. Standard Google security check for any custom script. Click through; the script only talks to Gemini and your sheet.
Formula returns blank or error. Check the API key is saved correctly and you haven't hit the daily limit. Limits reset at midnight Pacific.
Slow performance on large sheets. Gemini formulas re-run every time the sheet recalculates. Once results are stable, copy the column and paste as values (Ctrl+Shift+V → Values only) so they don't regenerate.
Yes, through the Gemini API and Apps Script with a free API key from AI Studio. The built-in Gemini side panel in Sheets requires a paid plan.
The side panel is tied to paid Google plans such as Workspace Business Standard or Google One AI Premium. Free Gmail accounts usually do not have that icon.
The API approach is better for row-by-row work at scale because formulas can process many rows consistently. The side panel is best for one-off questions and quick drafting.
Paste it into Apps Script, add your OpenAI API key, then use the OpenAI menu in Google Sheets to run Generate Content on the selected cell.
Free API vs. paid side panel — step-by-step setup, real-world use cases, and which method fits your workflow.
May 23, 2026Write any formula in plain English. Free and paid options compared, with prompt patterns that get better results.
May 23, 20265 methods compared — Apps Script, add-ons, browser extensions, Zapier, and copy-paste. Honest pros and cons at every price point.
May 23, 20265 methods including conditional formatting, UNIQUE, COUNTIF, the built-in tool, and fuzzy matching for near-duplicates.
May 23, 2026