Collaborate with Gemini in Google Sheets (Workspace Labs)

With Gemini in Google Sheets, you can:

  • Create tables.
  • Create formulas.
  • Generate data analysis and insights.
  • Build charts and graphs.
  • Summarize your files from Drive and emails from Gmail.

Feature availability

Supported languages

You can use the Gemini in Sheets side panel in some languages. Learn more about language availability.

Get started with Gemini in Sheets

An animation that shows someone asking Gemini in Sheets to create a table to organize metrics across advertising campaigns
  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Ask Gemini .
  3. In the side panel, select a suggested prompt or write your own prompt. Select a suggestion
    1. Select from the list of suggestions.
      • To get more options, select More suggestions.
    2. At the bottom, in the prompt box, replace the example text with the information you want.
    3. Press Enter.
    Enter a prompt in Gemini
    1. At the bottom, in the prompt box, enter a prompt.
    2. Press Enter.
  4. Optional: To remove your history, click More options More and then Clear history.

Tip: To avoid losing your history, insert generated output in the spreadsheet. You lose your conversation history when:

  • You reload your browser.
  • You close and reopen the spreadsheet.
  • Your computer goes offline.

Explore Gemini in Sheets

Action

Description

Ask Gemini

Open Gemini.

More options More

Clear your recent Gemini history and ask for more suggestions.

Expand

Make Gemini larger.

Collapse

Return Gemini to its original size.

Close Close

Close Gemini.

Clear history

Remove all generated text and images you did not insert into the document yet.

More suggestions

Find more suggestions from Gemini.

More image suggestions

Find more suggestions of images from Gemini.

Insert

Insert generated text into your spreadsheet.

Insert image

Insert a generated image into your spreadsheet.

Copy

Copy a suggestion.

Retry

Generate a different response from Gemini.

Retry with Google Search Search on Google for more information about your question or request.

View more

View more of the response from Gemini.

View less

Minimize the response from Gemini.

Good suggestion

Give positive feedback about a response from Gemini.

Bad suggestion

Report an issue with a response from Gemini.

Show code Show code used to generate the output.
Hide code Hide code used to generate the output.

Things to ask Gemini in Sheets

Summarize spreadsheet with Gemini

When you open a spreadsheet that has data, in the side panel, you’ll find a summary of your spreadsheet.

You can:

  • To show the whole summary of the suggested content, click View more.
  • To send feedback about the suggested text, click Good suggestion or Bad suggestion .

You can also ask Gemini to:

  • Understand your spreadsheet better. Examples of prompt:
    • “Summarize this spreadsheet.”
    • “Explain this spreadsheet like I'm 5 years old.”
Create tables with Gemini

You can use Gemini to create tables in Sheets.

  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Ask Gemini .
  3. In the side panel, select a prompt or create your own. Examples of prompt:
    • “Create a table for a full day team event.”
    • “Create a trip plan for a vacation in a national park.”
    • “Create a social media tracker for marketing.”
  4. Press Enter.
  5. (Optional):
    • To add the table to your spreadsheet, click Insert .
    • To see a different version, click Retry .
    • To refine before inserting a table, you can add follow-up prompts. Examples of prompt:
      • “Add another 5 rows of different activities.”
      • “Add details on cost.”
    • To send feedback about the suggested table, click Good suggestion or Bad suggestion .
Create formulas with Gemini

You can use Gemini to generate formulas in Sheets.

  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Ask Gemini .
    1. You can also start from any cell and enter =.
    2. Then use a shortcut:
      • For Windows and Chrome OS: Ctrl + Alt + g
      • For Mac OS: + Ctrl + g
  3. In the side panel, create your own prompt using references from your sheet, or generic cell names. Examples of prompt:
    • “Create a formula that divides goals by games.”
    • “Create a formula to find cell C1 in range D:G and output value in column G.”
  4. (Optional):
    • To add the formula to your spreadsheet, click the cell you’d like to insert this formula, click Insert .
    • To see a different version, click Retry .
    • To send feedback about the suggested table, click Good suggestion or Bad suggestion .
Tip: To get the best results when generating formulas, make sure your cursor is placed in a cell within the range of data you want to use
Create images with Gemini

You can ask Gemini to generate images in Sheets.

  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Ask Gemini .
  3. On the side panel, create your own prompt.
    • Example: “Create an image of a dog with glasses.”
  4. On the image that you like, you can hover over to:
    • Insert an image: Click Insert .
    • Find similar images: Click Generate more .
  5. You can also:
    • Find more images: At the bottom, click Generate more .
    • Change your prompt: Click Edit prompt edit.
    • Send feedback about the generated images: At the bottom, click Good suggestion or Bad suggestion .
Generate data analysis & insights with Gemini

You can use Gemini to answer questions about the data in your sheet.

  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Ask Gemini .
  3. In the side panel, create your own prompt with references from your sheet or generic cell names. Examples of prompts:
    • "Identify trends in this table."
    • "How can I show regression and prediction of this data?"
    • "What analysis can you help me perform with this sheet?"
    • "Help me understand month-to-month food prices."
Build charts & graphs with Gemini

You can use Gemini to generate charts and graphs.

  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Ask Gemini .
  3. In the side panel, create your own prompt with references from your sheet or generic cell names. Examples of prompts:
    • "Create a chart with date on the x-axis and total on the y-axis."
    • "Make a line chart."
    • "Create a graph that shows the percentage of expenses on the total stipend after tax."
    • "Make a chart analyzing my expenses for the month."

Tip: You can't edit generated charts. They're static images unlinked from the data in Sheets.

Summarize your Drive files with Gemini

You can use Gemini to reference files from your Drive to generate responses in Sheets.

  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Ask Gemini .
  3. In the side panel, ask Gemini to use your Drive files to generate text.
    • Example: “What are the main points of: Meeting Notes: Core Team sync.”
  4. To check which files were used, below the response, click Expand and then Sources.
  5. (Optional):
    • To add the text to your spreadsheet, click Insert .
    • To view an another version, click Retry .
    • To send feedback about the suggested text, click Good suggestion or Bad suggestion .
Summarize your Gmail emails with Gemini

You can use Gemini to reference emails you sent to generate responses.

  1. On your computer, open a spreadsheet from Google Sheets.
  2. At the top right, click Gemini in Sheets side panel .
  3. In the side panel, provide your prompt asking Gemini to reference Gmail email(s).
    • Example: “Catch me up on the latest Monthly Review emails.”
  4. To check which files were used, below the response, click Expand and then Sources.
  5. (Optional):
    • To add the text to your spreadsheet, click Insert .
    • To generate a new suggestion, click Retry .
    • To send feedback about the suggested text, click Good suggestion or Bad suggestion .
Get help with Google Sheets
  • “Teach me how to use conditional formatting with a color scale.”
  • “How can I remove duplicates?”
Get answers from the web
Important: To get answers from the web, make sure to include phrases like “Use Google Search” or “Using web search” in your prompt.
  • “Write a paragraph describing the weather today in Mountain View, California using web search.”
  • “Help me write a paragraph explaining if lightning can strike the same place twice using only information from the web.

Give feedback on generated output

Gemini for Google Workspace is constantly learning and may not be able to support your request. Because feedback may be human readable, please do not submit data that contains personal, confidential, or sensitive information.

If you get a suggestion that’s inaccurate or that you feel is unsafe, you can submit feedback. Your feedback can help improve AI-assisted Workspace features and broader Google efforts in AI.

  1. At the bottom right of the generated text, click Good suggestion or Bad suggestion .
  2. If you select Bad suggestion , you can select the issue you found and enter additional feedback.
    • Optional:
      • To review data that’ll be attached with your feedback, at the bottom, select the data. 
      • If you don’t want to include the data with your feedback, to help us improve the product experience, uncheck the box next to “Attach collected data to your feedback.”
  3. Click Next.
  4. Review additional context that you can share with your feedback. If you don’t want to include the additional context with your feedback, uncheck the box next to “Additional context.”
  5. Click Submit.

To provide general feedback on this feature, at the top, go to Help and then Help Sheets improve.

To report a legal issue, create a request.

Turn off Gemini in Sheets

To turn off any of the features on Google Workspace Labs, you must exit Workspace Labs. If you exit, you’ll permanently lose access to all Workspace Labs features, and you won’t be able to rejoin Workspace Labs. Learn more about how to exit Workspace Labs.

Learn about Workspace Labs feature suggestions

  • Workspace Labs feature suggestions don’t represent Google’s views, and should not be attributed to Google.
  • Don’t rely on Workspace Labs features as medical, legal, financial, or other professional advice.
  • Workspace Labs features may suggest inaccurate or inappropriate information. Your feedback makes Workspace Labs more helpful and safe.
  • Don’t include personal, confidential, or sensitive information in your prompts.
  • Google uses Workspace Labs data and metrics to provide, improve, and develop products, services, and machine learning technologies across Google.
  • Your Workspace Labs Data may also be read, rated, annotated, and reviewed by human reviewers. Importantly, where Google uses Google-selected input (as described in the Privacy Notice) to generate output, Google will aggregate and/or pseudonymize that content and resulting output before it is viewed by human reviewers, unless it is specifically provided as part of your feedback to Google.
  • Your conversations with Gemini in Sheets are not saved to Gemini Apps Activity. When you delete your Gemini in Sheets conversation history, it doesn't delete any information that is saved to your Gemini Apps Activity. Learn how to delete your Gemini Apps Activity.
  • Generated images are for use only within Google Sheets.
  • Workspace Labs generated images are designed to bring your imagination to life in Sheets, and may not represent real world situations.

How Workspace Labs data in Google Sheets is collected

When you use the Gemini in Sheets side panel, Google uses and stores the following data:

  • Prompts you enter or select
  • Generated content
  • Google Workspace content that you have access to that is referenced to generate content (both Google-selected input and user-provided input).
  • Your feedback on the Gemini in Sheets side panel.

To understand how this data will be used, review the Google Workspace Labs Privacy Notice and Terms of Service.

Related resources

Search
Clear search
Close search
Google apps
Main menu
144951639460892808
true
Search Help Center
true
true
true
true
true
35
false
false