Free Google Sheets tool

Use =GPT() inside Google Sheets.

Paste one Google Apps Script, reload your Sheet, and use AI to summarize, rewrite, extract, classify, translate, and structure spreadsheet data. Unlock the complete script and start with 100 free calls.

No browser extension No paid add-on Your own API key is optional
SAI Content Workflow
Intelligex GPT
C3
fx  =GPT(A3,B3)
A
B
C
1
Raw notes
Instruction
Result
2
Customer onboarding takes four days…
Summarize for leadership
Complete
3
Contracts arrive in mixed formats…
=GPT(A3,B3)
Running
4
Sales notes from a discovery call…
Extract next steps
Complete
Structured output returned Company, contact, next action, and due date extracted into a consistent format.

Complete working source

Get the script before reading another tutorial.

Enter your name and email to reveal the complete Code.gs file on this page. Copy it into Apps Script, reload Google Sheets, and run your first formula.

  • Complete Google Apps Script, not a partial sample
  • =GPT() and =GPT_USAGE() custom functions
  • 100 free calls after in-Sheet email verification
  • Optional own-key mode for continued use
  • Caching and duplicate-request protection
Free source code

Unlock it instantly

Use the short form below. The code appears here as soon as the form is accepted.

VIP Content

This is a Free, but VIP, piece of content. Put your email address to see the content

Loading...

The form unlocks the source code. The 100-call allowance is activated separately from the Intelligex GPT menu inside Google Sheets.

01

Copy the complete code

Use the copy button after the source is revealed.

02

Paste it into Apps Script

Open Extensions → Apps Script, replace the default file, and save.

03

Reload and use =GPT()

Choose free credits or your own OpenAI API key from the new menu.

Useful from the first row

See exactly what the formula can do.

The same function can work with direct text, one cell, or an entire range.

Rewrite a cell

Writing
=GPT(A2,"Rewrite professionally. Return only the result.")
Turns rough notes into clean client-ready text without leaving the spreadsheet.

Extract structured data

Extraction
=GPT(A2,"Extract company, contact, email, and phone as JSON.")
Converts inconsistent notes into fields that can be reviewed or processed downstream.

Classify records

Operations
=GPT(A2,"Classify as Sales, Support, Billing, or Other.")
Creates consistent categories for leads, tickets, expenses, feedback, or requests.

Analyze a range

Analysis
=GPT(A2:D10,"Summarize the main themes and open actions.")
Combines a range into one prompt for summaries, reviews, and structured reporting.

Installation

From blank Sheet to first result in four steps.

No extension marketplace or paid Google Workspace add-on is required.

01

Open Apps Script

In Google Sheets, choose Extensions → Apps Script.

02

Paste and save

Replace the default code with the complete script from this page.

03

Reload the Sheet

The Intelligex GPT menu appears after the spreadsheet reloads.

04

Choose a mode

Activate free credits or enter your own OpenAI API key.

One script, two options

Start free. Use your own key when you need more.

You can change modes later from the Intelligex GPT menu without replacing the script.

For ongoing use

Your own OpenAI API key

Connect your own API account for continued use and direct control over your OpenAI project billing and limits.

  • No Intelligex registration required
  • Choose an available model
  • Switch modes from the Sheet menu

Practical privacy guidance

Use it for productivity work, not highly sensitive records.

Free-credit prompts are processed through the Intelligex service and an AI provider. Own-key requests are sent from your Apps Script project to OpenAI.

  • Do not submit passwords or API keys
  • Do not submit payment-card data
  • Do not submit private health information
  • Do not submit confidential or regulated records

Questions before installing

The important details, without the technical detour.

Do I need an OpenAI API key?

Not for the first 100 Intelligex-powered calls. An API key is required only when you switch to own-key mode.

Does ChatGPT Plus include API usage?

No. ChatGPT subscriptions and OpenAI API billing are separate products.

Can I use cells and ranges?

Yes. The function accepts direct text, a single cell, or a two-dimensional range.

What happens after 100 calls?

Free-credit mode stops producing new results. You can switch to your own OpenAI API key and continue using the same script.

Why did the same answer appear again?

Identical requests may use a cached result. Change the optional refresh value to force a new request.

Can I use it across thousands of rows?

Large numbers of live custom formulas are not recommended. Use controlled batches or a queued automation for high-volume processing.

Can I use it in a shared spreadsheet?

Yes, but only with trusted editors because spreadsheet editors may also be able to inspect or modify the bound Apps Script project.

Is this an official Google or OpenAI product?

No. It is an independent Intelligex tool built with Google Apps Script and the OpenAI API.

Ready to try it?

Unlock the complete script and run your first formula.

The source is free to access. Paste it into Apps Script, reload your Sheet, and choose how you want to run it.

Get the free script
Complete Code.gs + 100 free calls Unlock