Skip to main content

GPT formula examples for Sheets

See GPT functions in action with real-world examples using some of the functions included in GPT for Sheets.

tip

To try out the examples, use our GPT for Sheets examples template.

Rewrite and generate

Use GPT functions to rewrite or create content adapted to your goals:

  • Rephrase existing text by adjusting length, style, grammar or tone.

  • Create content that matches your audience needs using the perfect level of creativity.

Rewrite or rephrase content

Shorten product names:

Clean up text:

Change tone:

Learn more on GPT.

Create content

Generate button labels (CTAs):

Make your content more or less creative:

Generate sales marketing emails:

Learn more on GPT.

Generate multiple outputs (vertical vs. horizontal)

Generate SEO keywords:

Generate content ideas side by side:

Learn more on GPT_LIST and GPT_HLIST.

Translate

Leverage large language models for your machine translation tasks and benefit from:

Translate with GPT_TRANSLATE

Translate descriptions:

Translate with specific instructions

Translate with a custom dictionary:

  1. Write a prompt and custom dictionary.

  2. Create the prompt instructions.

  3. Translate your texts.

Your texts are translated in the target language, and the translations comply with the terminology you provided.

Learn more on GPT_TRANSLATE.

Prepare data

Free up your teams from tedious data preparation so they can concentrate on high-value data analysis:

  • Basic data cleaning tasks include formatting data according to known standards or by following examples you set.
  • More advanced tasks like named entity extraction, which traditionally demanded a specific pattern-based approach, are also an option.

Format data with GPT_FORMAT

Standardize dates:

Standardize cases:

Standardize phone numbers:

Standardize currencies:

Learn more on GPT_FORMAT.

Extract data with GPT_EXTRACT

Extract postal addresses:

Extract email addresses:

Extract emails and URLs:

Learn more on GPT_EXTRACT.

Analyze

Get instant insights from large volumes of content through automated summarizing, categorization, tagging, and sentiment analysis.

Summarize data with GPT

Summarize customer tickets across languages:

Summarize long descriptions:

Learn more on GPT.

Categorize or classify data with GPT_CLASSIFY

Categorize customer feedback:

Analyze sentiment:

Categorize customer feedback with examples:

Learn more on GPT_CLASSIFY.

Assign tags with GPT_TAG

Tag products:

Learn more on GPT_TAG.

Analyze images with GPT_VISION

Applies a prompt to an image. GPT_VISION is the only function that can process images. For example, you can ask a question about the image, generate a description or generate alt text for images.

info

To use GPT_VISION, you need to select a model that supports images (Vision).

Create content from an image

Write product descriptions:

Extract information from an image

Extract amounts from invoices:

Extract info from an ID:

Explain elements in an image

Identify elements of an image:

Understand an image:

Explain formulas:

Learn more on GPT_VISION.

Search the web

Get answers from the web with GPT

info

To search the web with a GPT function, select a model with web search capabilities.

Get average hotel prices:

Get most-spoken languages:

Fetch top newspaper website URLs: