Claude for Sheets: Workspace sidebar, =CLAUDE() add-on, or Drive

Claude works with Google Sheets four ways: the Claude for Google Workspace sidebar that edits the open sheet, the =CLAUDE() add-on, the Drive connector, or chat.
Claude works with Google Sheets in four genuinely different ways. The newest is the Claude for Google Workspace sidebar (beta, paid plans), which reads the sheet you have open and edits it in place. Anthropic also still publishes an official Claude for Sheets add-on that runs =CLAUDE() inside cells using your Anthropic API key. The Google Drive connector can pull a sheet into Claude as a flattened CSV snapshot, but cannot write back to the live sheet. And for a one-off formula, the simplest path is still copy-paste: show Claude the data, get a formula, paste it in, and check the result.
How Claude works with Google Sheets: four paths
1. Claude for Google Workspace: a sidebar that edits the open sheet
Anthropic's Claude for Google Workspace add-on puts a Claude sidebar in Google Docs, Sheets and Slides. Install it once from the Google Workspace Marketplace, open a sheet, then go to Extensions > Claude > Open Claude and sign in with your Claude account. It is in beta and available on the Pro, Max, Team and Enterprise plans.
In Sheets, Claude reads the open spreadsheet and the cells you select, then edits the sheet in place: it can write and fix formulas, clean up data and build models. Changes show up in version history under your name. By default it asks before each edit; an "Accept all edits" mode applies ordinary changes without pausing. It cannot see other files in your Drive, cannot touch Connected Sheets tabs backed by BigQuery, and cannot create triggers or custom menus. On a company Google account, a Workspace admin has to allow the app first.
2. Claude for Sheets add-on: an API-powered cell function
Anthropic's official Google Workspace Marketplace listing is still listed under Anthropic and documents the =CLAUDE() and =CLAUDEMESSAGES() functions. Install the add-on, enter an Anthropic Console API key, and those functions become available inside the sheet. Anthropic's older standalone documentation URL currently returns a 404, so the Marketplace listing is the primary live reference for this path.
This is not a Claude Pro feature and it is not an agent that freely edits the whole workbook. Each function sends the prompt and referenced cell values to the Anthropic API, then places the response in the formula cell. The add-on itself is free to install, but API calls are billed separately to the Console account behind the key. Be particularly careful when sharing a sheet that already contains the configured add-on: usage can still be billed to that API account.
3. Google Drive connector: read a CSV snapshot
Anthropic's Google Drive connector lets Claude read your Drive, and for spreadsheets specifically it can "pull data from Google Sheets (exported as CSV)." That line matters: CSV export means values only. Any formula logic in the sheet is gone before Claude sees it, and the connector does not write values or formulas back into the existing sheet (claude.com). See Claude connectors for the bigger picture on connecting a service to Claude.
If your workbook lives in Excel instead, Claude for Excel is the equivalent sidebar: it inspects and edits an open workbook (support.claude.com). See Claude for Excel: the beginner's setup guide.
4. Chat: the easiest path for a one-off formula
Paste a representative range into Claude, or upload a CSV/XLSX file, ask for a Google Sheets formula, then paste the answer back yourself. This costs no API setup and works on every Claude plan, but Claude never sees the formula calculate in your live sheet.
The Claude moves worth stealing, by email
Workflows tested on real jobs, sent only when they are worth it. Free.
The simplest beginner workflow
If you can't install the sidebar (free plan, or an admin who hasn't allowed it), chat still works: you carry the data in and the formulas back out.
Copy or upload your data
Paste 10-20 rows with headers, or upload the sheet as a .csv (File → Download → Comma Separated Values).
Ask for the formula, and say "Google Sheets"
Naming the app matters, see below, or Claude may default to Excel syntax.
Paste the formula into your actual sheet cell
Then check it against a row where you already know the right answer.
“You're the one carrying the data across the gap, and the one who has to check it landed right.”
Google Sheets formulas aren't Excel formulas
This is the detail that trips people up most. Sheets and Excel diverge on how they spread a formula down a column and how they filter or aggregate data. Excel leans on dynamic arrays, XLOOKUP, and SUMIFS. Sheets favors ARRAYFORMULA() to apply one formula to a whole range, and QUERY() for SQL-like filtering, something like:
=ARRAYFORMULA(QUERY({Transactions!C:C, Transactions!E:E}, "SELECT Col1, SUM(Col2) WHERE Col2 < 0 GROUP BY Col1"))
If you don't say which app you're using, Claude may hand you an Excel-oriented answer that behaves differently when pasted into Sheets. Name Google Sheets explicitly, then verify the result against a row where you already know the answer.
Where this falls short
- The Workspace sidebar is a beta. It needs a paid plan and a Claude sign-in (no API keys), and a Workspace admin can block it.
- The Drive connector strips formulas on the way in. It receives a CSV export, not the workbook's formula graph.
- The add-on is not included in a Claude subscription. It uses a Console API key and pay-as-you-go API billing. It writes its response into the formula cell, but does not freely edit the rest of the sheet.
- Chat and Drive do not write back automatically. Getting their answers into the sheet remains a manual step.
- Sheets-vs-Excel confusion is the most common failure mode. Always name the app in your prompt, especially for anything beyond a simple SUM or COUNT.
- Third-party Sheets add-ons exist but aren't Anthropic's. Marketplace tools that bundle Claude alongside GPT and Gemini run on their own billing and their own quality bar, not Claude's.
- Uploads and downloads have different size caps. Files you upload to a chat can run up to 500MB (support.claude.com), but a file Claude generates for you to download tops out at 30MB (support.claude.com), worth knowing before you try to hand back a huge workbook.
Common questions
Is there a Claude add-on for Google Sheets?
Yes. Anthropic's official Claude for Sheets add-on provides =CLAUDE() and =CLAUDEMESSAGES() functions. It requires an Anthropic Console API key and its usage is billed through the API, separately from a Claude.ai subscription.
Can Claude write Google Sheets formulas?
Yes. Paste your data into claude.ai, describe what you want in plain English, and say it's for Google Sheets. Claude will lean on Sheets-specific functions like ARRAYFORMULA() and QUERY() instead of Excel patterns, and you paste the result into your cell yourself.
How do I connect Google Sheets to Claude?
Four ways. Install the Claude for Google Workspace add-on and open it from Extensions > Claude > Open Claude (beta, paid plans). Or install the Claude for Sheets add-on and enter an Anthropic Console API key to use =CLAUDE() in cells. Or connect Google Drive so Claude can read a sheet as a CSV snapshot. Or paste the data into a chat.
Can Claude read Google Sheets?
Yes. The Claude for Google Workspace sidebar reads the sheet you have open and the cells you select. The Google Drive connector pulls a sheet in as a CSV export, so Claude sees values only, without formulas, and cannot write back.
Can Claude edit my Google Sheet directly?
Yes, with the Claude for Google Workspace add-on (beta, Pro, Max, Team and Enterprise). It edits the open sheet in place, asks before each change by default, and logs changes in version history under your name. The Claude for Sheets add-on only writes its answer into the formula cell, and the Drive connector only reads.
Is Claude for Sheets included with Pro or Max?
No. The add-on uses the Anthropic API, so you need a Console API key and pay for API usage separately. Your Claude.ai subscription does not cover those calls.
claude/for is an independent guide, not run by Anthropic or Google. If your spreadsheet work happens in Excel instead, the setup is genuinely different and worth its own read: Claude for Excel: the beginner's setup guide. And if you've never asked Claude for a formula at all, Claude prompts for work includes a copy-paste formula prompt to start from.
