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
- This feature is available as part of our early access testing program, Google Workspace Labs.
- To turn off Google Workspace Labs features, exit the Workspace Labs program.
- This feature is also available to users on work or school accounts through a Gemini for Google Workspace add-on, and to users on personal accounts through Google One AI Premium. Learn about Gemini features and plans.
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
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Ask Gemini .
- In the side panel, select a suggested prompt or write your own prompt. Select a suggestion
- Select from the list of suggestions.
- To get more options, select More suggestions.
- At the bottom, in the prompt box, replace the example text with the information you want.
- Press Enter.
- At the bottom, in the prompt box, enter a prompt.
- Press Enter.
- Select from the list of suggestions.
- Optional: To remove your history, click More options 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 |
Clear your recent Gemini history and ask for more suggestions. |
Expand |
Make Gemini larger. |
Collapse |
Return Gemini to its original size. |
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 GeminiWhen 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.”
To summarize a spreadsheet, you can use these shortcuts:
- For Mac: Press ⌘ + Ctrl + n
- For Windows: Press Ctrl + Alt + n
You can use Gemini to create tables in Sheets.
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Ask Gemini .
- 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.”
- Press Enter.
- (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 .
You can use Gemini to generate formulas in Sheets.
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Ask Gemini .
- You can also start from any cell and enter
=
. - Then use a shortcut:
- For Windows and Chrome OS: Ctrl + Alt + g
- For Mac OS: ⌘ + Ctrl + g
- You can also start from any cell and enter
- 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.”
- (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 .
You can ask Gemini to generate images in Sheets.
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Ask Gemini .
- On the side panel, create your own prompt.
- Example: “Create an image of a dog with glasses.”
- On the image that you like, you can hover over to:
- Insert an image: Click Insert .
- Find similar images: Click Generate more .
- You can also:
- Find more images: At the bottom, click Generate more .
- Change your prompt: Click Edit prompt .
- Send feedback about the generated images: At the bottom, click Good suggestion or Bad suggestion .
You can use Gemini to answer questions about the data in your sheet.
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Ask Gemini .
- 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."
You can use Gemini to generate charts and graphs.
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Ask Gemini .
- 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.
You can use Gemini to reference files from your Drive to generate responses in Sheets.
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Ask Gemini .
- 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.”
- To check which files were used, below the response, click Expand Sources.
- (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 .
You can use Gemini to reference emails you sent to generate responses.
- On your computer, open a spreadsheet from Google Sheets.
- At the top right, click Gemini in Sheets side panel .
- In the side panel, provide your prompt asking Gemini to reference Gmail email(s).
- Example: “Catch me up on the latest Monthly Review emails.”
- To check which files were used, below the response, click Expand Sources.
- (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 .
- “Teach me how to use conditional formatting with a color scale.”
- “How can I remove duplicates?”
- “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.
- At the bottom right of the generated text, click Good suggestion or Bad suggestion .
- 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.”
- Optional:
- Click Next.
- 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.”
- Click Submit.
To provide general feedback on this feature, at the top, go to Help 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.